Package org.apache.cayenne.access.types

Defines an extendable mechanism to map Java types to JDBC types.

See:
          Description

Interface Summary
ExtendedType Defines methods to read Java objects from JDBC ResultSets and write as parameters of PreparedStatements.
ExtendedTypeFactory ExtendedType factory interface.
 

Class Summary
AbstractType Deprecated. since 3.0, as not common superclass for ExtendedTypes is deemed necessary.
BigDecimalType  
BigIntegerType  
BooleanType Handles java.lang.Boolean mapping.
ByteArrayType Handles byte[], mapping it as either of JDBC types - BLOB or (VAR)BINARY.
ByteType Handles java.lang.Byte type mapping.
CalendarType<T extends Calendar> ExtendedType that handles Calendar fields.
CharType Handles java.lang.String, mapping it as either of JDBC types - CLOB or (VAR)CHAR.
DateType  
DefaultType Deprecated. since 3.0, as explicit type mappings are created for each JDBC spec type.
DoubleType  
EnumType<T extends Enum<T>> An ExtendedType that handles an enum class.
ExtendedEnumType<T extends Enum<T>> An ExtendedType that handles a Java Enum based upon the Cayenne ExtendedEnumeration interface.
ExtendedTypeMap Stores ExtendedTypes, implementing an algorithm to determine the right type for a given Java class.
FloatType  
IntegerType  
LongType  
ObjectType This is a default ExtendedType that relies on JDBC driver to determine the result type.
ShortType Handles java.lang.Short type mapping.
TimestampType  
TimeType  
UtilDateType Maps java.util.Date to any of the three database date/time types: TIME, DATE, TIMESTAMP.
UUIDType An ExtendedType to map Java UUIDs as persistent attributes.
 

Package org.apache.cayenne.access.types Description

Defines an extendable mechanism to map Java types to JDBC types.



Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.