Uses of Class
com.j256.ormlite.table.DatabaseTableConfig

Packages that use DatabaseTableConfig
com.j256.ormlite.dao Database Access Object classes. 
com.j256.ormlite.field Object field information. 
com.j256.ormlite.table Object table information. 
 

Uses of DatabaseTableConfig in com.j256.ormlite.dao
 

Fields in com.j256.ormlite.dao declared as DatabaseTableConfig
protected  DatabaseTableConfig<T> BaseDaoImpl.tableConfig
           
 

Methods in com.j256.ormlite.dao that return DatabaseTableConfig
 DatabaseTableConfig<T> BaseDaoImpl.getTableConfig()
          Returns the table configuration information associated with the Dao's class or null if none.
 

Methods in com.j256.ormlite.dao with parameters of type DatabaseTableConfig
static
<D extends Dao<T,?>,T>
D
DaoManager.createDao(ConnectionSource connectionSource, DatabaseTableConfig<T> tableConfig)
          Helper method to create a Dao object without having to define a class.
static
<T,ID> Dao<T,ID>
BaseDaoImpl.createDao(ConnectionSource connectionSource, DatabaseTableConfig<T> tableConfig)
          Deprecated. You should be using the DaoManager.createDao(ConnectionSource, DatabaseTableConfig)
 void BaseDaoImpl.setTableConfig(DatabaseTableConfig<T> tableConfig)
          Used if you want to configure the class for the Dao by hand or with spring instead of using the DatabaseField annotation in the class.
 

Constructors in com.j256.ormlite.dao with parameters of type DatabaseTableConfig
BaseDaoImpl(ConnectionSource connectionSource, DatabaseTableConfig<T> tableConfig)
          Construct our base DAO class.
 

Uses of DatabaseTableConfig in com.j256.ormlite.field
 

Methods in com.j256.ormlite.field that return DatabaseTableConfig
 DatabaseTableConfig<?> DatabaseFieldConfig.getForeignTableConfig()
          For a foreign class which does not use the DatabaseField annotations, you need to inject the table configuration.
 

Methods in com.j256.ormlite.field with parameters of type DatabaseTableConfig
 void DatabaseFieldConfig.setForeignTableConfig(DatabaseTableConfig<?> foreignTableConfig)
           
 

Constructors in com.j256.ormlite.field with parameters of type DatabaseTableConfig
DatabaseFieldConfig(String fieldName, String columnName, DataType dataType, String defaultValue, int width, boolean canBeNull, boolean id, boolean generatedId, String generatedIdSequence, boolean foreign, DatabaseTableConfig<?> foreignTableConfig, boolean useGetSet, Enum<?> unknownEnumValue, boolean throwIfNull, String format, boolean unique, String indexName, String uniqueIndexName, boolean autoRefresh)
           
 

Uses of DatabaseTableConfig in com.j256.ormlite.table
 

Methods in com.j256.ormlite.table that return DatabaseTableConfig
static
<T> DatabaseTableConfig<T>
DatabaseTableConfig.fromClass(ConnectionSource connectionSource, Class<T> clazz)
          Extract the DatabaseTableConfig for a particular class by looking for class and field annotations.
 

Methods in com.j256.ormlite.table with parameters of type DatabaseTableConfig
static
<T> int
TableUtils.clearTable(ConnectionSource connectionSource, DatabaseTableConfig<T> tableConfig)
          Clear all data out of the table.
static
<T> int
TableUtils.createTable(ConnectionSource connectionSource, DatabaseTableConfig<T> tableConfig)
          Issue the database statements to create the table associated with a table configuration.
static
<T> int
TableUtils.createTableIfNotExists(ConnectionSource connectionSource, DatabaseTableConfig<T> tableConfig)
          Create a table if it does not already exist.
static
<T,ID> int
TableUtils.dropTable(ConnectionSource connectionSource, DatabaseTableConfig<T> tableConfig, boolean ignoreErrors)
          Issue the database statements to drop the table associated with a table configuration.
static
<T,ID> List<String>
TableUtils.getCreateTableStatements(ConnectionSource connectionSource, DatabaseTableConfig<T> tableConfig)
          Return an ordered collection of SQL statements that need to be run to create a table.
 

Constructors in com.j256.ormlite.table with parameters of type DatabaseTableConfig
TableInfo(DatabaseType databaseType, Dao<T,ID> dao, DatabaseTableConfig<T> tableConfig)
          Creates a holder of information about a table/class.
 



Copyright © 2011. All Rights Reserved.