| Package | Description | 
|---|---|
| com.j256.ormlite.db | 
  Per-database type and SQL information. 
 | 
| com.j256.ormlite.field | 
  Object field information. 
 | 
| com.j256.ormlite.field.types | 
| Modifier and Type | Method and Description | 
|---|---|
DataPersister | 
DatabaseType.getDataPersister(DataPersister defaultPersister,
                FieldType fieldType)
Return the DataPersister to associate with the DataType. 
 | 
DataPersister | 
BaseDatabaseType.getDataPersister(DataPersister defaultPersister,
                FieldType fieldType)  | 
| Modifier and Type | Method and Description | 
|---|---|
DataPersister | 
DatabaseType.getDataPersister(DataPersister defaultPersister,
                FieldType fieldType)
Return the DataPersister to associate with the DataType. 
 | 
DataPersister | 
BaseDatabaseType.getDataPersister(DataPersister defaultPersister,
                FieldType fieldType)  | 
FieldConverter | 
BaseSqliteDatabaseType.getFieldConverter(DataPersister dataPersister,
                 FieldType fieldType)  | 
FieldConverter | 
DatabaseType.getFieldConverter(DataPersister dataType,
                 FieldType fieldType)
Return the FieldConverter to associate with the DataType. 
 | 
FieldConverter | 
BaseDatabaseType.getFieldConverter(DataPersister dataPersister,
                 FieldType fieldType)  | 
| Modifier and Type | Field and Description | 
|---|---|
static Class<? extends DataPersister> | 
DatabaseFieldConfig.DEFAULT_PERSISTER_CLASS  | 
| Modifier and Type | Method and Description | 
|---|---|
DataPersister | 
FieldType.getDataPersister()  | 
DataPersister | 
DataType.getDataPersister()  | 
DataPersister | 
DatabaseFieldConfig.getDataPersister()  | 
static DataPersister | 
DataPersisterManager.lookupForField(Field field)
Lookup the data-type associated with the class. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Class<? extends DataPersister> | 
DatabaseFieldConfig.getPersisterClass()  | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
DataPersisterManager.registerDataPersisters(DataPersister... dataPersisters)
Register a data type with the manager. 
 | 
void | 
DatabaseFieldConfig.setDataPersister(DataPersister dataPersister)
The name is historical. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
DatabaseFieldConfig.setPersisterClass(Class<? extends DataPersister> persisterClass)  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
BaseDataType
Base data type that defines the default persistance methods for the various data types. 
 | 
class  | 
BaseDateType
Base class for all of the  
Date class types. | 
class  | 
BaseEnumType
Base class for the enum classes to provide a utility method. 
 | 
class  | 
BigDecimalNumericType
Type that persists a  
BigInteger object as a NUMERIC SQL database field. | 
class  | 
BigDecimalStringType
Type that persists a  
BigInteger object. | 
class  | 
BigIntegerType
Type that persists a  
BigInteger object. | 
class  | 
BooleanCharType
Booleans can be stored in the database as the character '1' '0'. 
 | 
class  | 
BooleanIntegerType
Booleans can be stored in the database as the integer column type and the value 1 (really non-0) for true and 0 for
 false. 
 | 
class  | 
BooleanObjectType
Type that persists a Boolean object. 
 | 
class  | 
BooleanType
Type that persists a boolean primitive. 
 | 
class  | 
ByteArrayType
Type that persists a byte[] object. 
 | 
class  | 
ByteObjectType
Type that persists a Byte object. 
 | 
class  | 
ByteType
Type that persists a byte primitive. 
 | 
class  | 
CharacterObjectType
Type that persists a Character object. 
 | 
class  | 
CharType
Type that persists a char primitive. 
 | 
class  | 
CurrencyType
Type that persists a  
Currency object. | 
class  | 
DateIntegerType
Persists the  
Date Java class as integer seconds (not milliseconds) since epoch. | 
class  | 
DateLongType
Persists the  
Date Java class as long milliseconds since epoch. | 
class  | 
DateStringType
Type that persists a  
Date object as a String. | 
class  | 
DateTimeType
A custom persister that is able to store the org.joda.time.DateTime class in the database as epoch-millis long
 integer. 
 | 
class  | 
DateType
Type that persists a  
Date object. | 
class  | 
DoubleObjectType
Type that persists a Double object. 
 | 
class  | 
DoubleType
Type that persists a double primitive. 
 | 
class  | 
EnumIntegerType
Persists an Enum Java class as its ordinal integer value. 
 | 
class  | 
EnumStringType
Type that persists an enum as its name produced by call @{link  
Enum.name(). | 
class  | 
EnumToStringType
Type that persists an enum as its string value produced by call @{link  
Enum.toString(). | 
class  | 
FloatObjectType
Type that persists a boolean primitive. 
 | 
class  | 
FloatType
Type that persists a float primitive. 
 | 
class  | 
IntegerObjectType
Type that persists a Integer object. 
 | 
class  | 
IntType
Type that persists a integer primitive. 
 | 
class  | 
LongObjectType
Type that persists a Long object. 
 | 
class  | 
LongStringType
Persists the  
String Java class but with more storage in the database. | 
class  | 
LongType
Type that persists a long primitive. 
 | 
class  | 
NativeUuidType
Type that persists a  
UUID object but as a UUID type which is supported by a couple of database-types. | 
class  | 
SerializableType
Persists an unknown Java Object that is  
Serializable. | 
class  | 
ShortObjectType
Type that persists a Short object. 
 | 
class  | 
ShortType
Type that persists a short primitive. 
 | 
class  | 
SqlDateStringType
Type that persists a  
Date object. | 
class  | 
SqlDateType
Type that persists a  
Date object. | 
class  | 
StringBytesType
Type that persists a String as a byte array. 
 | 
class  | 
StringType
Type that persists a String object. 
 | 
class  | 
TimeStampStringType
Type that persists a  
Timestamp object as a String. | 
class  | 
TimeStampType
Type that persists a  
Timestamp object. | 
class  | 
UuidType
Type that persists a  
UUID object using a database String. | 
class  | 
VoidType
Marker class used to see if we have a customer persister defined. 
 | 
This documentation is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.