|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use DatabaseType | |
|---|---|
| com.j256.ormlite.dao | Database Access Object classes. |
| com.j256.ormlite.db | Per-database type and SQL information. |
| com.j256.ormlite.field | Object field information. |
| com.j256.ormlite.misc | Miscellaneous classes. |
| com.j256.ormlite.spring | Support classes for spring wiring the package. |
| com.j256.ormlite.stmt | SQL statement generation and processing. |
| com.j256.ormlite.support | Database support classes. |
| com.j256.ormlite.table | Object table information. |
| Uses of DatabaseType in com.j256.ormlite.dao |
|---|
| Methods in com.j256.ormlite.dao with parameters of type DatabaseType | ||
|---|---|---|
static
|
BaseJdbcDao.createDao(DatabaseType databaseType,
DataSource dataSource,
Class<T> clazz)
Helper method to create a Dao object without having to define a class. |
|
| Constructors in com.j256.ormlite.dao with parameters of type DatabaseType | |
|---|---|
BaseJdbcDao(DatabaseType databaseType,
Class<T> dataClass)
Construct our base Jdbc class. |
|
BaseJdbcDao(DatabaseType databaseType,
DatabaseTableConfig<T> tableConfig)
Construct our base Jdbc class. |
|
| Uses of DatabaseType in com.j256.ormlite.db |
|---|
| Classes in com.j256.ormlite.db that implement DatabaseType | |
|---|---|
class |
BaseDatabaseType
Base class for all of the DatabaseType classes that provide the per-database type functionality to create
tables and build queries. |
class |
Db2DatabaseType
IBM DB2 database type information used to create the tables, etc.. |
class |
DerbyClientServerDatabaseType
Derby database type information used to create the tables, etc.. |
class |
DerbyEmbeddedDatabaseType
Derby database type information used to create the tables, etc.. |
class |
H2DatabaseType
H2 database type information used to create the tables, etc.. |
class |
HsqldbDatabaseType
HyberSQL database type information used to create the tables, etc.. |
class |
MysqlDatabaseType
MySQL database type information used to create the tables, etc.. |
class |
OracleDatabaseType
Oracle database type information used to create the tables, etc.. |
class |
PostgresDatabaseType
Postgres database type information used to create the tables, etc.. |
class |
SqlDroidDatabaseType
Sqlite database type information used on the Android OS using the SqlDroid 3rd party database driver. |
class |
SqliteAndroidDatabaseType
Sqlite database type information for the Android OS. |
class |
SqliteDatabaseType
Sqlite database type information used to create the tables, etc.. |
class |
SqlServerDatabaseType
Microsoft SQL server database type information used to create the tables, etc.. |
class |
SqlServerJtdsDatabaseType
Microsoft SQL server database type information connected through the JTDS JDBC driver. |
| Methods in com.j256.ormlite.db that return DatabaseType | |
|---|---|
static DatabaseType |
DatabaseTypeUtils.createDatabaseType(DataSource dataSource)
Creates and returns a DatabaseType associated with a DataSource. |
static DatabaseType |
DatabaseTypeUtils.createDatabaseType(String databaseUrl)
Creates and returns a DatabaseType for the database URL. |
| Uses of DatabaseType in com.j256.ormlite.field |
|---|
| Methods in com.j256.ormlite.field with parameters of type DatabaseType | |
|---|---|
static FieldType |
FieldType.createFieldType(DatabaseType databaseType,
String tableName,
Field field)
Return An instantiated FieldType or null if the field does not have a DatabaseField annotation. |
static DatabaseFieldConfig |
DatabaseFieldConfig.fromField(DatabaseType databaseType,
Field field)
Create and return a config converted from a Field that may have either a DatabaseField annotation
or the javax.persistence annotations. |
| Constructors in com.j256.ormlite.field with parameters of type DatabaseType | |
|---|---|
FieldType(DatabaseType databaseType,
String tableName,
Field field,
DatabaseFieldConfig fieldConfig)
You should use FieldType.createFieldType(com.j256.ormlite.db.DatabaseType, java.lang.String, java.lang.reflect.Field) to instantiate one of these field if you have a Field. |
|
| Uses of DatabaseType in com.j256.ormlite.misc |
|---|
| Methods in com.j256.ormlite.misc with parameters of type DatabaseType | |
|---|---|
static DatabaseFieldConfig |
JavaxPersistence.createFieldConfig(DatabaseType databaseType,
Field field)
Create a field config from the javax.persistence annotations associated with the field argument. |
| Uses of DatabaseType in com.j256.ormlite.spring |
|---|
| Methods in com.j256.ormlite.spring that return DatabaseType | |
|---|---|
DatabaseType |
DatabaseTypeFactory.getDatabaseType()
Return the database type we got from the URL. |
| Methods in com.j256.ormlite.spring with parameters of type DatabaseType | |
|---|---|
void |
TableCreator.setDatabaseType(DatabaseType databaseType)
|
| Uses of DatabaseType in com.j256.ormlite.stmt |
|---|
| Constructors in com.j256.ormlite.stmt with parameters of type DatabaseType | |
|---|---|
QueryBuilder.InternalQueryBuilder(DatabaseType databaseType,
TableInfo<T> tableInfo)
|
|
QueryBuilder(DatabaseType databaseType,
TableInfo<T> tableInfo)
Provides statements for various SQL operations. |
|
StatementExecutor(DatabaseType databaseType,
TableInfo<T> tableInfo)
Provides statements for various SQL operations. |
|
| Uses of DatabaseType in com.j256.ormlite.support |
|---|
| Fields in com.j256.ormlite.support declared as DatabaseType | |
|---|---|
protected DatabaseType |
SimpleDaoSupport.databaseType
|
| Methods in com.j256.ormlite.support with parameters of type DatabaseType | |
|---|---|
void |
SimpleDaoSupport.setDatabaseType(DatabaseType databaseType)
Used if you want to wire the Dao with spring. |
| Constructors in com.j256.ormlite.support with parameters of type DatabaseType | |
|---|---|
SimpleDaoSupport(DatabaseType databaseType)
|
|
SimpleDaoSupport(DatabaseType databaseType,
DataSource dataSource)
Constructor if you have the dataSource already. |
|
| Uses of DatabaseType in com.j256.ormlite.table |
|---|
| Methods in com.j256.ormlite.table with parameters of type DatabaseType | ||
|---|---|---|
static
|
TableUtils.createTable(DatabaseType databaseType,
DataSource dataSource,
Class<T> dataClass)
Issue the database statements to create the table associated with a class. |
|
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,
Class<T> dataClass,
boolean ignoreErrors)
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. |
|
FieldType[] |
DatabaseTableConfig.extractFieldTypes(DatabaseType databaseType)
|
|
static
|
DatabaseTableConfig.fromClass(DatabaseType databaseType,
Class<T> clazz)
|
|
static
|
TableUtils.getCreateTableStatements(DatabaseType databaseType,
Class<T> dataClass)
Return an ordered collection of SQL statements that need to be run to create a table. |
|
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 DatabaseType | |
|---|---|
TableInfo(DatabaseType databaseType,
Class<T> dataClass)
Creates a holder of information about a table/class. |
|
TableInfo(DatabaseType databaseType,
DatabaseTableConfig<T> tableConfig)
Creates a holder of information about a table/class. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||