A B C D E F G H I J L M N O P Q R S T U V W

A

add(T) - Method in class com.j256.ormlite.dao.BaseForeignCollection
 
add(T) - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
addAll(Collection<? extends T>) - Method in class com.j256.ormlite.dao.BaseForeignCollection
 
addAll(Collection<? extends T>) - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
addKey(Number) - Method in interface com.j256.ormlite.support.GeneratedKeyHolder
Add the key number on the key holder.
addPrimaryKeySql(FieldType[], List<String>, List<String>, List<String>, List<String>) - Method in class com.j256.ormlite.db.BaseDatabaseType
 
addPrimaryKeySql(FieldType[], List<String>, List<String>, List<String>, List<String>) - Method in interface com.j256.ormlite.db.DatabaseType
Appends information about primary key field(s) to the additional-args or other lists.
addSingleUnique(StringBuilder, FieldType, List<String>, List<String>) - Method in class com.j256.ormlite.db.BaseDatabaseType
Add SQL to handle a unique=true field.
addUniqueComboSql(FieldType[], List<String>, List<String>, List<String>, List<String>) - Method in class com.j256.ormlite.db.BaseDatabaseType
 
addUniqueComboSql(FieldType[], List<String>, List<String>, List<String>, List<String>) - Method in interface com.j256.ormlite.db.DatabaseType
Appends information about unique field(s) to the additional-args or other lists.
and() - Method in class com.j256.ormlite.stmt.Where
AND operation which takes the previous clause and the next clause and AND's them together.
and(Where<T, ID>, Where<T, ID>, Where<T, ID>...) - Method in class com.j256.ormlite.stmt.Where
AND operation which takes 2 (or more) arguments and AND's them together.
and(int) - Method in class com.j256.ormlite.stmt.Where
This method needs to be used carefully.
appendBooleanType(StringBuilder) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL type for a Java boolean.
appendByteArrayType(StringBuilder) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL type for either a serialized Java object or a byte[].
appendByteType(StringBuilder) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL type for a Java byte.
appendCanBeNull(StringBuilder, FieldType) - Method in class com.j256.ormlite.db.BaseDatabaseType
If the field can be nullable, do we need to add some sort of NULL SQL for the create table.
appendCharType(StringBuilder) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL type for a Java char.
appendColumnArg(StringBuilder, FieldType, List<String>, List<String>, List<String>, List<String>) - Method in class com.j256.ormlite.db.BaseDatabaseType
 
appendColumnArg(StringBuilder, FieldType, List<String>, List<String>, List<String>, List<String>) - Method in interface com.j256.ormlite.db.DatabaseType
Takes a FieldType and appends the SQL necessary to create the field to the string builder.
appendCreateTableSuffix(StringBuilder) - Method in class com.j256.ormlite.db.BaseDatabaseType
 
appendCreateTableSuffix(StringBuilder) - Method in interface com.j256.ormlite.db.DatabaseType
Append the SQL necessary to properly finish a CREATE TABLE line.
appendDateLongType(StringBuilder) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL type for a Java Date.
appendDateStringType(StringBuilder, int) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL type for a Java Date as a string.
appendDateType(StringBuilder, int) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL type for a Java Date.
appendDefaultValue(StringBuilder, FieldType, Object) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL type for a Java boolean default value.
appendDoubleType(StringBuilder) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL type for a Java double.
appendEnumIntType(StringBuilder, FieldType) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL type for a Enum object stored as intg.
appendEnumStringType(StringBuilder, FieldType) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL type for a Enum object stored as String.
appendEscapedEntityName(StringBuilder, String) - Method in class com.j256.ormlite.db.BaseDatabaseType
 
appendEscapedEntityName(StringBuilder, String) - Method in interface com.j256.ormlite.db.DatabaseType
Add a entity-name word to the string builder wrapped in the proper characters to escape it.
appendEscapedWord(StringBuilder, String) - Method in class com.j256.ormlite.db.BaseDatabaseType
 
appendEscapedWord(StringBuilder, String) - Method in interface com.j256.ormlite.db.DatabaseType
Add the word to the string builder wrapped in the proper characters to escape it.
appendFloatType(StringBuilder) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL type for a Java float.
appendIntegerType(StringBuilder) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL type for a Java integer.
appendLimitValue(StringBuilder, int, Integer) - Method in class com.j256.ormlite.db.BaseDatabaseType
 
appendLimitValue(StringBuilder, int, Integer) - Method in interface com.j256.ormlite.db.DatabaseType
Append to the string builder the necessary SQL to limit the results to a certain number.
appendLongStringType(StringBuilder) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL type for a Java Long String.
appendLongType(StringBuilder) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL type for a Java long.
appendOffsetValue(StringBuilder, int) - Method in class com.j256.ormlite.db.BaseDatabaseType
 
appendOffsetValue(StringBuilder, int) - Method in interface com.j256.ormlite.db.DatabaseType
Append to the string builder the necessary SQL to start the results at a certain row number.
appendSelectNextValFromSequence(StringBuilder, String) - Method in class com.j256.ormlite.db.BaseDatabaseType
 
appendSelectNextValFromSequence(StringBuilder, String) - Method in interface com.j256.ormlite.db.DatabaseType
Append the SQL necessary to get the next-value from a sequence.
appendSerializableType(StringBuilder) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL type for a serialized Java object.
appendShortType(StringBuilder) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL type for a Java short.
appendStatementEnd(StringBuilder) - Method in class com.j256.ormlite.stmt.DeleteBuilder
 
appendStatementEnd(StringBuilder) - Method in class com.j256.ormlite.stmt.QueryBuilder
 
appendStatementEnd(StringBuilder) - Method in class com.j256.ormlite.stmt.StatementBuilder
Append the end of our statement string to the StringBuilder.
appendStatementEnd(StringBuilder) - Method in class com.j256.ormlite.stmt.UpdateBuilder
 
appendStatementStart(StringBuilder, List<ArgumentHolder>) - Method in class com.j256.ormlite.stmt.DeleteBuilder
 
appendStatementStart(StringBuilder, List<ArgumentHolder>) - Method in class com.j256.ormlite.stmt.QueryBuilder
 
appendStatementStart(StringBuilder, List<ArgumentHolder>) - Method in class com.j256.ormlite.stmt.StatementBuilder
Append the start of our statement string to the StringBuilder.
appendStatementStart(StringBuilder, List<ArgumentHolder>) - Method in class com.j256.ormlite.stmt.UpdateBuilder
 
appendStatementString(StringBuilder, List<ArgumentHolder>) - Method in class com.j256.ormlite.stmt.QueryBuilder.InternalQueryBuilderWrapper
 
appendStatementString(StringBuilder, List<ArgumentHolder>) - Method in class com.j256.ormlite.stmt.StatementBuilder
Internal method to build a query while tracking various arguments.
appendStringType(StringBuilder, int) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL type for a Java String.
argFieldTypes - Variable in class com.j256.ormlite.stmt.mapped.BaseMappedStatement
 
ArgumentHolder - Interface in com.j256.ormlite.stmt
An argument to a select SQL statement.
assignField(Object, Object) - Method in class com.j256.ormlite.field.FieldType
Assign to the data object the val corresponding to the fieldType.
assignIdValue(Object, Number) - Method in class com.j256.ormlite.field.FieldType
Assign an ID value to this field.

B

BaseConnectionSource - Class in com.j256.ormlite.support
Connection source base class which provides the save/clear mechanism using a thread local.
BaseConnectionSource() - Constructor for class com.j256.ormlite.support.BaseConnectionSource
 
BaseDaoEnabled<T,ID> - Class in com.j256.ormlite.misc
Base class that your data elements can extend which allow them to refresh, update, etc.
BaseDaoEnabled() - Constructor for class com.j256.ormlite.misc.BaseDaoEnabled
 
BaseDaoImpl<T,ID> - Class in com.j256.ormlite.dao
Base class for the Database Access Objects that handle the reading and writing a class from the database.
BaseDaoImpl(Class<T>) - Constructor for class com.j256.ormlite.dao.BaseDaoImpl
Construct our base DAO using Spring type wiring.
BaseDaoImpl(ConnectionSource, Class<T>) - Constructor for class com.j256.ormlite.dao.BaseDaoImpl
Construct our base DAO class.
BaseDaoImpl(ConnectionSource, DatabaseTableConfig<T>) - Constructor for class com.j256.ormlite.dao.BaseDaoImpl
Construct our base DAO class.
BaseDatabaseType - Class in com.j256.ormlite.db
Base class for all of the DatabaseType classes that provide the per-database type functionality to create tables and build queries.
BaseDatabaseType() - Constructor for class com.j256.ormlite.db.BaseDatabaseType
 
BaseDatabaseType.BooleanNumberFieldConverter - Class in com.j256.ormlite.db
Conversion to/from the Boolean Java field as a number because some databases like the true/false.
BaseDatabaseType.BooleanNumberFieldConverter() - Constructor for class com.j256.ormlite.db.BaseDatabaseType.BooleanNumberFieldConverter
 
BaseForeignCollection<T,ID> - Class in com.j256.ormlite.dao
Base collection that is set on a field that as been marked with the ForeignCollectionField annotation when an object is refreshed or queried (i.e.
BaseForeignCollection(Dao<T, ID>, String, Object) - Constructor for class com.j256.ormlite.dao.BaseForeignCollection
 
BaseMappedQuery<T,ID> - Class in com.j256.ormlite.stmt.mapped
Abstract mapped statement for queries which handle the creating of a new object and the row mapping functionality.
BaseMappedQuery(TableInfo<T, ID>, String, FieldType[], FieldType[]) - Constructor for class com.j256.ormlite.stmt.mapped.BaseMappedQuery
 
BaseMappedStatement<T,ID> - Class in com.j256.ormlite.stmt.mapped
Abstract mapped statement which has common statements used by the subclasses.
BaseMappedStatement(TableInfo<T, ID>, String, FieldType[]) - Constructor for class com.j256.ormlite.stmt.mapped.BaseMappedStatement
 
BaseSelectArg - Class in com.j256.ormlite.stmt
Base class for other select argument classes.
BaseSelectArg() - Constructor for class com.j256.ormlite.stmt.BaseSelectArg
 
BaseSqliteDatabaseType - Class in com.j256.ormlite.db
Sqlite database type information used to create the tables, etc..
BaseSqliteDatabaseType() - Constructor for class com.j256.ormlite.db.BaseSqliteDatabaseType
 
between(String, Object, Object) - Method in class com.j256.ormlite.stmt.Where
Add a BETWEEN clause so the column must be between the low and high parameters.
build(DatabaseType, TableInfo<T, ID>) - Static method in class com.j256.ormlite.stmt.mapped.MappedCreate
 
build(DatabaseType, TableInfo<T, ID>) - Static method in class com.j256.ormlite.stmt.mapped.MappedDelete
 
build(DatabaseType, TableInfo<T, ID>) - Static method in class com.j256.ormlite.stmt.mapped.MappedQueryForId
 
build(DatabaseType, TableInfo<T, ID>) - Static method in class com.j256.ormlite.stmt.mapped.MappedRefresh
 
build(DatabaseType, TableInfo<T, ID>) - Static method in class com.j256.ormlite.stmt.mapped.MappedUpdate
 
build(DatabaseType, TableInfo<T, ID>) - Static method in class com.j256.ormlite.stmt.mapped.MappedUpdateId
 
buildForeignCollection(Object) - Method in class com.j256.ormlite.field.FieldType
Build and return a foreign collection based on the field settings that matches the id argument.
buildIterator(BaseDaoImpl<T, ID>, ConnectionSource) - Method in class com.j256.ormlite.stmt.StatementExecutor
Create and return a SelectIterator for the class using the default mapped query for all statement.
buildIterator(BaseDaoImpl<T, ID>, ConnectionSource, PreparedStmt<T>) - Method in class com.j256.ormlite.stmt.StatementExecutor
Create and return an SelectIterator for the class using a prepared statement.
buildOldIterator(ConnectionSource, String) - Method in class com.j256.ormlite.stmt.StatementExecutor
Return on old RawResults object associated with an internal iterator that matches the query argument.
buildStatement(DatabaseType, TableInfo<T, ID>) - Static method in class com.j256.ormlite.stmt.mapped.MappedQueryForId
 

C

callBatchTasks(Callable<CT>) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
callBatchTasks(Callable<CT>) - Method in interface com.j256.ormlite.dao.Dao
Call the call-able that will perform a number of batch tasks.
callBatchTasks(DatabaseConnection, boolean, Callable<CT>) - Method in class com.j256.ormlite.stmt.StatementExecutor
Call batch tasks insude of a connection which may, or may not, have been "saved".
callInTransaction(Callable<T>) - Method in class com.j256.ormlite.misc.TransactionManager
Execute the Callable class inside of a transaction.
callInTransaction(ConnectionSource, Callable<T>) - Static method in class com.j256.ormlite.misc.TransactionManager
Same as TransactionManager.callInTransaction(Callable) except as a static method with a connection source.
callInTransaction(DatabaseConnection, DatabaseType, Callable<T>) - Static method in class com.j256.ormlite.misc.TransactionManager
Same as TransactionManager.callInTransaction(Callable) except as a static method on a connection.
callInTransaction(DatabaseConnection, boolean, DatabaseType, Callable<T>) - Static method in class com.j256.ormlite.misc.TransactionManager
Same as TransactionManager.callInTransaction(Callable) except as a static method on a connection.
checkForInitialized() - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
clear() - Method in class com.j256.ormlite.dao.BaseForeignCollection
Uses the iterator to run through the dao and delete all of the items.
clear() - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
clear() - Method in class com.j256.ormlite.stmt.Where
Clear out the Where object so it can be re-used.
clearCache() - Static method in class com.j256.ormlite.dao.DaoManager
Clear out the cache.
clearSpecial(DatabaseConnection, Logger) - Method in class com.j256.ormlite.support.BaseConnectionSource
Clear the connection that was previously saved.
clearSpecialConnection(DatabaseConnection) - Method in interface com.j256.ormlite.support.ConnectionSource
Clear the saved connection.
clearTable(ConnectionSource, Class<T>) - Static method in class com.j256.ormlite.table.TableUtils
Clear all data out of the table.
clearTable(ConnectionSource, DatabaseTableConfig<T>) - Static method in class com.j256.ormlite.table.TableUtils
Clear all data out of the table.
close() - Method in interface com.j256.ormlite.dao.CloseableIterator
Close any underlying SQL statements.
close() - Method in interface com.j256.ormlite.dao.GenericRawResults
Close any open database connections associated with the RawResults.
close() - Method in interface com.j256.ormlite.dao.RawResults
Deprecated. Close any open database connections associated with the RawResults.
close() - Method in class com.j256.ormlite.stmt.RawResultsImpl
 
close() - Method in class com.j256.ormlite.stmt.SelectIterator
Close the underlying statement.
close() - Method in interface com.j256.ormlite.support.CompiledStatement
Close the statement.
close() - Method in interface com.j256.ormlite.support.ConnectionSource
Close any outstanding database connections.
close() - Method in interface com.j256.ormlite.support.DatabaseConnection
Close the connection to the database.
CloseableIterable<T> - Interface in com.j256.ormlite.dao
Extension to Iterable to provide a iterator() method that returns a CloseableIterator.
CloseableIterator<T> - Interface in com.j256.ormlite.dao
Extension to Iterator to provide a close() method.
columnNames - Variable in class com.j256.ormlite.stmt.RawResultsImpl
 
com.j256.ormlite.dao - package com.j256.ormlite.dao
Database Access Object classes.
com.j256.ormlite.db - package com.j256.ormlite.db
Per-database type and SQL information.
com.j256.ormlite.field - package com.j256.ormlite.field
Object field information.
com.j256.ormlite.logger - package com.j256.ormlite.logger
Logging utility classes.
com.j256.ormlite.misc - package com.j256.ormlite.misc
Miscellaneous classes.
com.j256.ormlite.stmt - package com.j256.ormlite.stmt
SQL statement generation and processing.
com.j256.ormlite.stmt.mapped - package com.j256.ormlite.stmt.mapped
Compiled SQL query statements.
com.j256.ormlite.support - package com.j256.ormlite.support
Database support classes.
com.j256.ormlite.table - package com.j256.ormlite.table
Object table information.
commit(Savepoint) - Method in interface com.j256.ormlite.support.DatabaseConnection
Commit all changes since the savepoint was created.
CommonsLoggingLog - Class in com.j256.ormlite.logger
Class which implements our Log interface by delegating to the Apache commons logging classes via reflection.
CommonsLoggingLog(String) - Constructor for class com.j256.ormlite.logger.CommonsLoggingLog
 
compile(DatabaseConnection) - Method in class com.j256.ormlite.stmt.mapped.MappedPreparedStmt
 
compile(DatabaseConnection) - Method in interface com.j256.ormlite.stmt.PreparedStmt
Create and return the associated compiled statement.
CompiledStatement - Interface in com.j256.ormlite.support
An internal reduction of the SQL PreparedStatment so we can implement its functionality outside of JDBC.
compileStatement(String, StatementBuilder.StatementType, FieldType[], FieldType[]) - Method in interface com.j256.ormlite.support.DatabaseConnection
Compile and prepare the SQL statement for execution.
configureGeneratedId(StringBuilder, FieldType, List<String>, List<String>, List<String>) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL necessary to configure a generated-id column.
configureGeneratedId(StringBuilder, FieldType, List<String>, List<String>, List<String>) - Method in class com.j256.ormlite.db.BaseSqliteDatabaseType
 
configureGeneratedIdSequence(StringBuilder, FieldType, List<String>, List<String>, List<String>) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL necessary to configure a generated-id column.
configureId(StringBuilder, FieldType, List<String>, List<String>, List<String>) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL necessary to configure an id column.
connectionSource - Variable in class com.j256.ormlite.dao.BaseDaoImpl
 
ConnectionSource - Interface in com.j256.ormlite.support
A reduction of the SQL DataSource so we can implement its functionality outside of JDBC.
contains(Object) - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
contains(Object) - Method in class com.j256.ormlite.dao.LazyForeignCollection
 
containsAll(Collection<?>) - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
containsAll(Collection<?>) - Method in class com.j256.ormlite.dao.LazyForeignCollection
 
convertIdToFieldObject(ID) - Method in class com.j256.ormlite.stmt.mapped.BaseMappedStatement
Return a field object converted from an id.
convertJavaFieldToSqlArgValue(Object) - Method in class com.j256.ormlite.field.FieldType
Convert a field value to something suitable to be stored in the database.
countOf() - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
countOf() - Method in interface com.j256.ormlite.dao.Dao
Returns the number of rows in the table associated with the data class.
create(T) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
create(T) - Method in interface com.j256.ormlite.dao.Dao
Create a new row in the database from an object.
create() - Method in class com.j256.ormlite.misc.BaseDaoEnabled
A call through to the Dao.create(Object).
create(String, Throwable) - Static method in class com.j256.ormlite.misc.SqlExceptionUtil
Convenience method to allow a cause.
create(DatabaseConnection, T) - Method in class com.j256.ormlite.stmt.StatementExecutor
Create a new entry in the database from an object.
createDao(ConnectionSource, Class<T>) - Static method in class com.j256.ormlite.dao.BaseDaoImpl
Deprecated. You should be using the DaoManager.createDao(ConnectionSource, Class)
createDao(ConnectionSource, DatabaseTableConfig<T>) - Static method in class com.j256.ormlite.dao.BaseDaoImpl
Deprecated. You should be using the DaoManager.createDao(ConnectionSource, DatabaseTableConfig)
createDao(ConnectionSource, Class<T>) - Static method in class com.j256.ormlite.dao.DaoManager
Helper method to create a Dao object without having to define a class.
createDao(ConnectionSource, DatabaseTableConfig<T>) - Static method in class com.j256.ormlite.dao.DaoManager
Helper method to create a Dao object without having to define a class.
createFieldConfig(DatabaseType, Field) - Static method in class com.j256.ormlite.misc.JavaxPersistence
Create a field config from the javax.persistence annotations associated with the field argument.
createFieldType(ConnectionSource, String, Field, Class<?>) - Static method in class com.j256.ormlite.field.FieldType
Return An instantiated FieldType or null if the field does not have a DatabaseField annotation.
createObject() - Method in class com.j256.ormlite.table.TableInfo
Create and return an object of this type using our reflection constructor.
createObject(Constructor<?>, Dao<T, ID>) - Static method in class com.j256.ormlite.table.TableInfo
Create and return an object of this type using our reflection constructor.
createTable(ConnectionSource, Class<T>) - Static method in class com.j256.ormlite.table.TableUtils
Issue the database statements to create the table associated with a class.
createTable(ConnectionSource, DatabaseTableConfig<T>) - Static method in class com.j256.ormlite.table.TableUtils
Issue the database statements to create the table associated with a table configuration.
createTableIfNotExists(ConnectionSource, Class<T>) - Static method in class com.j256.ormlite.table.TableUtils
Create a table if it does not already exist.
createTableIfNotExists(ConnectionSource, DatabaseTableConfig<T>) - Static method in class com.j256.ormlite.table.TableUtils
Create a table if it does not already exist.

D

dao - Variable in class com.j256.ormlite.dao.BaseForeignCollection
 
Dao<T,ID> - Interface in com.j256.ormlite.dao
The definition of the Database Access Objects that handle the reading and writing a class from the database.
dao - Variable in class com.j256.ormlite.misc.BaseDaoEnabled
 
DaoManager - Class in com.j256.ormlite.dao
Class which caches created DAOs.
DaoManager() - Constructor for class com.j256.ormlite.dao.DaoManager
 
DatabaseConnection - Interface in com.j256.ormlite.support
A reduction of the SQL Connection so we can implement its functionality outside of JDBC.
DatabaseField - Annotation Type in com.j256.ormlite.field
Annotation that identifies a field in a class that corresponds to a column in the database and will be persisted.
DatabaseFieldConfig - Class in com.j256.ormlite.field
Database field configuration information either supplied by a DatabaseField annotation or by direct Java or Spring wiring.
DatabaseFieldConfig() - Constructor for class com.j256.ormlite.field.DatabaseFieldConfig
 
DatabaseFieldConfig(String) - Constructor for class com.j256.ormlite.field.DatabaseFieldConfig
 
DatabaseFieldConfig(String, String, DataType, String, int, boolean, boolean, boolean, String, boolean, DatabaseTableConfig<?>, boolean, Enum<?>, boolean, String, boolean, String, String, boolean) - Constructor for class com.j256.ormlite.field.DatabaseFieldConfig
 
DatabaseResults - Interface in com.j256.ormlite.support
A reduction of the SQL ResultSet so we can implement it outside of JDBC.
DatabaseTable - Annotation Type in com.j256.ormlite.table
Annotation that marks a class to be stored in the database.
DatabaseTableConfig<T> - Class in com.j256.ormlite.table
Database table configuration information either supplied by Spring or direct Java wiring or from a DatabaseTable annotation.
DatabaseTableConfig() - Constructor for class com.j256.ormlite.table.DatabaseTableConfig
 
DatabaseTableConfig(Class<T>, List<DatabaseFieldConfig>) - Constructor for class com.j256.ormlite.table.DatabaseTableConfig
Setup a table config associated with the dataClass and field configurations.
DatabaseTableConfig(Class<T>, String, List<DatabaseFieldConfig>) - Constructor for class com.j256.ormlite.table.DatabaseTableConfig
Setup a table config associated with the dataClass, table-name, and field configurations.
databaseType - Variable in class com.j256.ormlite.dao.BaseDaoImpl
 
DatabaseType - Interface in com.j256.ormlite.db
Definition of the per-database functionality needed to isolate the differences between the various databases.
databaseType - Variable in class com.j256.ormlite.stmt.StatementBuilder
 
dataClass - Variable in class com.j256.ormlite.dao.BaseDaoImpl
 
DataType - Enum in com.j256.ormlite.field
Data type enumeration to provide Java class to/from database mapping.
debug(String, Object...) - Method in class com.j256.ormlite.logger.Logger
Log a debug message.
debug(Throwable, String, Object...) - Method in class com.j256.ormlite.logger.Logger
Log a debug message with a throwable.
DEFAULT_DATE_STRING_WIDTH - Static variable in class com.j256.ormlite.db.BaseDatabaseType
 
DEFAULT_SEQUENCE_SUFFIX - Static variable in class com.j256.ormlite.db.BaseDatabaseType
 
DEFAULT_VARCHAR_WIDTH - Static variable in class com.j256.ormlite.db.BaseDatabaseType
 
defaultDateFormatConfig - Static variable in enum com.j256.ormlite.field.DataType
 
delete(T) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
delete(Collection<T>) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
delete(PreparedDelete<T>) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
delete(T) - Method in interface com.j256.ormlite.dao.Dao
Delete an object from the database.
delete(Collection<T>) - Method in interface com.j256.ormlite.dao.Dao
Delete a collection of objects from the database using an IN SQL clause.
delete(PreparedDelete<T>) - Method in interface com.j256.ormlite.dao.Dao
Delete the objects that match the prepared statement argument.
delete() - Method in class com.j256.ormlite.misc.BaseDaoEnabled
A call through to the Dao.delete(Object).
delete(DatabaseConnection, T) - Method in class com.j256.ormlite.stmt.mapped.BaseMappedStatement
Delete the object from the database.
delete(DatabaseConnection, T) - Method in class com.j256.ormlite.stmt.StatementExecutor
Delete an object from the database.
delete(DatabaseConnection, PreparedDelete<T>) - Method in class com.j256.ormlite.stmt.StatementExecutor
Delete rows that match the prepared statement.
delete(String, Object[], FieldType[]) - Method in interface com.j256.ormlite.support.DatabaseConnection
Perform a SQL delete with the associated SQL statement, arguments, and types.
deleteBuilder() - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
deleteBuilder() - Method in interface com.j256.ormlite.dao.Dao
Like Dao.queryBuilder() but allows you to build an DELETE statement.
DeleteBuilder<T,ID> - Class in com.j256.ormlite.stmt
Assists in building sql DELETE statements for a particular table in a particular database.
DeleteBuilder(DatabaseType, TableInfo<T, ID>) - Constructor for class com.j256.ormlite.stmt.DeleteBuilder
 
deleteIds(Collection<ID>) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
deleteIds(Collection<ID>) - Method in interface com.j256.ormlite.dao.Dao
Delete the objects that match the collection of ids from the database using an IN SQL clause.
deleteIds(DatabaseType, TableInfo<T, ID>, DatabaseConnection, Collection<ID>) - Static method in class com.j256.ormlite.stmt.mapped.MappedDeleteCollection
Delete all of the objects in the collection.
deleteIds(DatabaseConnection, Collection<ID>) - Method in class com.j256.ormlite.stmt.StatementExecutor
Delete a collection of objects from the database.
deleteObjects(DatabaseType, TableInfo<T, ID>, DatabaseConnection, Collection<T>) - Static method in class com.j256.ormlite.stmt.mapped.MappedDeleteCollection
Delete all of the objects in the collection.
deleteObjects(DatabaseConnection, Collection<T>) - Method in class com.j256.ormlite.stmt.StatementExecutor
Delete a collection of objects from the database.
distinct() - Method in class com.j256.ormlite.stmt.QueryBuilder
Add "DISTINCT" clause to the SQL query statement.
dropColumnArg(FieldType, List<String>, List<String>) - Method in class com.j256.ormlite.db.BaseDatabaseType
 
dropColumnArg(FieldType, List<String>, List<String>) - Method in interface com.j256.ormlite.db.DatabaseType
Takes a FieldType and adds the necessary statements to the before and after lists necessary so that the dropping of the table will succeed and will clear other associated sequences or other database artifacts
dropTable(ConnectionSource, Class<T>, boolean) - Static method in class com.j256.ormlite.table.TableUtils
Issue the database statements to drop the table associated with a class.
dropTable(ConnectionSource, DatabaseTableConfig<T>, boolean) - Static method in class com.j256.ormlite.table.TableUtils
Issue the database statements to drop the table associated with a table configuration.

E

EagerForeignCollection<T,ID> - Class in com.j256.ormlite.dao
Collection that is set on a field that as been marked with the ForeignCollectionField annotation when an object is refreshed or queried (i.e.
EagerForeignCollection(Dao<T, ID>, String, Object) - Constructor for class com.j256.ormlite.dao.EagerForeignCollection
 
eq(String, Object) - Method in class com.j256.ormlite.stmt.Where
Add a '=' clause so the column must be equal to the value.
equals(Object) - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
equals(Object) - Method in class com.j256.ormlite.dao.LazyForeignCollection
This is just a call to Object.equals(Object).
equals(Object) - Method in class com.j256.ormlite.field.FieldType
 
error(String, Object...) - Method in class com.j256.ormlite.logger.Logger
Log a error message.
error(Throwable, String, Object...) - Method in class com.j256.ormlite.logger.Logger
Log a error message with a throwable.
escapeColumnName(StringBuilder, String) - Method in class com.j256.ormlite.stmt.UpdateBuilder
When you are building the expression for UpdateBuilder.updateColumnExpression(String, String), you may need to escape column names since they may be reserved words to the database.
escapeColumnName(String) - Method in class com.j256.ormlite.stmt.UpdateBuilder
Same as UpdateBuilder.escapeColumnName(StringBuilder, String) but it will return the escaped string.
escapeValue(StringBuilder, String) - Method in class com.j256.ormlite.stmt.UpdateBuilder
When you are building the expression for UpdateBuilder.updateColumnExpression(String, String), you may need to escape values since they may be reserved words to the database.
escapeValue(String) - Method in class com.j256.ormlite.stmt.UpdateBuilder
Same as UpdateBuilder.escapeValue(StringBuilder, String) but it will return the escaped string.
execute(DatabaseConnection, ID) - Method in class com.j256.ormlite.stmt.mapped.MappedQueryForId
Query for an object in the database which matches the id argument.
execute(DatabaseConnection, T, ID) - Method in class com.j256.ormlite.stmt.mapped.MappedUpdateId
Update the id field of the object in the database.
executeRaw(String, String...) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
executeRaw(String, String...) - Method in interface com.j256.ormlite.dao.Dao
Run a raw execute SQL statement to the database.The arguments are optional but can be set with strings to expand ? type of SQL.
executeRaw(ConnectionSource, String, String[]) - Method in class com.j256.ormlite.stmt.StatementExecutor
Return true if it worked else false.
executeRefresh(DatabaseConnection, T) - Method in class com.j256.ormlite.stmt.mapped.MappedRefresh
Execute our refresh query statement and then update all of the fields in data with the fields from the result.
exists(QueryBuilder<?, ?>) - Method in class com.j256.ormlite.stmt.Where
Add a EXISTS clause with a sub-query inside of parenthesis.
extractFieldTypes(ConnectionSource) - Method in class com.j256.ormlite.table.DatabaseTableConfig
Extract the field types from the fieldConfigs if they have not already been configured.
extractId(T) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
extractId(T) - Method in interface com.j256.ormlite.dao.Dao
Returns the ID from the data argument passed in.
extractId() - Method in class com.j256.ormlite.misc.BaseDaoEnabled
A call through to the Dao.extractId(Object).
extractIdFieldType(ConnectionSource, Class<T>, String) - Static method in class com.j256.ormlite.table.DatabaseTableConfig
Find and return the field-type of the id field in this class.
extractIdToFieldObject(T) - Method in class com.j256.ormlite.stmt.mapped.BaseMappedStatement
Return a field-object for the id extracted from the data.
extractJavaFieldToSqlArgValue(Object) - Method in class com.j256.ormlite.field.FieldType
Extract a field from an object and convert to something suitable to be passed to SQL as an argument.
extractJavaFieldValue(Object) - Method in class com.j256.ormlite.field.FieldType
Return the value from the field in the object that is defined by this FieldType.
extractTableName(Class<T>) - Static method in class com.j256.ormlite.table.DatabaseTableConfig
Extract and return the table name for a class.

F

fatal(String, Object...) - Method in class com.j256.ormlite.logger.Logger
Log a fatal message.
fatal(Throwable, String, Object...) - Method in class com.j256.ormlite.logger.Logger
Log a fatal message with a throwable.
FieldConverter - Interface in com.j256.ormlite.field
Convert a Java object into the appropriate argument to a SQL statement and then back from the result set to the Java object.
FieldType - Class in com.j256.ormlite.field
Per field information configured from the DatabaseField annotation and the associated Field in the class.
FieldType(ConnectionSource, String, Field, DatabaseFieldConfig, Class<?>) - Constructor for class com.j256.ormlite.field.FieldType
You should use FieldType.createFieldType(com.j256.ormlite.support.ConnectionSource, java.lang.String, java.lang.reflect.Field, java.lang.Class) to instantiate one of these field if you have a Field.
findColumn(String) - Method in interface com.j256.ormlite.support.DatabaseResults
Return the column index associated with the column name.
findForeignFieldType(Class<?>) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
findForeignFieldType(Class<?>) - Method in interface com.j256.ormlite.dao.Dao
Returns the class of the DAO.
findGetMethod(Field, boolean) - Static method in class com.j256.ormlite.field.DatabaseFieldConfig
Find and return the appropriate getter method for field.
findNoArgConstructor(Class<T>) - Static method in class com.j256.ormlite.table.DatabaseTableConfig
Locate the no arg constructor for the class.
findSetMethod(Field, boolean) - Static method in class com.j256.ormlite.field.DatabaseFieldConfig
Find and return the appropriate setter method for field.
FOREIGN_ID_FIELD_SUFFIX - Static variable in class com.j256.ormlite.field.FieldType
default suffix added to fields that are id fields of foreign objects
ForeignCollection<T> - Interface in com.j256.ormlite.dao
Collection that is set on a field that as been marked with the ForeignCollectionField annotation when an object is refreshed or queried (i.e.
ForeignCollectionField - Annotation Type in com.j256.ormlite.field
Annotation that identifies a ForeignCollection field in a class that corresponds to objects in a foreign table that match the foreign-id of the current class.
fromClass(ConnectionSource, Class<T>) - Static method in class com.j256.ormlite.table.DatabaseTableConfig
Extract the DatabaseTableConfig for a particular class by looking for class and field annotations.
fromField(DatabaseType, String, Field) - Static method in class com.j256.ormlite.field.DatabaseFieldConfig
Create and return a config converted from a Field that may have either a DatabaseField annotation or the javax.persistence annotations.

G

ge(String, Object) - Method in class com.j256.ormlite.stmt.Where
Add a '>=' clause so the column must be greater-than or equals-to the value.
generatedId() - Method in enum com.j256.ormlite.field.DataType
Return a generated id if appropriate or null if none.
generatedId() - Method in class com.j256.ormlite.field.FieldType
Call through to DataType.generatedId()
generatedIdSqlAtEnd() - Method in class com.j256.ormlite.db.BaseDatabaseType
Return true if we should add generated-id SQL in the BaseDatabaseType.addPrimaryKeySql(com.j256.ormlite.field.FieldType[], java.util.List, java.util.List, java.util.List, java.util.List) method at the end.
generatedIdSqlAtEnd() - Method in class com.j256.ormlite.db.BaseSqliteDatabaseType
 
GeneratedKeyHolder - Interface in com.j256.ormlite.support
The holder of a generated key so we can return the value of generated keys from update methods.
generateIdSequenceName(String, FieldType) - Method in class com.j256.ormlite.db.BaseDatabaseType
 
generateIdSequenceName(String, FieldType) - Method in interface com.j256.ormlite.db.DatabaseType
Return the name of an ID sequence based on the tabelName and the fieldType of the id.
GenericRawResults<T> - Interface in com.j256.ormlite.dao
Results returned by a call to Dao.queryRaw(String, String...) which returns results as a String[], Dao.queryRaw(String, RawRowMapper, String...) which returns results mapped by the caller to an Object, and Dao.queryRaw(String, DataType[], String...) which returns each results as a Object[].
GenericRowMapper<T> - Interface in com.j256.ormlite.stmt
Parameterized version similar to Spring's RowMapper which converts a result row into an object.
getAutoCommit() - Method in interface com.j256.ormlite.support.DatabaseConnection
Return if auto-commit is currently enabled.
getBlobStream(int) - Method in interface com.j256.ormlite.support.DatabaseResults
Returns an input stream for a blob value from the results at the column index.
getBoolean(int) - Method in interface com.j256.ormlite.support.DatabaseResults
Returns the boolean value from the results at the column index.
getByte(int) - Method in interface com.j256.ormlite.support.DatabaseResults
Returns the byte value from the results at the column index.
getBytes(int) - Method in interface com.j256.ormlite.support.DatabaseResults
Returns the byte array value from the results at the column index.
getChar(int) - Method in interface com.j256.ormlite.support.DatabaseResults
Returns the char value from the results at the column index.
getColumnCount() - Method in interface com.j256.ormlite.support.CompiledStatement
Returns the number of columns in this statement.
getColumnCount() - Method in interface com.j256.ormlite.support.DatabaseResults
Returns the number of columns in these results.
getColumnName() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
getColumnName() - Method in interface com.j256.ormlite.stmt.ArgumentHolder
Return the column-name associated with this argument.
getColumnName() - Method in class com.j256.ormlite.stmt.BaseSelectArg
Return the column-name associated with this argument.
getColumnName(int) - Method in interface com.j256.ormlite.support.CompiledStatement
Get the designated column's name.
getColumnNames() - Method in interface com.j256.ormlite.dao.GenericRawResults
Return the array of column names for each result row.
getColumnNames() - Method in interface com.j256.ormlite.dao.RawResults
Deprecated. Return the array of column names for each result row.
getColumnNames() - Method in class com.j256.ormlite.stmt.RawResultsImpl
 
getCommentLinePrefix() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
getCommentLinePrefix() - Method in interface com.j256.ormlite.db.DatabaseType
Return the prefix to put at the front of a SQL line to mark it as a comment.
getConstructor() - Method in class com.j256.ormlite.table.DatabaseTableConfig
Return the constructor for this class.
getConstructor() - Method in class com.j256.ormlite.table.TableInfo
 
getCreateTableStatements(ConnectionSource, Class<T>) - Static method in class com.j256.ormlite.table.TableUtils
Return an ordered collection of SQL statements that need to be run to create a table.
getCreateTableStatements(ConnectionSource, DatabaseTableConfig<T>) - Static method in class com.j256.ormlite.table.TableUtils
Return an ordered collection of SQL statements that need to be run to create a table.
getDatabaseName() - Method in class com.j256.ormlite.db.BaseDatabaseType
Return the name of the database for logging purposes.
getDatabaseType() - Method in interface com.j256.ormlite.support.ConnectionSource
Return the DatabaseTypre associated with this connection.
getDataClass() - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
getDataClass() - Method in interface com.j256.ormlite.dao.Dao
Returns the class of the DAO.
getDataClass() - Method in class com.j256.ormlite.table.DatabaseTableConfig
 
getDataClass() - Method in class com.j256.ormlite.table.TableInfo
Return the class associated with this object-info.
getDataType() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
getDataType() - Method in class com.j256.ormlite.field.FieldType
 
getDataTypeConfigObj() - Method in class com.j256.ormlite.field.FieldType
 
getDbColumnName() - Method in class com.j256.ormlite.field.FieldType
 
getDefaultValue() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
getDefaultValue() - Method in class com.j256.ormlite.field.FieldType
 
getDefaultVarcharWidth() - Method in class com.j256.ormlite.db.BaseDatabaseType
Return the default varchar width if not specified by DatabaseField.width().
getDouble(int) - Method in interface com.j256.ormlite.support.DatabaseResults
Returns the double value from the results at the column index.
getDriverClassName() - Method in class com.j256.ormlite.db.BaseDatabaseType
Return the name of the driver class associated with this database type.
getEntityName(Class<?>) - Static method in class com.j256.ormlite.misc.JavaxPersistence
Return the javax.persistence.Entity annotation name for the class argument or null if none or if there was no entity name.
getFieldConfigs() - Method in class com.j256.ormlite.table.DatabaseTableConfig
 
getFieldConverter(DataType) - Method in class com.j256.ormlite.db.BaseDatabaseType
 
getFieldConverter(DataType) - Method in class com.j256.ormlite.db.BaseSqliteDatabaseType
 
getFieldConverter(DataType) - Method in interface com.j256.ormlite.db.DatabaseType
Return the FieldConverter to associate with the DataType.
getFieldName() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
Return the name of the field in the class.
getFieldName() - Method in class com.j256.ormlite.field.FieldType
 
getFieldObjects(Object) - Method in class com.j256.ormlite.stmt.mapped.BaseMappedStatement
Return the array of field objects pulled from the data object.
getFieldType() - Method in class com.j256.ormlite.field.FieldType
 
getFieldType() - Method in interface com.j256.ormlite.stmt.ArgumentHolder
Return the field type associated with this class.
getFieldType() - Method in class com.j256.ormlite.stmt.BaseSelectArg
 
getFieldTypeByColumnName(String) - Method in class com.j256.ormlite.table.TableInfo
Return the FieldType associated with the columnName.
getFieldTypes(DatabaseType) - Method in class com.j256.ormlite.table.DatabaseTableConfig
Return the field types associated with this configuration.
getFieldTypes() - Method in class com.j256.ormlite.table.TableInfo
Return the array of field types associated with the object.
getFieldValueIfNotDefault(Object) - Method in class com.j256.ormlite.field.FieldType
Return the value of field in the data argument if it is not the default value for the class.
getFloat(int) - Method in interface com.j256.ormlite.support.DatabaseResults
Returns the float value from the results at the column index.
getForeignIdField() - Method in class com.j256.ormlite.field.FieldType
Return the id field associated with the foreign object or null if none.
getForeignTableConfig() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
For a foreign class which does not use the DatabaseField annotations, you need to inject the table configuration.
getFormat() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
getGeneratedIdSequence() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
getGeneratedIdSequence() - Method in class com.j256.ormlite.field.FieldType
Return the generated-id-sequence associated with the field or null if FieldType.isGeneratedIdSequence() is false.
getGeneratedKeys() - Method in interface com.j256.ormlite.support.CompiledStatement
Get the generated key results.
getIdField() - Method in class com.j256.ormlite.table.TableInfo
Return the id-field associated with the object.
getIndexName() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
getIndexName() - Method in class com.j256.ormlite.field.FieldType
 
getInt(int) - Method in interface com.j256.ormlite.support.DatabaseResults
Returns the integer value from the results at the column index.
getLogger(Class<?>) - Static method in class com.j256.ormlite.logger.LoggerFactory
Return a logger associated with a particular class.
getLogger(String) - Static method in class com.j256.ormlite.logger.LoggerFactory
Return a logger associated with a particular class name.
getLong(int) - Method in interface com.j256.ormlite.support.DatabaseResults
Returns the long value from the results at the column index.
getMappedResults(RawRowMapper<T>) - Method in interface com.j256.ormlite.dao.RawResults
Deprecated. Return a list of results mapped by the mapper argument.
getNumberColumns() - Method in interface com.j256.ormlite.dao.GenericRawResults
Return the number of columns in each result row.
getNumberColumns() - Method in interface com.j256.ormlite.dao.RawResults
Deprecated. Return the number of columns in each result row.
getNumberColumns() - Method in class com.j256.ormlite.stmt.RawResultsImpl
 
getPingStatement() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
getPingStatement() - Method in interface com.j256.ormlite.db.DatabaseType
Return an statement that doesn't do anything but which can be used to ping the database by sending it over a database connection.
getRawResults() - Method in class com.j256.ormlite.stmt.SelectIterator
Return the internal raw results object that was created by this iterator.
getReadOnlyConnection() - Method in interface com.j256.ormlite.support.ConnectionSource
Return a database connection suitable for read-only operations.
getReadWriteConnection() - Method in interface com.j256.ormlite.support.ConnectionSource
Return a database connection suitable for read or write operations.
getResultFieldTypes() - Method in class com.j256.ormlite.stmt.QueryBuilder
 
getResultFieldTypes() - Method in class com.j256.ormlite.stmt.QueryBuilder.InternalQueryBuilderWrapper
 
getResultFieldTypes() - Method in class com.j256.ormlite.stmt.StatementBuilder
Get the result array from our statement after the StatementBuilder.appendStatementStart(StringBuilder, List) was called.
getResults() - Method in interface com.j256.ormlite.dao.GenericRawResults
Return a list of all of the results.
getResults() - Method in interface com.j256.ormlite.dao.RawResults
Deprecated. Return a list of results mapped by the mapper argument.
getResults() - Method in class com.j256.ormlite.stmt.RawResultsImpl
 
getResultsFieldTypes() - Method in class com.j256.ormlite.stmt.mapped.BaseMappedQuery
 
getSavedConnection() - Method in class com.j256.ormlite.support.BaseConnectionSource
Returns the connection that has been saved or null if none.
getShort(int) - Method in interface com.j256.ormlite.support.DatabaseResults
Returns the short value from the results at the column index.
getSimpleClassName(String) - Static method in class com.j256.ormlite.logger.LoggerFactory
 
getSpecial() - Method in class com.j256.ormlite.support.BaseConnectionSource
Get the currently saved.
getSpecialConnection() - Method in class com.j256.ormlite.support.BaseConnectionSource
 
getSpecialConnection() - Method in interface com.j256.ormlite.support.ConnectionSource
Return the currently saved connection or null if none.
getSqlArgValue() - Method in interface com.j256.ormlite.stmt.ArgumentHolder
Return the value associated with this argument suitable for passing to SQL.
getSqlArgValue() - Method in class com.j256.ormlite.stmt.BaseSelectArg
Return the value associated with this argument.
getSqlType() - Method in class com.j256.ormlite.db.BaseDatabaseType.BooleanNumberFieldConverter
 
getSqlType() - Method in enum com.j256.ormlite.field.DataType
 
getSqlType() - Method in interface com.j256.ormlite.field.FieldConverter
Return the SQL type that is stored in the database for this argument.
getSqlType() - Method in class com.j256.ormlite.field.FieldType
 
getStatement() - Method in class com.j256.ormlite.stmt.mapped.BaseMappedStatement
 
getStatement() - Method in interface com.j256.ormlite.stmt.PreparedStmt
Return the associated SQL statement string for logging purposes.
getString(int) - Method in interface com.j256.ormlite.support.DatabaseResults
Returns the string from the results at the column index.
getTableConfig() - Method in class com.j256.ormlite.dao.BaseDaoImpl
Returns the table configuration information associated with the Dao's class or null if none.
getTableInfo() - Method in class com.j256.ormlite.dao.BaseDaoImpl
Used by internal classes to get the table information structure for the Dao's class.
getTableName() - Method in class com.j256.ormlite.field.FieldType
 
getTableName() - Method in class com.j256.ormlite.table.DatabaseTableConfig
 
getTableName() - Method in class com.j256.ormlite.table.TableInfo
Return the name of the table associated with the object.
getTimestamp(int) - Method in interface com.j256.ormlite.support.DatabaseResults
Returns the SQL timestamp value from the results at the column index.
getUniqueIndexName() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
getUniqueIndexName() - Method in class com.j256.ormlite.field.FieldType
 
getUnknownEnumvalue() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
getValue() - Method in class com.j256.ormlite.stmt.BaseSelectArg
Return the stored value.
getValue() - Method in class com.j256.ormlite.stmt.SelectArg
 
getValue() - Method in class com.j256.ormlite.stmt.ThreadLocalSelectArg
 
getWidth() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
getWidth() - Method in class com.j256.ormlite.field.FieldType
 
groupBy(String) - Method in class com.j256.ormlite.stmt.QueryBuilder
Add "GROUP BY" clause to the SQL query statement.
groupByRaw(String) - Method in class com.j256.ormlite.stmt.QueryBuilder
Add a raw SQL "GROUP BY" clause to the SQL query statement.
gt(String, Object) - Method in class com.j256.ormlite.stmt.Where
Add a '>' clause so the column must be greater-than the value.

H

hashCode() - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
hashCode() - Method in class com.j256.ormlite.dao.LazyForeignCollection
This is just a call to Object.hashCode().
hashCode() - Method in class com.j256.ormlite.field.FieldType
 
hasNext() - Method in class com.j256.ormlite.stmt.SelectIterator
Returns whether or not there are any remaining objects in the table.
hasNextThrow() - Method in class com.j256.ormlite.stmt.SelectIterator
Returns whether or not there are any remaining objects in the table.

I

idEq(ID) - Method in class com.j256.ormlite.stmt.Where
Add a clause where the ID is equal to the argument.
idEq(Dao<OD, ?>, OD) - Method in class com.j256.ormlite.stmt.Where
Add a clause where the ID is from an existing object.
idField - Variable in class com.j256.ormlite.stmt.mapped.BaseMappedStatement
 
in(String, Iterable<?>) - Method in class com.j256.ormlite.stmt.Where
Add a IN clause so the column must be equal-to one of the objects from the list passed in.
in(String, Object...) - Method in class com.j256.ormlite.stmt.Where
Add a IN clause so the column must be equal-to one of the objects passed in.
in(String, QueryBuilder<?, ?>) - Method in class com.j256.ormlite.stmt.Where
Add a IN clause which makes sure the column is in one of the columns returned from a sub-query inside of parenthesis.
info(String, Object...) - Method in class com.j256.ormlite.logger.Logger
Log a info message.
info(Throwable, String, Object...) - Method in class com.j256.ormlite.logger.Logger
Log a info message with a throwable.
initialize() - Method in class com.j256.ormlite.dao.BaseDaoImpl
Initialize the various DAO configurations after the various setters have been called.
initialize() - Method in class com.j256.ormlite.misc.TransactionManager
If you are using the Spring type wiring, this should be called after all of the set methods.
initialize() - Method in class com.j256.ormlite.table.DatabaseTableConfig
Initialize the class if this is being called with Spring.
insert(DatabaseConnection, T) - Method in class com.j256.ormlite.stmt.mapped.BaseMappedStatement
Insert the object into the database
insert(DatabaseConnection, T) - Method in class com.j256.ormlite.stmt.mapped.MappedCreate
Create an object in the database.
insert(String, Object[], FieldType[]) - Method in interface com.j256.ormlite.support.DatabaseConnection
Perform a SQL insert with the associated SQL statement, arguments, and types.
insert(String, Object[], FieldType[], GeneratedKeyHolder) - Method in interface com.j256.ormlite.support.DatabaseConnection
Perform a SQL update while returning generated keys with the associated SQL statement, arguments, and types.
isAutoCommitSupported() - Method in interface com.j256.ormlite.support.DatabaseConnection
Return if auto-commit is supported.
isBatchUseTransaction() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
isBatchUseTransaction() - Method in interface com.j256.ormlite.db.DatabaseType
Returns true if batch operations should be done inside of a transaction.
isCanBeNull() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
isCanBeNull() - Method in class com.j256.ormlite.field.FieldType
 
isClosed() - Method in interface com.j256.ormlite.support.DatabaseConnection
Return if the connection has been closed either through a call to DatabaseConnection.close() or because of a fatal error.
isComparable() - Method in class com.j256.ormlite.field.FieldType
Call through to DataType.isComparable()
isCreateIfNotExistsSupported() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
isCreateIfNotExistsSupported() - Method in interface com.j256.ormlite.db.DatabaseType
Returns true if the table creation IF NOT EXISTS syntax is supported.
isCreateTableReturnsZero() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
isCreateTableReturnsZero() - Method in class com.j256.ormlite.db.BaseSqliteDatabaseType
 
isCreateTableReturnsZero() - Method in interface com.j256.ormlite.db.DatabaseType
Returns true if a 'CREATE TABLE' statement should return 0.
isDatabaseUrlThisType(String, String) - Method in interface com.j256.ormlite.db.DatabaseType
Return true if the database URL corresponds to this database type.
isEmpty() - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
isEmpty() - Method in class com.j256.ormlite.dao.LazyForeignCollection
 
isEnabled(Log.Level) - Method in enum com.j256.ormlite.logger.Log.Level
Return whether or not a level argument is enabled for this level value.
isEntityNamesMustBeUpCase() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
isEntityNamesMustBeUpCase() - Method in interface com.j256.ormlite.db.DatabaseType
Returns true if table and field names should be made uppercase.
isEscapedDefaultValue() - Method in class com.j256.ormlite.field.FieldType
Call through to DataType.isEscapedDefaultValue()
isEscapedValue() - Method in class com.j256.ormlite.field.FieldType
Call through to DataType.isEscapedValue()
isForeign() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
isForeign() - Method in class com.j256.ormlite.field.FieldType
 
isForeignAutoRefresh() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
isForeignCollection() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
isForeignCollection() - Method in class com.j256.ormlite.field.FieldType
Call through to DatabaseFieldConfig.isForeignCollection()
isForeignCollectionEager() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
isGeneratedId() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
isGeneratedId() - Method in class com.j256.ormlite.field.FieldType
Return whether the field is a generated-id field.
isGeneratedIdSequence() - Method in class com.j256.ormlite.field.FieldType
Return whether the field is a generated-id-sequence field.
isId() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
isId() - Method in class com.j256.ormlite.field.FieldType
Return whether the field is an id field.
isIdSequenceNeeded() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
isIdSequenceNeeded() - Method in interface com.j256.ormlite.db.DatabaseType
Return true if the database needs a sequence when you use generated IDs.
isLevelEnabled(Log.Level) - Method in class com.j256.ormlite.logger.CommonsLoggingLog
 
isLevelEnabled(Log.Level) - Method in class com.j256.ormlite.logger.JavaUtilLog
 
isLevelEnabled(Log.Level) - Method in class com.j256.ormlite.logger.LocalLog
 
isLevelEnabled(Log.Level) - Method in interface com.j256.ormlite.logger.Log
Returns true if the log mode is in trace or higher.
isLevelEnabled(Log.Level) - Method in class com.j256.ormlite.logger.Log4jLog
 
isLevelEnabled(Log.Level) - Method in class com.j256.ormlite.logger.Logger
Return if logging level is enabled.
isLimitAfterSelect() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
isLimitAfterSelect() - Method in interface com.j256.ormlite.db.DatabaseType
Return true if the LIMIT should be called after SELECT otherwise at the end of the WHERE (the default).
isLimitSqlSupported() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
isLimitSqlSupported() - Method in interface com.j256.ormlite.db.DatabaseType
Return true if the database supports the LIMIT SQL command.
isNestedSavePointsSupported() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
isNestedSavePointsSupported() - Method in interface com.j256.ormlite.db.DatabaseType
Returns true if nested savePoints are supported, otherwise false.
isNotNull(String) - Method in class com.j256.ormlite.stmt.Where
Add a 'IS NOT NULL' clause so the column must not be null.
isNull(String) - Method in class com.j256.ormlite.stmt.Where
Add a 'IS NULL' clause so the column must be null.
isOffsetLimitArgument() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
isOffsetLimitArgument() - Method in interface com.j256.ormlite.db.DatabaseType
Return true if the database supports the offset as a comma argument from the limit.
isOffsetSqlSupported() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
isOffsetSqlSupported() - Method in interface com.j256.ormlite.db.DatabaseType
Return true if the database supports the OFFSET SQL command in some form.
isSavedConnection(DatabaseConnection) - Method in class com.j256.ormlite.support.BaseConnectionSource
Return true if the connection being released is the one that has been saved.
isSelectArgRequired() - Method in class com.j256.ormlite.field.FieldType
Call through to DataType.isSelectArgRequired()
isSelfGeneratedId() - Method in enum com.j256.ormlite.field.DataType
Return true if this type creates its own generated ids else false to have the database do it.
isSelfGeneratedId() - Method in class com.j256.ormlite.field.FieldType
Call through to DataType.isSelfGeneratedId()
isStreamType() - Method in class com.j256.ormlite.db.BaseDatabaseType.BooleanNumberFieldConverter
 
isStreamType() - Method in enum com.j256.ormlite.field.DataType
 
isStreamType() - Method in interface com.j256.ormlite.field.FieldConverter
Return whether or not this is a SQL "stream" object.
isTableExists() - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
isTableExists() - Method in interface com.j256.ormlite.dao.Dao
Returns true if the table already exists otherwise false.
isTableExists(String) - Method in interface com.j256.ormlite.support.DatabaseConnection
Return true if the table exists in the database.
isThrowIfNull() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
isTruncateSupported() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
isTruncateSupported() - Method in interface com.j256.ormlite.db.DatabaseType
Returns true if the table truncate operation is supported.
isUnique() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
isUnique() - Method in class com.j256.ormlite.field.FieldType
 
isUniqueCombo() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
isUniqueCombo() - Method in class com.j256.ormlite.field.FieldType
 
isUpdatable() - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
isUpdatable() - Method in interface com.j256.ormlite.dao.Dao
Returns true if we can call update on this class.
isUpdatable() - Method in class com.j256.ormlite.table.TableInfo
Return true if we can update this object via its ID.
isUseGetSet() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
isValueSet() - Method in class com.j256.ormlite.stmt.BaseSelectArg
Return true if the value is set.
isValueSet() - Method in class com.j256.ormlite.stmt.SelectArg
 
isValueSet() - Method in class com.j256.ormlite.stmt.ThreadLocalSelectArg
 
isVarcharFieldWidthSupported() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
isVarcharFieldWidthSupported() - Method in class com.j256.ormlite.db.BaseSqliteDatabaseType
 
isVarcharFieldWidthSupported() - Method in interface com.j256.ormlite.db.DatabaseType
Return true if the database supports the width parameter on VARCHAR fields.
iterator() - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
iterator(PreparedQuery<T>) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
iterator() - Method in interface com.j256.ormlite.dao.CloseableIterable
Returns an iterator over a set of elements of type T.
iterator() - Method in interface com.j256.ormlite.dao.Dao
This satisfies the Iterable interface for the class and allows you to iterate through the objects in the table using SQL.
iterator(PreparedQuery<T>) - Method in interface com.j256.ormlite.dao.Dao
Same as Dao.iterator() but with a prepared query parameter.
iterator() - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
iterator() - Method in interface com.j256.ormlite.dao.ForeignCollection
Like Collection.iterator() but returns a closeable iterator instead.
iterator() - Method in class com.j256.ormlite.dao.LazyForeignCollection
 
iterator(RawRowMapper<T>) - Method in interface com.j256.ormlite.dao.RawResults
Deprecated. Get an iterator which will return a T which is mapped from the String[] array raw results my the mapper argument.
iterator() - Method in class com.j256.ormlite.stmt.QueryBuilder
A short cut for Dao.iterator(prepare()).
iterator - Variable in class com.j256.ormlite.stmt.RawResultsImpl
 
iterator() - Method in class com.j256.ormlite.stmt.RawResultsImpl
 
iterator() - Method in class com.j256.ormlite.stmt.Where
A short-cut for calling query() on the original QueryBuilder.iterator().
iteratorRaw(String) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
iteratorRaw(String) - Method in interface com.j256.ormlite.dao.Dao
Deprecated.  
iteratorThrow() - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
iteratorThrow() - Method in interface com.j256.ormlite.dao.ForeignCollection
Like Collection.iterator() but returns a closeable iterator instead and can throw a SQLException.
iteratorThrow() - Method in class com.j256.ormlite.dao.LazyForeignCollection
 

J

javaToSqlArg(FieldType, Object) - Method in class com.j256.ormlite.db.BaseDatabaseType.BooleanNumberFieldConverter
 
javaToSqlArg(FieldType, Object) - Method in enum com.j256.ormlite.field.DataType
 
javaToSqlArg(FieldType, Object) - Method in interface com.j256.ormlite.field.FieldConverter
Convert a Java object and return the appropriate argument to a SQL insert or update statement.
JavaUtilLog - Class in com.j256.ormlite.logger
Class which logs to java.util.log.
JavaUtilLog(String) - Constructor for class com.j256.ormlite.logger.JavaUtilLog
 
JavaxPersistence - Class in com.j256.ormlite.misc
Class for isolating the detection of the javax.persistence annotations.
JavaxPersistence() - Constructor for class com.j256.ormlite.misc.JavaxPersistence
 

L

LazyForeignCollection<T,ID> - Class in com.j256.ormlite.dao
Collection that is set on a field that as been marked with the ForeignCollectionField annotation when an object is refreshed or queried (i.e.
LazyForeignCollection(Dao<T, ID>, String, Object) - Constructor for class com.j256.ormlite.dao.LazyForeignCollection
 
le(String, Object) - Method in class com.j256.ormlite.stmt.Where
Add a '<=' clause so the column must be less-than or equals-to the value.
like(String, Object) - Method in class com.j256.ormlite.stmt.Where
Add a LIKE clause so the column must mach the value using '%' patterns.
limit(Integer) - Method in class com.j256.ormlite.stmt.QueryBuilder
Limit the output to maxRows maximum number of rows.
limit - Variable in class com.j256.ormlite.stmt.StatementBuilder
 
loadDriver() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
loadDriver() - Method in interface com.j256.ormlite.db.DatabaseType
Load the driver class associated with this database so it can wire itself into JDBC.
LOCAL_LOG_FILE_PROPERTY - Static variable in class com.j256.ormlite.logger.LocalLog
 
LOCAL_LOG_LEVEL_PROPERTY - Static variable in class com.j256.ormlite.logger.LocalLog
 
LocalLog - Class in com.j256.ormlite.logger
Class which implements our Log interface so we can bypass external logging classes if they are not available.
LocalLog(String) - Constructor for class com.j256.ormlite.logger.LocalLog
 
log(Log.Level, String) - Method in class com.j256.ormlite.logger.CommonsLoggingLog
 
log(Log.Level, String, Throwable) - Method in class com.j256.ormlite.logger.CommonsLoggingLog
 
log(Log.Level, String) - Method in class com.j256.ormlite.logger.JavaUtilLog
 
log(Log.Level, String, Throwable) - Method in class com.j256.ormlite.logger.JavaUtilLog
 
log(Log.Level, String) - Method in class com.j256.ormlite.logger.LocalLog
 
log(Log.Level, String, Throwable) - Method in class com.j256.ormlite.logger.LocalLog
 
Log - Interface in com.j256.ormlite.logger
Interface so we can front various log code which may or may not be in the classpath.
log(Log.Level, String) - Method in interface com.j256.ormlite.logger.Log
Log a trace message.
log(Log.Level, String, Throwable) - Method in interface com.j256.ormlite.logger.Log
Log a trace message with a throwable.
log(Log.Level, String) - Method in class com.j256.ormlite.logger.Log4jLog
 
log(Log.Level, String, Throwable) - Method in class com.j256.ormlite.logger.Log4jLog
 
Log.Level - Enum in com.j256.ormlite.logger
Level of log messages being sent.
Log4jLog - Class in com.j256.ormlite.logger
Class which implements our Log interface by delegating to Apache Log4j via reflection.
Log4jLog(String) - Constructor for class com.j256.ormlite.logger.Log4jLog
 
Logger - Class in com.j256.ormlite.logger
Class which wraps our Log interface and provides {} argument features like slf4j.
Logger(Log) - Constructor for class com.j256.ormlite.logger.Logger
 
logger - Static variable in class com.j256.ormlite.stmt.mapped.BaseMappedStatement
 
LoggerFactory - Class in com.j256.ormlite.logger
Factory that creates Logger instances.
lookupClass(Class<?>) - Static method in enum com.j256.ormlite.field.DataType
Static method that returns the DataType associated with the class argument or DataType.UNKNOWN if not found.
lt(String, Object) - Method in class com.j256.ormlite.stmt.Where
Add a '<' clause so the column must be less-than the value.

M

makeConfigObject(FieldType) - Method in enum com.j256.ormlite.field.DataType
This makes a configuration object for the data-type or returns null if none.
MappedCreate<T,ID> - Class in com.j256.ormlite.stmt.mapped
A mapped statement for creating a new instance of an object.
MappedDelete<T,ID> - Class in com.j256.ormlite.stmt.mapped
A mapped statement for deleting an object.
MappedDeleteCollection<T,ID> - Class in com.j256.ormlite.stmt.mapped
A mapped statement for deleting objects that correspond to a collection of IDs.
MappedPreparedStmt<T,ID> - Class in com.j256.ormlite.stmt.mapped
Mapped statement used by the StatementBuilder.prepareStatement() method.
MappedPreparedStmt(TableInfo<T, ID>, String, FieldType[], FieldType[], ArgumentHolder[], Integer, StatementBuilder.StatementType) - Constructor for class com.j256.ormlite.stmt.mapped.MappedPreparedStmt
 
MappedQueryForId<T,ID> - Class in com.j256.ormlite.stmt.mapped
Mapped statement for querying for an object by its ID.
MappedQueryForId(TableInfo<T, ID>, String, FieldType[], FieldType[], String) - Constructor for class com.j256.ormlite.stmt.mapped.MappedQueryForId
 
MappedRefresh<T,ID> - Class in com.j256.ormlite.stmt.mapped
Mapped statement for refreshing the fields in an object.
MappedUpdate<T,ID> - Class in com.j256.ormlite.stmt.mapped
Mapped statement for updating an object.
MappedUpdateId<T,ID> - Class in com.j256.ormlite.stmt.mapped
Mapped statement for updating an object's ID field.
mapRow(String[], String[]) - Method in interface com.j256.ormlite.dao.RawRowMapper
Used to convert a raw results row to an object.
mapRow(DatabaseResults) - Method in interface com.j256.ormlite.stmt.GenericRowMapper
Used to convert a results row to an object.
mapRow(DatabaseResults) - Method in class com.j256.ormlite.stmt.mapped.BaseMappedQuery
 
mapRow(DatabaseResults) - Method in class com.j256.ormlite.stmt.StatementExecutor
 
MAX_FOREIGN_RECURSE_LEVEL - Static variable in class com.j256.ormlite.field.FieldType
 
MORE_THAN_ONE - Static variable in interface com.j256.ormlite.support.DatabaseConnection
returned by DatabaseConnection.queryForOne(java.lang.String, java.lang.Object[], com.j256.ormlite.field.FieldType[], com.j256.ormlite.stmt.GenericRowMapper) if more than one result was found by the query

N

ne(String, Object) - Method in class com.j256.ormlite.stmt.Where
Add a '<>' clause so the column must be not-equal-to the value.
next() - Method in class com.j256.ormlite.stmt.SelectIterator
Returns the next() object in the table.
next() - Method in interface com.j256.ormlite.support.DatabaseResults
Moves to the next result.
nextThrow() - Method in class com.j256.ormlite.stmt.SelectIterator
Returns the next() object in the table.
NO_DEFAULT - Static variable in annotation type com.j256.ormlite.field.DatabaseField
 
not() - Method in class com.j256.ormlite.stmt.Where
Used to NOT the next clause specified.
not(Where<T, ID>) - Method in class com.j256.ormlite.stmt.Where
Used to NOT the argument clause specified.

O

objectsEqual(T, T) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
objectsEqual(T, T) - Method in interface com.j256.ormlite.dao.Dao
Return true if the two arguments are equal.
objectsEqual(T) - Method in class com.j256.ormlite.misc.BaseDaoEnabled
A call through to the Dao.objectsEqual(Object, Object).
objectToString(T) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
objectToString(T) - Method in interface com.j256.ormlite.dao.Dao
Return the string version of the object with each of the known field values shown.
objectToString() - Method in class com.j256.ormlite.misc.BaseDaoEnabled
A call through to the Dao.objectToString(Object).
objectToString(T) - Method in class com.j256.ormlite.table.TableInfo
Return a string representation of the object.
offset(Integer) - Method in class com.j256.ormlite.stmt.QueryBuilder
Start the output at this row number.
offset - Variable in class com.j256.ormlite.stmt.StatementBuilder
 
or() - Method in class com.j256.ormlite.stmt.Where
OR operation which takes the previous clause and the next clause and OR's them together.
or(Where<T, ID>, Where<T, ID>, Where<T, ID>...) - Method in class com.j256.ormlite.stmt.Where
OR operation which takes 2 arguments and OR's them together.
or(int) - Method in class com.j256.ormlite.stmt.Where
This method needs to be used carefully.
orderBy(String, boolean) - Method in class com.j256.ormlite.stmt.QueryBuilder
Add "ORDER BY" clause to the SQL query statement.
orderByRaw(String) - Method in class com.j256.ormlite.stmt.QueryBuilder
Add raw SQL "ORDER BY" clause to the SQL query statement.

P

parseDefaultString(FieldType, String) - Method in class com.j256.ormlite.db.BaseDatabaseType.BooleanNumberFieldConverter
 
parseDefaultString(FieldType, String) - Method in enum com.j256.ormlite.field.DataType
 
parseDefaultString(FieldType, String) - Method in interface com.j256.ormlite.field.FieldConverter
Convert a default string object and return the appropriate argument to a SQL insert or update statement.
prepare() - Method in class com.j256.ormlite.stmt.DeleteBuilder
Build and return a prepared delete that can be used by Dao.delete(PreparedDelete) method.
prepare() - Method in class com.j256.ormlite.stmt.QueryBuilder
Build and return a prepared query that can be used by Dao.query(PreparedQuery) or Dao.iterator(PreparedQuery) methods.
prepare() - Method in class com.j256.ormlite.stmt.UpdateBuilder
Build and return a prepared update that can be used by Dao.update(PreparedUpdate) method.
prepare() - Method in class com.j256.ormlite.stmt.Where
A short-cut for calling prepare() on the original QueryBuilder.prepare().
PreparedDelete<T> - Interface in com.j256.ormlite.stmt
Interface returned by the DeleteBuilder.prepare() which supports custom DELETE statements.
preparedQuery - Variable in class com.j256.ormlite.dao.BaseForeignCollection
 
PreparedQuery<T> - Interface in com.j256.ormlite.stmt
Interface returned by the QueryBuilder.prepare() which supports custom SELECT queries.
PreparedStmt<T> - Interface in com.j256.ormlite.stmt
Parent interface for the PreparedQuery, PreparedUpdate, and PreparedDelete interfaces.
PreparedUpdate<T> - Interface in com.j256.ormlite.stmt
Interface returned by the UpdateBuilder.prepare() which supports custom UPDATE statements.
prepareStatement() - Method in class com.j256.ormlite.stmt.StatementBuilder
Prepare our statement for the subclasses.
prepareStatementString() - Method in class com.j256.ormlite.stmt.StatementBuilder
Build and return a string version of the query.

Q

query(PreparedQuery<T>) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
query(PreparedQuery<T>) - Method in interface com.j256.ormlite.dao.Dao
Query for the items in the object table which match the prepared query.
query() - Method in class com.j256.ormlite.stmt.QueryBuilder
A short cut for Dao.query(prepare()).
query(ConnectionSource, PreparedStmt<T>) - Method in class com.j256.ormlite.stmt.StatementExecutor
Return a list of all of the data in the table that matches the PreparedStmt.
query() - Method in class com.j256.ormlite.stmt.Where
A short-cut for calling query() on the original QueryBuilder.query().
queryBuilder() - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
queryBuilder() - Method in interface com.j256.ormlite.dao.Dao
Create and return a new query builder object which allows you to build a custom SELECT statement.
QueryBuilder<T,ID> - Class in com.j256.ormlite.stmt
Assists in building sql query (SELECT) statements for a particular table in a particular database.
QueryBuilder(DatabaseType, TableInfo<T, ID>, Dao<T, ID>) - Constructor for class com.j256.ormlite.stmt.QueryBuilder
 
QueryBuilder.InternalQueryBuilderWrapper - Class in com.j256.ormlite.stmt
Internal class used to expose methods to internal classes but through a wrapper instead of a builder.
QueryBuilder.InternalQueryBuilderWrapper(QueryBuilder<?, ?>) - Constructor for class com.j256.ormlite.stmt.QueryBuilder.InternalQueryBuilderWrapper
 
queryForAll() - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
queryForAll() - Method in interface com.j256.ormlite.dao.Dao
Query for all of the items in the object table.
queryForAll(ConnectionSource) - Method in class com.j256.ormlite.stmt.StatementExecutor
Return a list of all of the data in the table.
queryForAllRaw(String) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
queryForAllRaw(String) - Method in interface com.j256.ormlite.dao.Dao
Deprecated.  
queryForAllRawOld(ConnectionSource, String) - Method in class com.j256.ormlite.stmt.StatementExecutor
Return a list of all of the data in the table that matches the PreparedStmt.
queryForCountStar(DatabaseConnection) - Method in class com.j256.ormlite.stmt.StatementExecutor
Return a long value which is the number of rows in the table.
queryForEq(String, Object) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
queryForEq(String, Object) - Method in interface com.j256.ormlite.dao.Dao
Query for the items in the object table that match a simple where with a single field = value type of WHERE clause.
queryForFieldValues(Map<String, Object>) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
queryForFieldValues(Map<String, Object>) - Method in interface com.j256.ormlite.dao.Dao
Query for the rows in the database that matches all of the field to value entries from the map passed in.
queryForFirst(PreparedQuery<T>) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
queryForFirst(PreparedQuery<T>) - Method in interface com.j256.ormlite.dao.Dao
Query for and return the first item in the object table which matches the PreparedQuery.
queryForFirst(DatabaseConnection, PreparedStmt<T>) - Method in class com.j256.ormlite.stmt.StatementExecutor
Return the first object that matches the PreparedStmt or null if none.
queryForId(ID) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
queryForId(ID) - Method in interface com.j256.ormlite.dao.Dao
Retrieves an object associated with a specific ID.
queryForId(DatabaseConnection, ID) - Method in class com.j256.ormlite.stmt.StatementExecutor
Return the object associated with the id or null if none.
queryForLong(String) - Method in interface com.j256.ormlite.support.DatabaseConnection
Perform a query whose result should be a single long-integer value.
queryForMatching(T) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
queryForMatching(T) - Method in interface com.j256.ormlite.dao.Dao
Query for the rows in the database that match the object passed in as an argument.
queryForOne(String, Object[], FieldType[], GenericRowMapper<T>) - Method in interface com.j256.ormlite.support.DatabaseConnection
Perform a SQL query with the associated SQL statement, arguments, and types and returns a single result.
queryRaw(String, String...) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
queryRaw(String, RawRowMapper<GR>, String...) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
queryRaw(String, DataType[], String...) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
queryRaw(String, String...) - Method in interface com.j256.ormlite.dao.Dao
Similar to the Dao.iterator(PreparedQuery) except it returns a RawResults object associated with the SQL select query argument.
queryRaw(String, RawRowMapper<UO>, String...) - Method in interface com.j256.ormlite.dao.Dao
Similar to the Dao.queryRaw(String, String...) but this iterator returns rows that you can map yourself.
queryRaw(String, DataType[], String...) - Method in interface com.j256.ormlite.dao.Dao
Similar to the Dao.queryRaw(String, String...) but instead of an array of String results being returned by the iterator, this uses the column-types parameter to return an array of Objects instead.
queryRaw(ConnectionSource, String, String[]) - Method in class com.j256.ormlite.stmt.StatementExecutor
Return a results object associated with an internal iterator that returns String[] results.
queryRaw(ConnectionSource, String, RawRowMapper<UO>, String[]) - Method in class com.j256.ormlite.stmt.StatementExecutor
Return a results object associated with an internal iterator is mapped by the user's rowMapper.
queryRaw(ConnectionSource, String, DataType[], String[]) - Method in class com.j256.ormlite.stmt.StatementExecutor
Return a results object associated with an internal iterator that returns Object[] results.

R

raw(String) - Method in class com.j256.ormlite.stmt.Where
Add a raw statement as part of the where that can be anything that the database supports.
RawResults - Interface in com.j256.ormlite.dao
Deprecated.  
RawResultsImpl<T> - Class in com.j256.ormlite.stmt
Handler for our raw results objects which does the conversion for various different results: String[], Object[], and user defined .
RawResultsImpl(ConnectionSource, DatabaseConnection, String, Class<?>, CompiledStatement, String[], GenericRowMapper<T>) - Constructor for class com.j256.ormlite.stmt.RawResultsImpl
 
RawRowMapper<T> - Interface in com.j256.ormlite.dao
Parameterized row mapper that takes output from the RawResults and returns a T.
refresh(T) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
refresh(T) - Method in interface com.j256.ormlite.dao.Dao
Does a query for the object's id and copies in each of the field values from the database to refresh the data parameter.
refresh() - Method in class com.j256.ormlite.misc.BaseDaoEnabled
A call through to the Dao.refresh(Object).
refresh(DatabaseConnection, T) - Method in class com.j256.ormlite.stmt.StatementExecutor
Does a query for the object's Id and copies in each of the field values from the database to refresh the data parameter.
registerDao(ConnectionSource, Dao<?, ?>) - Static method in class com.j256.ormlite.dao.DaoManager
Register the dao with the cache inside of this class.
releaseConnection(DatabaseConnection) - Method in interface com.j256.ormlite.support.ConnectionSource
Release a database connection previously returned by ConnectionSource.getReadOnlyConnection() or ConnectionSource.getReadWriteConnection().
remove(Object) - Method in class com.j256.ormlite.dao.BaseForeignCollection
 
remove(Object) - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
remove() - Method in class com.j256.ormlite.stmt.SelectIterator
Removes the last object returned by next() by calling delete on the dao associated with the object.
removeAll(Collection<?>) - Method in class com.j256.ormlite.dao.BaseForeignCollection
 
removeAll(Collection<?>) - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
removeThrow() - Method in class com.j256.ormlite.stmt.SelectIterator
Removes the last object returned by next() by calling delete on the dao associated with the object.
resultsFieldTypes - Variable in class com.j256.ormlite.stmt.mapped.BaseMappedQuery
 
resultToJava(FieldType, DatabaseResults, int) - Method in class com.j256.ormlite.db.BaseDatabaseType.BooleanNumberFieldConverter
 
resultToJava(FieldType, DatabaseResults, int) - Method in enum com.j256.ormlite.field.DataType
 
resultToJava(FieldType, DatabaseResults, int) - Method in interface com.j256.ormlite.field.FieldConverter
Return the object extracted from the results associated with column in position columnPos.
resultToJava(DatabaseResults, Map<String, Integer>) - Method in class com.j256.ormlite.field.FieldType
Get the result object from the results.
retainAll(Collection<?>) - Method in class com.j256.ormlite.dao.BaseForeignCollection
Uses the iterator to run through the dao and retain only the items that are in the passed in collection.
retainAll(Collection<?>) - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
rollback(Savepoint) - Method in interface com.j256.ormlite.support.DatabaseConnection
Roll back all changes since the savepoint was created.
rowMapper - Variable in class com.j256.ormlite.stmt.RawResultsImpl
 
runExecute() - Method in interface com.j256.ormlite.support.CompiledStatement
Run the prepared execute statement returning the number of rows affected.
runQuery() - Method in interface com.j256.ormlite.support.CompiledStatement
Run the prepared query statement returning the results.
runUpdate() - Method in interface com.j256.ormlite.support.CompiledStatement
Run the prepared update statement returning the number of rows affected.

S

saveSpecial(DatabaseConnection) - Method in class com.j256.ormlite.support.BaseConnectionSource
Save this connection as our special connection to be returned by the BaseConnectionSource.getSavedConnection() method.
saveSpecialConnection(DatabaseConnection) - Method in interface com.j256.ormlite.support.ConnectionSource
Save this connection and return it for all calls to ConnectionSource.getReadOnlyConnection() and ConnectionSource.getReadWriteConnection() unless the ConnectionSource.clearSpecialConnection(DatabaseConnection) method is called, all This is used by the transaction mechanism since since all operations within a transaction must operate on the same connection.
SelectArg - Class in com.j256.ormlite.stmt
An argument to a select SQL statement.
SelectArg() - Constructor for class com.j256.ormlite.stmt.SelectArg
 
selectColumns(String...) - Method in class com.j256.ormlite.stmt.QueryBuilder
Add columns to be returned by the SELECT query.
selectColumns(Iterable<String>) - Method in class com.j256.ormlite.stmt.QueryBuilder
Add columns to be returned by the SELECT query.
SelectIterator<T,ID> - Class in com.j256.ormlite.stmt
Internal iterator so we can page through the class.
SelectIterator(Class<?>, Dao<T, ID>, GenericRowMapper<T>, ConnectionSource, DatabaseConnection, CompiledStatement, String) - Constructor for class com.j256.ormlite.stmt.SelectIterator
If the statement parameter is null then this won't log information
setAutoCommit(boolean) - Method in interface com.j256.ormlite.support.DatabaseConnection
Set the auto-commit to be on (true) or off (false).
setCanBeNull(boolean) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setColumnName(String) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setConnectionSource(ConnectionSource) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
setConnectionSource(ConnectionSource) - Method in class com.j256.ormlite.misc.TransactionManager
 
setConstructor(Constructor<T>) - Method in class com.j256.ormlite.table.DatabaseTableConfig
 
setDao(Dao<T, ID>) - Method in class com.j256.ormlite.misc.BaseDaoEnabled
Set the Dao on the object.
setDataClass(Class<T>) - Method in class com.j256.ormlite.table.DatabaseTableConfig
 
setDataType(DataType) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setDefaultValue(String) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setFieldConfigs(List<DatabaseFieldConfig>) - Method in class com.j256.ormlite.table.DatabaseTableConfig
 
setFieldName(String) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setForeign(boolean) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setForeignAutoRefresh(boolean) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setForeignCollection(boolean) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setForeignCollectionEager(boolean) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setForeignTableConfig(DatabaseTableConfig<?>) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setFormat(String) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setGeneratedId(boolean) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setGeneratedIdSequence(String) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setId(boolean) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setIndexName(String) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setMaxRows(int) - Method in interface com.j256.ormlite.support.CompiledStatement
Set the number of rows to return in the results.
setMetaInfo(String, FieldType) - Method in interface com.j256.ormlite.stmt.ArgumentHolder
Used internally by the package to set the column-name associated with this argument.
setMetaInfo(String, FieldType) - Method in class com.j256.ormlite.stmt.BaseSelectArg
Used internally by the package to set the column-name associated with this argument.
setNull(int, SqlType) - Method in interface com.j256.ormlite.support.CompiledStatement
Set the parameter specified by the index and type to be null.
setObject(int, Object, SqlType) - Method in interface com.j256.ormlite.support.CompiledStatement
Set the parameter specified by the index and type to be an object.
setSavePoint(String) - Method in interface com.j256.ormlite.support.DatabaseConnection
Start a save point with a certain name.
setTableConfig(DatabaseTableConfig<T>) - Method in class com.j256.ormlite.dao.BaseDaoImpl
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.
setTableName(String) - Method in class com.j256.ormlite.table.DatabaseTableConfig
Set the table name which is turned into lowercase.
setThrowIfNull(boolean) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setUnique(boolean) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setUniqueIndexName(String) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setUnknownEnumvalue(Enum<?>) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setUseGetSet(boolean) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setValue(Object) - Method in interface com.j256.ormlite.stmt.ArgumentHolder
Set the value associated with this argument.
setValue(Object) - Method in class com.j256.ormlite.stmt.BaseSelectArg
Store the value.
setValue(Object) - Method in class com.j256.ormlite.stmt.SelectArg
 
setValue(Object) - Method in class com.j256.ormlite.stmt.ThreadLocalSelectArg
 
setWhere(Where<T, ID>) - Method in class com.j256.ormlite.stmt.StatementBuilder
Set the Where object on the query.
setWidth(int) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
size() - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
size() - Method in class com.j256.ormlite.dao.LazyForeignCollection
 
SqlExceptionUtil - Class in com.j256.ormlite.misc
Utility class to help with SQLException throwing.
SqlType - Enum in com.j256.ormlite.field
The SQL data types that are supported.
statement - Variable in class com.j256.ormlite.stmt.mapped.BaseMappedStatement
 
StatementBuilder<T,ID> - Class in com.j256.ormlite.stmt
Assists in building of SQL statements for a particular table in a particular database.
StatementBuilder(DatabaseType, TableInfo<T, ID>, StatementBuilder.StatementType) - Constructor for class com.j256.ormlite.stmt.StatementBuilder
Provides statements for various SQL operations.
StatementBuilder.StatementType - Enum in com.j256.ormlite.stmt
Types of statements that we are building.
statementExecutor - Variable in class com.j256.ormlite.dao.BaseDaoImpl
 
StatementExecutor<T,ID> - Class in com.j256.ormlite.stmt
Executes SQL statements for a particular table in a particular database.
StatementExecutor(DatabaseType, TableInfo<T, ID>, Dao<T, ID>) - Constructor for class com.j256.ormlite.stmt.StatementExecutor
Provides statements for various SQL operations.

T

tableConfig - Variable in class com.j256.ormlite.dao.BaseDaoImpl
 
tableInfo - Variable in class com.j256.ormlite.dao.BaseDaoImpl
 
tableInfo - Variable in class com.j256.ormlite.stmt.mapped.BaseMappedStatement
 
tableInfo - Variable in class com.j256.ormlite.stmt.StatementBuilder
 
TableInfo<T,ID> - Class in com.j256.ormlite.table
Information about a database table including the associated tableName, class, constructor, and the included fields.
TableInfo(ConnectionSource, Dao<T, ID>, Class<T>) - Constructor for class com.j256.ormlite.table.TableInfo
Creates a holder of information about a table/class.
TableInfo(DatabaseType, Dao<T, ID>, DatabaseTableConfig<T>) - Constructor for class com.j256.ormlite.table.TableInfo
Creates a holder of information about a table/class.
TableUtils - Class in com.j256.ormlite.table
Couple utility methods for the creating, dropping, and maintenance of tables.
ThreadLocalSelectArg - Class in com.j256.ormlite.stmt
Like SelectArg but using a ThreadLocal internally to improve reentrance so that multiple threads can use the same compiled statement.
ThreadLocalSelectArg() - Constructor for class com.j256.ormlite.stmt.ThreadLocalSelectArg
 
toArray() - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
toArray(E[]) - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
toArray() - Method in class com.j256.ormlite.dao.LazyForeignCollection
 
toArray(E[]) - Method in class com.j256.ormlite.dao.LazyForeignCollection
 
toString() - Method in class com.j256.ormlite.field.FieldType
 
toString() - Method in class com.j256.ormlite.stmt.BaseSelectArg
 
toString() - Method in class com.j256.ormlite.stmt.mapped.BaseMappedStatement
 
toString() - Method in class com.j256.ormlite.stmt.Where
 
trace(String, Object...) - Method in class com.j256.ormlite.logger.Logger
Log a trace message.
trace(Throwable, String, Object...) - Method in class com.j256.ormlite.logger.Logger
Log a trace message with a throwable.
TransactionManager - Class in com.j256.ormlite.misc
Provides basic transaction support for a ConnectionSource.
TransactionManager() - Constructor for class com.j256.ormlite.misc.TransactionManager
Constructor for Spring type wiring if you are using the set methods.
TransactionManager(ConnectionSource) - Constructor for class com.j256.ormlite.misc.TransactionManager
Constructor for direct java code wiring.

U

update(T) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
update(PreparedUpdate<T>) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
update(T) - Method in interface com.j256.ormlite.dao.Dao
Save the fields from an object to the database.
update(PreparedUpdate<T>) - Method in interface com.j256.ormlite.dao.Dao
Update all rows in the table according to the prepared statement argument.
update() - Method in class com.j256.ormlite.misc.BaseDaoEnabled
A call through to the Dao.update(Object).
update(DatabaseConnection, T) - Method in class com.j256.ormlite.stmt.mapped.BaseMappedStatement
Update the object in the database.
update(DatabaseConnection, T) - Method in class com.j256.ormlite.stmt.StatementExecutor
Update an object in the database.
update(DatabaseConnection, PreparedUpdate<T>) - Method in class com.j256.ormlite.stmt.StatementExecutor
Update rows in the database.
update(String, Object[], FieldType[]) - Method in interface com.j256.ormlite.support.DatabaseConnection
Perform a SQL update with the associated SQL statement, arguments, and types.
updateBuilder() - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
updateBuilder() - Method in interface com.j256.ormlite.dao.Dao
Like Dao.queryBuilder() but allows you to build an UPDATE statement.
UpdateBuilder<T,ID> - Class in com.j256.ormlite.stmt
Assists in building sql UPDATE statements for a particular table in a particular database.
UpdateBuilder(DatabaseType, TableInfo<T, ID>) - Constructor for class com.j256.ormlite.stmt.UpdateBuilder
 
updateColumnExpression(String, String) - Method in class com.j256.ormlite.stmt.UpdateBuilder
Add a column to be set to a value for UPDATE statements.
updateColumnValue(String, Object) - Method in class com.j256.ormlite.stmt.UpdateBuilder
Add a column to be set to a value for UPDATE statements.
updateId(T, ID) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
updateId(T, ID) - Method in interface com.j256.ormlite.dao.Dao
Update an object in the database to change its id to the newId parameter.
updateId(ID) - Method in class com.j256.ormlite.misc.BaseDaoEnabled
A call through to the Dao.updateId(Object, Object).
updateId(DatabaseConnection, T, ID) - Method in class com.j256.ormlite.stmt.StatementExecutor
Update an object in the database to change its id to the newId parameter.
updateRaw(String, String...) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
updateRaw(String, String...) - Method in interface com.j256.ormlite.dao.Dao
Run a raw update SQL statement to the database.
updateRaw(ConnectionSource, String, String[]) - Method in class com.j256.ormlite.stmt.StatementExecutor
Return the number of rows affected.
usedSpecialConnection - Variable in class com.j256.ormlite.support.BaseConnectionSource
 

V

valueOf(String) - Static method in enum com.j256.ormlite.field.DataType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.j256.ormlite.field.SqlType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.j256.ormlite.logger.Log.Level
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.j256.ormlite.stmt.StatementBuilder.StatementType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.j256.ormlite.field.DataType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.j256.ormlite.field.SqlType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.j256.ormlite.logger.Log.Level
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.j256.ormlite.stmt.StatementBuilder.StatementType
Returns an array containing the constants of this enum type, in the order they are declared.
verifyColumnName(String) - Method in class com.j256.ormlite.stmt.StatementBuilder
Verify the columnName is valid and return its FieldType.

W

warn(String, Object...) - Method in class com.j256.ormlite.logger.Logger
Log a warning message.
warn(Throwable, String, Object...) - Method in class com.j256.ormlite.logger.Logger
Log a warning message with a throwable.
wasNull(int) - Method in interface com.j256.ormlite.support.DatabaseResults
Returns true if the last object returned with the column index is null.
where() - Method in class com.j256.ormlite.stmt.StatementBuilder
Returns a Where object that should be used to add SQL where clauses to the statement.
Where<T,ID> - Class in com.j256.ormlite.stmt
Manages the various clauses that make up the WHERE part of a SQL statement.

A B C D E F G H I J L M N O P Q R S T U V W

Copyright © 2011. All Rights Reserved.