Package org.apache.cayenne.access.types
package org.apache.cayenne.access.types
Defines an extendable mechanism to map Java types to JDBC types.
-
ClassDescriptionHandles
java.lang.Boolean
mapping.Handlesbyte[]
, mapping it as either of JDBC types - BLOB or (VAR)BINARY.Handlesjava.lang.Byte
type mapping.CalendarType<T extends Calendar>ExtendedType that handlesCalendar
fields.This is char and Character type mapped to zero or one char String.Handlesjava.lang.String
, mapping it as either of JDBC types - CLOB or (VAR)CHAR.Default implementation ofValueObjectTypeRegistry
An ExtendedType that handles an enum class.ExtendedTypeFactory for handling Enum types.ExtendedEnumType<T extends Enum<T>>An ExtendedType that handles a Java Enum based upon the Cayenne ExtendedEnumeration interface.ExtendedType<T>Defines methods to read Java objects from JDBC ResultSets and write as parameters of PreparedStatements.ExtendedType factory interface.Stores ExtendedTypes, implementing an algorithm to determine the right type for a given Java class.Extended type factory that produces types for Cayenne internal value types that could potentially make it to the DB.Marker interface, that should be used by any internal value types, that could potentially get to the SQLThis is a default ExtendedType that relies on JDBC driver to determine the result type.Handlesjava.lang.Short
type mapping.Mapsjava.util.Date
to any of the three database date/time types: TIME, DATE, TIMESTAMP.ValueObjectType<V,T> Descriptor and serialization helper for custom value objects that can be safely stored in the DB.Registry of user-defined descriptors of custom value objects' classes.A noop type that is sometimes useful to suppress extended types operations.