com.mysema.query.sql.types
Interface Type<T>
- Type Parameters:
T
-
- All Known Implementing Classes:
- AbstractNumberType, AbstractType, BigDecimalAsDoubleType, BigDecimalType, BlobType, BooleanType, BytesType, ByteType, CharacterType, ClobType, DateTimeType, DateType, DoubleType, EnumAsObjectType, EnumByNameType, EnumByOrdinalType, FloatType, InputStreamType, IntegerType, LocalDateTimeType, LocalDateType, LocalTimeType, LongType, LongVarBinaryBytesType, NullType, ObjectType, ShortType, StringType, TimestampType, TimeType, UntypedNullType, URLType, UtilDateType
public interface Type<T>
Defines the de/serialization of a typed Java object from a ResultSet or to a PreparedStatement
- Author:
- tiwe
getSQLTypes
int[] getSQLTypes()
getReturnedClass
Class<T> getReturnedClass()
getValue
@Nullable
T getValue(ResultSet rs,
int startIndex)
throws SQLException
- Throws:
SQLException
setValue
void setValue(PreparedStatement st,
int startIndex,
T value)
throws SQLException
- Throws:
SQLException
Copyright © 2007-2012 Mysema Ltd. All Rights Reserved.