T - public class ArrayType<T> extends AbstractType<T>
ArrayType maps Java arrays to JDBC arrays| Constructor and Description |
|---|
ArrayType(Class<T> type,
String typeName) |
| Modifier and Type | Method and Description |
|---|---|
Class<T> |
getReturnedClass()
Get the returned type
|
T |
getValue(ResultSet rs,
int startIndex)
Get the object from the result set
|
void |
setValue(PreparedStatement st,
int startIndex,
T value)
Set the object to the statement
|
getLiteral, getSQLTypespublic Class<T> getReturnedClass()
Type@Nullable public T getValue(ResultSet rs, int startIndex) throws SQLException
Typers - result setstartIndex - column index in result setSQLExceptionpublic void setValue(PreparedStatement st, int startIndex, T value) throws SQLException
Typest - statementstartIndex - column index in statementvalue - value to be setSQLExceptionCopyright © 2007–2015 Querydsl. All rights reserved.