|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| 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 |
|---|
| Methods in com.j256.ormlite.dao that return DatabaseTableConfig | |
|---|---|
DatabaseTableConfig<T> |
BaseJdbcDao.getTableConfig()
Returns the table configuration information associated with the Dao's class. |
| Methods in com.j256.ormlite.dao with parameters of type DatabaseTableConfig | |
|---|---|
void |
BaseJdbcDao.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 | |
|---|---|
BaseJdbcDao(DatabaseTableConfig<T> tableConfig)
Construct our base Jdbc class. |
|
BaseJdbcDao(DatabaseType databaseType,
DatabaseTableConfig<T> tableConfig)
Construct our base Jdbc 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,
JdbcType jdbcType,
String defaultValue,
int width,
boolean canBeNull,
boolean id,
boolean generatedId,
String generatedIdSequence,
boolean foreign,
DatabaseTableConfig<?> foreignTableConfig,
boolean useGetSet,
Enum<?> unknownEnumValue,
boolean throwIfNull)
|
|
| Uses of DatabaseTableConfig in com.j256.ormlite.table |
|---|
| Methods in com.j256.ormlite.table that return DatabaseTableConfig | ||
|---|---|---|
static
|
DatabaseTableConfig.fromClass(DatabaseType databaseType,
Class<T> clazz)
|
|
| Methods in com.j256.ormlite.table with parameters of type DatabaseTableConfig | ||
|---|---|---|
static
|
TableUtils.createTable(DatabaseType databaseType,
DataSource dataSource,
DatabaseTableConfig<T> tableConfig)
Issue the database statements to create the table associated with a class. |
|
static
|
TableUtils.dropTable(DatabaseType databaseType,
DataSource dataSource,
DatabaseTableConfig<T> tableConfig,
boolean ignoreErrors)
Issue the database statements to create the table associated with a class. |
|
static
|
TableUtils.getCreateTableStatements(DatabaseType databaseType,
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,
DatabaseTableConfig<T> tableConfig)
Creates a holder of information about a table/class. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||