Skip navigation links
$ A B C D E F G H I J K L M N O P Q R S T U V W X 

$

$(String) - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
$() - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
Single space shortcut.
$(SqlChunk) - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
 

A

addChunk(SqlChunk) - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
Appends chunk to the list.
addParameter(String, Object, DbEntityColumnDescriptor) - Method in class jodd.db.oom.sqlgen.TemplateData
Adds query parameter.
aliasColumnsAs(ColumnAliasType) - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
Specifies column alias type.
append(String) - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
Parses provided text into the list of chunks and appends them to the list.
appendAlias(StringBuilder, DbEntityDescriptor, String) - Method in class jodd.db.oom.sqlgen.chunks.ColumnsSelectChunk
Appends alias.
appendColumnName(StringBuilder, DbEntityDescriptor, String) - Method in class jodd.db.oom.sqlgen.chunks.ColumnsSelectChunk
Simply appends column name with optional table reference and alias.
appendMissingSpace(StringBuilder) - Method in class jodd.db.oom.sqlgen.chunks.SqlChunk
Appends missing space if the output doesn't end with whitespace.
appendRaw(String) - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
Simply adds text without parsing to the query.
applyToColumnName(String) - Method in class jodd.db.oom.naming.ColumnNamingStrategy
Applies column naming strategy to given column name hint.
applyToTableName(String) - Method in class jodd.db.oom.naming.TableNamingStrategy
Applies table naming strategy to given table name hint.
attachQuery(DbQueryBase) - Method in class jodd.db.DbSession
Attaches a new DbQuery.
autoClose() - Method in class jodd.db.DbQuery
Defines that query should be automatically closed immediately after using.
autoClose() - Method in class jodd.db.oom.DbOomQuery
Defines that query should be automatically closed immediately after using.
AutomagicDbOomConfigurator - Class in jodd.db.oom.config
Auto-magically scans classpath for domain objects annotated with DbOom annotations.
AutomagicDbOomConfigurator(boolean) - Constructor for class jodd.db.oom.config.AutomagicDbOomConfigurator
 
AutomagicDbOomConfigurator() - Constructor for class jodd.db.oom.config.AutomagicDbOomConfigurator
 

B

BaseResultSetMapper - Class in jodd.db.oom.mapper
Common ResultSetMapper implementation.
BaseResultSetMapper(ResultSet) - Constructor for class jodd.db.oom.mapper.BaseResultSetMapper
 
beginTransaction(DbTransactionMode) - Method in class jodd.db.DbSession
Starts a transaction.
beginTransaction() - Method in class jodd.db.DbSession
Starts transaction with default transaction mode.
beginTransaction(JtxTransactionMode, boolean) - Method in class jodd.db.jtx.DbJtxResourceManager
BigDecimalSqlType - Class in jodd.db.type
 
BigDecimalSqlType() - Constructor for class jodd.db.type.BigDecimalSqlType
 
BigIntegerSqlType - Class in jodd.db.type
 
BigIntegerSqlType() - Constructor for class jodd.db.type.BigIntegerSqlType
 
BlobSqlType - Class in jodd.db.type
 
BlobSqlType() - Constructor for class jodd.db.type.BlobSqlType
 
BooleanSqlType - Class in jodd.db.type
 
BooleanSqlType() - Constructor for class jodd.db.type.BooleanSqlType
 
builder - Static variable in class jodd.db.debug.LoggablePreparedStatementFactory
 
ByteArraySqlType - Class in jodd.db.type
 
ByteArraySqlType() - Constructor for class jodd.db.type.ByteArraySqlType
 
ByteSqlType - Class in jodd.db.type
 
ByteSqlType() - Constructor for class jodd.db.type.ByteSqlType
 

C

cachedColumnNdx - Variable in class jodd.db.oom.mapper.DefaultResultSetMapper
 
cachedColumnValue - Variable in class jodd.db.oom.mapper.DefaultResultSetMapper
 
cachedDbEntityDescriptors - Variable in class jodd.db.oom.mapper.DefaultResultSetMapper
 
cachedMappedNames - Variable in class jodd.db.oom.mapper.DefaultResultSetMapper
 
cachedTypesTableNames - Variable in class jodd.db.oom.mapper.DefaultResultSetMapper
 
cachedUsedTypes - Variable in class jodd.db.oom.mapper.DefaultResultSetMapper
 
cacheEntities - Variable in class jodd.db.oom.DbOomQuery
 
cacheEntities(boolean) - Method in class jodd.db.oom.DbOomQuery
Defines if entities should be cached in ResultSetMapper.
cacheEntities - Variable in class jodd.db.oom.mapper.DefaultResultSetMapper
 
cacheEntitiesInResultSet - Variable in class jodd.db.oom.DbOomManager
 
cacheResultSetEntities(Object[]) - Method in class jodd.db.oom.mapper.DefaultResultSetMapper
Caches returned entities.
CharacterSqlType - Class in jodd.db.type
Char SQL type.
CharacterSqlType() - Constructor for class jodd.db.type.CharacterSqlType
 
checkActiveTx() - Method in class jodd.db.DbSession
 
checkClosedTx() - Method in class jodd.db.DbSession
 
checkOpenSession() - Method in class jodd.db.DbSession
 
CHUNK_INSERT - Static variable in class jodd.db.oom.sqlgen.chunks.SqlChunk
 
CHUNK_MATCH - Static variable in class jodd.db.oom.sqlgen.chunks.SqlChunk
 
CHUNK_RAW - Static variable in class jodd.db.oom.sqlgen.chunks.SqlChunk
 
CHUNK_REFERENCE - Static variable in class jodd.db.oom.sqlgen.chunks.SqlChunk
 
CHUNK_SELECT_COLUMNS - Static variable in class jodd.db.oom.sqlgen.chunks.SqlChunk
 
CHUNK_TABLE - Static variable in class jodd.db.oom.sqlgen.chunks.SqlChunk
 
CHUNK_UPDATE - Static variable in class jodd.db.oom.sqlgen.chunks.SqlChunk
 
CHUNK_VALUE - Static variable in class jodd.db.oom.sqlgen.chunks.SqlChunk
 
chunkType - Variable in class jodd.db.oom.sqlgen.chunks.SqlChunk
 
clearParameters() - Method in class jodd.db.DbQuery
Clears the current parameter values immediately.
ClobSqlType - Class in jodd.db.type
 
ClobSqlType() - Constructor for class jodd.db.type.ClobSqlType
 
close() - Method in class jodd.db.connection.ConnectionPoolDataSourceConnectionProvider
 
close() - Method in interface jodd.db.connection.ConnectionProvider
Closes a provider and releases all its resources.
close() - Method in class jodd.db.connection.DataSourceConnectionProvider
 
close() - Method in class jodd.db.connection.DriverManagerConnectionProvider
 
close() - Method in class jodd.db.connection.XADataSourceConnectionProvider
 
close() - Method in class jodd.db.DbSession
 
close(Statement) - Static method in class jodd.db.DbUtil
Closes statement safely without throwing an exception.
close(ResultSet) - Static method in class jodd.db.DbUtil
Closes result set safely without throwing an exception.
close() - Method in class jodd.db.jtx.DbJtxResourceManager
close(ResultSetMapper, boolean) - Method in class jodd.db.oom.DbOomQuery
Closes results set or whole query.
close() - Method in class jodd.db.oom.mapper.BaseResultSetMapper
Releases this ResultSet object's database and JDBC resources immediately instead of waiting for this to happen when it is automatically closed.
close() - Method in interface jodd.db.oom.mapper.ResultSetMapper
Releases this ResultSet object's database and JDBC resources immediately instead of waiting for this to happen when it is automatically closed.
close() - Method in class jodd.db.pool.CoreConnectionPool
Close all the connections.
closeConnection(Connection) - Method in class jodd.db.connection.ConnectionPoolDataSourceConnectionProvider
 
closeConnection(Connection) - Method in interface jodd.db.connection.ConnectionProvider
Dispose of a used connection.
closeConnection(Connection) - Method in class jodd.db.connection.DataSourceConnectionProvider
 
closeConnection(Connection) - Method in class jodd.db.connection.DriverManagerConnectionProvider
 
closeConnection(Connection) - Method in class jodd.db.connection.XADataSourceConnectionProvider
 
closeConnection(Connection) - Method in class jodd.db.pool.CoreConnectionPool
 
closeSession() - Method in class jodd.db.DbSession
Closes current session and all allocated resources.
closeSession() - Method in class jodd.db.DbThreadSession
Closes current session and remove the association from current thread.
closeThreadSession() - Static method in class jodd.db.DbThreadSession
Closes thread session.
closeTx() - Method in class jodd.db.DbSession
Closes current transaction.
COLS_ALL - Static variable in class jodd.db.oom.sqlgen.chunks.SqlChunk
 
COLS_ALL_BUT_ID - Static variable in class jodd.db.oom.sqlgen.chunks.SqlChunk
 
COLS_NA - Static variable in class jodd.db.oom.sqlgen.chunks.SqlChunk
 
COLS_NA_MULTI - Static variable in class jodd.db.oom.sqlgen.chunks.SqlChunk
 
COLS_ONLY_EXISTING - Static variable in class jodd.db.oom.sqlgen.chunks.SqlChunk
 
COLS_ONLY_IDS - Static variable in class jodd.db.oom.sqlgen.chunks.SqlChunk
 
column(String) - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
 
column(String, String) - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
 
columnAliasSeparator - Variable in class jodd.db.oom.DbOomManager
 
ColumnAliasType - Enum in jodd.db.oom
Various column alias types.
columnAliasType - Variable in class jodd.db.oom.sqlgen.TemplateData
Specifies column alias type.
columnCount - Variable in class jodd.db.oom.sqlgen.TemplateData
Column counter for COLUMN_CODE column alias type.
ColumnData - Class in jodd.db.oom
Column data.
ColumnData(String) - Constructor for class jodd.db.oom.ColumnData
 
ColumnData(String, String) - Constructor for class jodd.db.oom.ColumnData
 
columnData - Variable in class jodd.db.oom.sqlgen.ParsedSql
 
columnData - Variable in class jodd.db.oom.sqlgen.TemplateData
Column or table aliases.
columnDbSqlTypes - Variable in class jodd.db.oom.mapper.DefaultResultSetMapper
 
columnName - Variable in class jodd.db.oom.DbEntityColumnDescriptor
 
columnNames - Variable in class jodd.db.oom.DbOomManager
 
columnNames - Variable in class jodd.db.oom.mapper.DefaultResultSetMapper
 
ColumnNamingStrategy - Class in jodd.db.oom.naming
Naming strategy for converting property names to database column names.
ColumnNamingStrategy() - Constructor for class jodd.db.oom.naming.ColumnNamingStrategy
 
columnRef - Variable in class jodd.db.oom.sqlgen.chunks.ColumnsSelectChunk
 
columnRef - Variable in class jodd.db.oom.sqlgen.chunks.ReferenceChunk
 
columnRefArr - Variable in class jodd.db.oom.sqlgen.chunks.ColumnsSelectChunk
 
columnsAll(String) - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
 
columnsIds(String) - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
 
ColumnsSelectChunk - Class in jodd.db.oom.sqlgen.chunks
Columns select chunk resolves entity column(s) from column references.
ColumnsSelectChunk(String, String, String[], int, String) - Constructor for class jodd.db.oom.sqlgen.chunks.ColumnsSelectChunk
 
ColumnsSelectChunk(String, String) - Constructor for class jodd.db.oom.sqlgen.chunks.ColumnsSelectChunk
 
ColumnsSelectChunk(String, String...) - Constructor for class jodd.db.oom.sqlgen.chunks.ColumnsSelectChunk
 
ColumnsSelectChunk(String, boolean) - Constructor for class jodd.db.oom.sqlgen.chunks.ColumnsSelectChunk
 
ColumnsSelectChunk(String) - Constructor for class jodd.db.oom.sqlgen.chunks.ColumnsSelectChunk
 
columnValue(String, Object) - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
 
columnValue(Object) - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
 
ColumnValueChunk - Class in jodd.db.oom.sqlgen.chunks
Value for the last column.
ColumnValueChunk(String, Object) - Constructor for class jodd.db.oom.sqlgen.chunks.ColumnValueChunk
 
ColumnValueChunk(String) - Constructor for class jodd.db.oom.sqlgen.chunks.ColumnValueChunk
 
ColumnValueChunk(String, Object, String) - Constructor for class jodd.db.oom.sqlgen.chunks.ColumnValueChunk
 
columnValueRef(String) - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
 
commitTransaction() - Method in class jodd.db.DbSession
Commit the current transaction, writing any unflushed changes to the database.
commitTransaction(DbSession) - Method in class jodd.db.jtx.DbJtxResourceManager
compareTo(Object) - Method in class jodd.db.oom.DbEntityColumnDescriptor
Compares two column descriptors.
concurrencyType - Variable in class jodd.db.DbManager
 
configure() - Method in interface jodd.db.DbDetector.DbOomConfigurator
 
configure(DbOomManager, File[]) - Method in class jodd.db.oom.config.AutomagicDbOomConfigurator
Configures DbOomManager with specified class path.
configure(DbOomManager) - Method in class jodd.db.oom.config.AutomagicDbOomConfigurator
Configures DbOomManager with default class path.
connection - Variable in class jodd.db.DbSession
 
ConnectionPoolDataSourceConnectionProvider - Class in jodd.db.connection
Connection pool data source ConnectionProvider
ConnectionPoolDataSourceConnectionProvider(ConnectionPoolDataSource) - Constructor for class jodd.db.connection.ConnectionPoolDataSourceConnectionProvider
 
ConnectionProvider - Interface in jodd.db.connection
A generic strategy for obtaining JDBC connections.
connectionProvider - Variable in class jodd.db.DbManager
 
connectionProvider - Variable in class jodd.db.DbSession
 
connectionProvider - Variable in class jodd.db.jtx.DbJtxResourceManager
 
convertColumnNameToPropertyName(String) - Method in class jodd.db.oom.naming.ColumnNamingStrategy
Converts column name to property name.
convertEntityNameToTableName(Class) - Method in class jodd.db.oom.naming.TableNamingStrategy
Converts entity name to table name.
convertEntityNameToTableName(String) - Method in class jodd.db.oom.naming.TableNamingStrategy
Converts entity (type) name to table name.
convertPropertyNameToColumnName(String) - Method in class jodd.db.oom.naming.ColumnNamingStrategy
Converts property name to column name.
convertTableNameToEntityName(String) - Method in class jodd.db.oom.naming.TableNamingStrategy
Converts table name to entity (type) name.
convertToDbMode(JtxTransactionMode) - Static method in class jodd.db.jtx.JtxDbUtil
Convert JTX transaction mode to DB transaction mode.
CoreConnectionPool - Class in jodd.db.pool
A class for pre-allocating, recycling, and managing JDBC connections.
CoreConnectionPool() - Constructor for class jodd.db.pool.CoreConnectionPool
 
CoreConnectionPool.SizeSnapshot - Class in jodd.db.pool
Just a statistic class.
count(Class) - Method in class jodd.db.oom.dao.GenericDao
Counts number of all entities.
count(Object) - Static method in class jodd.db.oom.sqlgen.DbEntitySql
Creates SELECT COUNT criteria for the entity matched by non-null values.
count(Class) - Static method in class jodd.db.oom.sqlgen.DbEntitySql
Creates SELECT COUNT all query.
countAll(Object) - Static method in class jodd.db.oom.sqlgen.DbEntitySql
Creates SELECT COUNT criteria for the entity matched by all values.
create(Connection, String) - Static method in class jodd.db.debug.LoggablePreparedStatementFactory
 
create(Connection, String, int, int) - Static method in class jodd.db.debug.LoggablePreparedStatementFactory
 
create(Connection, String, int, int, int) - Static method in class jodd.db.debug.LoggablePreparedStatementFactory
 
create(Connection, String, int) - Static method in class jodd.db.debug.LoggablePreparedStatementFactory
 
create(Connection, String, int[]) - Static method in class jodd.db.debug.LoggablePreparedStatementFactory
 
create(Connection, String, String[]) - Static method in class jodd.db.debug.LoggablePreparedStatementFactory
 
createDbEntityDescriptor(Class<E>) - Method in class jodd.db.oom.DbOomManager
createEntityInstance(Class<E>) - Method in class jodd.db.oom.DbOomManager
Creates new entity instances.
createNewTransaction(JtxTransactionMode, Object, boolean) - Method in class jodd.db.jtx.DbJtxTransactionManager
Builds new transaction instance.
createResultSetMapper(ResultSet) - Method in class jodd.db.oom.DbOomQuery
Factory for result sets mapper.
createTableRefName(Object) - Static method in class jodd.db.oom.sqlgen.DbEntitySql
Creates table reference name from entity type.
createTypesTableNames(Class[]) - Method in class jodd.db.oom.mapper.DefaultResultSetMapper
Creates table names for given types.

D

data - Variable in class jodd.db.oom.sqlgen.chunks.InsertChunk
 
data - Variable in class jodd.db.oom.sqlgen.chunks.MatchChunk
 
data - Variable in class jodd.db.oom.sqlgen.chunks.UpdateSetChunk
 
DataSourceConnectionProvider - Class in jodd.db.connection
DataSource connection provider.
DataSourceConnectionProvider(String) - Constructor for class jodd.db.connection.DataSourceConnectionProvider
 
DataSourceConnectionProvider(String, String, String) - Constructor for class jodd.db.connection.DataSourceConnectionProvider
 
DataSourceConnectionProvider(DataSource) - Constructor for class jodd.db.connection.DataSourceConnectionProvider
 
DataSourceConnectionProvider(DataSource, String, String) - Constructor for class jodd.db.connection.DataSourceConnectionProvider
 
DateSqlType - Class in jodd.db.type
 
DateSqlType() - Constructor for class jodd.db.type.DateSqlType
 
DB_SQLTYPE_NOT_AVAILABLE - Static variable in class jodd.db.type.SqlType
Indicator for unavailable DB SQL type.
DB_SQLTYPE_UNKNOWN - Static variable in class jodd.db.type.SqlType
Indicator for not yet resolved DB SQL type.
DbCallResult - Class in jodd.db
 
DbColumn - Annotation Type in jodd.db.oom.meta
Fields marker for mapped columns.
DbDetector - Class in jodd.db
Database detector.
DbDetector() - Constructor for class jodd.db.DbDetector
 
DbDetector.Db - Enum in jodd.db
 
DbDetector.DbOomConfigurator - Interface in jodd.db
 
DbEntityColumnDescriptor - Class in jodd.db.oom
Column descriptors.
DbEntityColumnDescriptor(DbEntityDescriptor, String, String, Class, boolean, Class<? extends SqlType>) - Constructor for class jodd.db.oom.DbEntityColumnDescriptor
 
dbEntityDescriptor - Variable in class jodd.db.oom.DbEntityColumnDescriptor
 
DbEntityDescriptor<E> - Class in jodd.db.oom
Holds all information about some entity type, such as table name and columns data.
DbEntityDescriptor(Class<E>, String, TableNamingStrategy, ColumnNamingStrategy) - Constructor for class jodd.db.oom.DbEntityDescriptor
 
DbEntitySql - Class in jodd.db.oom.sqlgen
Useful DbSqlBuilder generators.
DbEntitySql() - Constructor for class jodd.db.oom.sqlgen.DbEntitySql
 
DbId - Annotation Type in jodd.db.oom.meta
Field marker for ID columns, not necessary to use, but might be helpful.
DbJtxResourceManager - Class in jodd.db.jtx
Database JtxResourceManager manages life-cycle of DbSession resources.
DbJtxResourceManager(ConnectionProvider) - Constructor for class jodd.db.jtx.DbJtxResourceManager
Creates resource manager.
DbJtxSessionProvider - Class in jodd.db.jtx
Returns session from the db transaction manager, like DbJtxTransactionManager.
DbJtxSessionProvider(JtxTransactionManager) - Constructor for class jodd.db.jtx.DbJtxSessionProvider
Creates new JTX session provider.
DbJtxTransaction - Class in jodd.db.jtx
JtxTransaction extension that simplifies beginning of the transaction since related DbJtxTransactionManager allows only one resource type.
DbJtxTransaction(JtxTransactionManager, JtxTransactionMode, Object, boolean) - Constructor for class jodd.db.jtx.DbJtxTransaction
 
DbJtxTransactionManager - Class in jodd.db.jtx
JtxTransactionManager that uses only one JTX db resource type.
DbJtxTransactionManager(DbJtxResourceManager) - Constructor for class jodd.db.jtx.DbJtxTransactionManager
Creates db jtx manager and registers provided DbJtxResourceManager.
DbJtxTransactionManager(ConnectionProvider) - Constructor for class jodd.db.jtx.DbJtxTransactionManager
Creates db jtx manager and registers new DbJtxResourceManager.
DbManager - Class in jodd.db
Db manager.
DbManager() - Constructor for class jodd.db.DbManager
 
dbManager - Variable in class jodd.db.DbSession
 
DbMapTo - Annotation Type in jodd.db.oom.meta
Marker for 'composed' entities.
DbMetaUtil - Class in jodd.db.oom
Meta-data resolving utils.
DbMetaUtil() - Constructor for class jodd.db.oom.DbMetaUtil
 
DbOomException - Exception in jodd.db.oom
DbOom exceptions.
DbOomException(Throwable) - Constructor for exception jodd.db.oom.DbOomException
 
DbOomException(String) - Constructor for exception jodd.db.oom.DbOomException
 
DbOomException(DbQuery, String) - Constructor for exception jodd.db.oom.DbOomException
 
DbOomException(String, Throwable) - Constructor for exception jodd.db.oom.DbOomException
 
DbOomException(DbQuery, String, Throwable) - Constructor for exception jodd.db.oom.DbOomException
 
dbOomManager - Variable in class jodd.db.oom.config.AutomagicDbOomConfigurator
 
DbOomManager - Class in jodd.db.oom
DbOom manager.
DbOomManager() - Constructor for class jodd.db.oom.DbOomManager
 
dbOomManager - Variable in class jodd.db.oom.DbOomQuery
 
dbOomManager - Variable in class jodd.db.oom.mapper.DefaultResultSetMapper
 
dbOomManager - Variable in class jodd.db.oom.sqlgen.TemplateData
 
DbOomQuery - Class in jodd.db.oom
A simple ORM extension for DbQuery.
DbOomQuery(Connection, String) - Constructor for class jodd.db.oom.DbOomQuery
 
DbOomQuery(DbSession, String) - Constructor for class jodd.db.oom.DbOomQuery
 
DbOomQuery(String) - Constructor for class jodd.db.oom.DbOomQuery
 
DbOomQuery(Connection, DbSqlGenerator) - Constructor for class jodd.db.oom.DbOomQuery
 
DbOomQuery(DbSession, DbSqlGenerator) - Constructor for class jodd.db.oom.DbOomQuery
 
DbOomQuery(DbSqlGenerator) - Constructor for class jodd.db.oom.DbOomQuery
 
dbOomQuery - Variable in class jodd.db.oom.mapper.DefaultResultSetMapper
 
DbOomUtil - Class in jodd.db.oom
Some utilities.
DbOomUtil() - Constructor for class jodd.db.oom.DbOomUtil
 
DbPropsQueryMap - Class in jodd.db.querymap
QueryMap implementation based on Props properties files.
DbPropsQueryMap(String...) - Constructor for class jodd.db.querymap.DbPropsQueryMap
 
DbPropsQueryMap() - Constructor for class jodd.db.querymap.DbPropsQueryMap
 
DbQuery - Class in jodd.db
Encapsulates Statement and all its operations.
DbQuery(Connection, String) - Constructor for class jodd.db.DbQuery
Creates new query.
DbQuery(DbSession, String) - Constructor for class jodd.db.DbQuery
Creates a new query from DbSession.
DbQuery(String) - Constructor for class jodd.db.DbQuery
Creates a new query using default session provider.
DbSession - Class in jodd.db
Encapsulates db connection.
DbSession() - Constructor for class jodd.db.DbSession
Creates new database session using default connection provider.
DbSession(ConnectionProvider) - Constructor for class jodd.db.DbSession
Creates new database session with default transaction mode and in autocommit mode.
DbSessionProvider - Interface in jodd.db
Provide DbSession when requested by DbQuery.
DbSqlBuilder - Class in jodd.db.oom.sqlgen
Nice SQL query generator that provides some automatic query generation.
DbSqlBuilder() - Constructor for class jodd.db.oom.sqlgen.DbSqlBuilder
Creates new SQL builder.
DbSqlBuilder(String) - Constructor for class jodd.db.oom.sqlgen.DbSqlBuilder
 
DbSqlBuilderException - Exception in jodd.db.oom.sqlgen
 
DbSqlBuilderException(String) - Constructor for exception jodd.db.oom.sqlgen.DbSqlBuilderException
 
DbSqlException - Exception in jodd.db
Unchecked SQL exception.
DbSqlException(Throwable) - Constructor for exception jodd.db.DbSqlException
 
DbSqlException(String) - Constructor for exception jodd.db.DbSqlException
 
DbSqlException(DbQueryBase, String) - Constructor for exception jodd.db.DbSqlException
 
DbSqlException(String, Throwable) - Constructor for exception jodd.db.DbSqlException
 
DbSqlException(DbQueryBase, String, Throwable) - Constructor for exception jodd.db.DbSqlException
 
DbSqlGenerator - Interface in jodd.db.oom
Generates SQL queries.
dbSqlType - Variable in class jodd.db.oom.DbEntityColumnDescriptor
 
DbTable - Annotation Type in jodd.db.oom.meta
Class marker for entity mapped to a table or a view.
dbTableAnnotationBytes - Variable in class jodd.db.oom.config.AutomagicDbOomConfigurator
 
DbThreadSession - Class in jodd.db
Thread assigned DbSession.
DbThreadSession(ConnectionProvider) - Constructor for class jodd.db.DbThreadSession
Creates new db session and assigns it to the current thread.
DbThreadSession() - Constructor for class jodd.db.DbThreadSession
Creates new db session and assigns it to the current thread, using default connection provider.
DbTransactionMode - Class in jodd.db
Native SQL transaction mode for DbSession transactions.
DbTransactionMode() - Constructor for class jodd.db.DbTransactionMode
 
DbUtil - Class in jodd.db
Various DB utilities.
DbUtil() - Constructor for class jodd.db.DbUtil
 
debug - Variable in class jodd.db.DbManager
 
dec - Variable in class jodd.db.oom.sqlgen.ParameterValue
 
decreaseProperty(Class, long, String, Number) - Method in class jodd.db.oom.dao.GenericDao
Decreases a property.
ded - Variable in class jodd.db.oom.sqlgen.chunks.TableChunk
 
defaultColumnAliasType - Variable in class jodd.db.oom.DbOomManager
 
DefaultResultSetMapper - Class in jodd.db.oom.mapper
Maps all columns of database result set (RS) row to objects.
DefaultResultSetMapper(ResultSet, Map<String, ColumnData>, boolean, DbOomQuery) - Constructor for class jodd.db.oom.mapper.DefaultResultSetMapper
Reads ResultSet meta-data for column and table names.
defineParameter(StringBuilder, String, Object, DbEntityColumnDescriptor) - Method in class jodd.db.oom.sqlgen.chunks.ColumnValueChunk
 
defineParameter(StringBuilder, String, Object, DbEntityColumnDescriptor) - Method in class jodd.db.oom.sqlgen.chunks.SqlChunk
Defines parameter with name and its value.
defineParameter(StringBuilder, String, Object) - Method in class jodd.db.oom.sqlgen.TemplateData
Defines parameter with name and its value.
delete(Object) - Static method in class jodd.db.oom.sqlgen.DbEntitySql
Creates DELETE query that deletes entity matched by non-null values.
deleteAllById(Collection) - Method in class jodd.db.oom.dao.GenericDao
Deletes all objects by their id.
deleteByAll(Object) - Static method in class jodd.db.oom.sqlgen.DbEntitySql
Creates DELETE query that deletes entity matched by all values.
deleteById(Class, long) - Method in class jodd.db.oom.dao.GenericDao
Deleted single entity by its id.
deleteById(Object) - Method in class jodd.db.oom.dao.GenericDao
Delete single object by its id.
deleteById(Object) - Static method in class jodd.db.oom.sqlgen.DbEntitySql
Creates DELETE query that deletes entity by ID.
deleteById(Object, long) - Static method in class jodd.db.oom.sqlgen.DbEntitySql
Creates DELETE query that deletes entity by ID.
descriptorsMap - Variable in class jodd.db.oom.DbOomManager
 
detachQuery(DbQueryBase) - Method in class jodd.db.DbSession
Detach used DbQuery.
detectDatabase(Connection) - Static method in class jodd.db.DbDetector
Detects database and returns DbDetector.Db.
detectDatabaseAndConfigureDbOom(ConnectionProvider) - Static method in class jodd.db.DbDetector
Detects database and configure DbOom engine.
DoubleSqlType - Class in jodd.db.type
 
DoubleSqlType() - Constructor for class jodd.db.type.DoubleSqlType
 
DriverManagerConnectionProvider - Class in jodd.db.connection
Driver manager connection provider;
DriverManagerConnectionProvider(String, String, String, String) - Constructor for class jodd.db.connection.DriverManagerConnectionProvider
 
DriverManagerConnectionProvider(String, String) - Constructor for class jodd.db.connection.DriverManagerConnectionProvider
 

E

elapsed - Variable in class jodd.db.oom.config.AutomagicDbOomConfigurator
 
entitiesCache - Variable in class jodd.db.oom.mapper.DefaultResultSetMapper
 
entity - Variable in class jodd.db.oom.sqlgen.chunks.TableChunk
 
entityAwareMode - Variable in class jodd.db.oom.DbOomManager
 
entityAwareMode - Variable in class jodd.db.oom.DbOomQuery
 
entityAwareMode(boolean) - Method in class jodd.db.oom.DbOomQuery
Defines entity-aware mode for entities tracking in result collection.
entityName - Variable in class jodd.db.oom.sqlgen.chunks.InsertChunk
 
entityName - Variable in class jodd.db.oom.sqlgen.chunks.TableChunk
 
entityNamesMap - Variable in class jodd.db.oom.DbOomManager
 
entityNameTerminator - Variable in class jodd.db.oom.naming.TableNamingStrategy
 
entityType - Variable in class jodd.db.oom.sqlgen.chunks.InsertChunk
 
equals(Object) - Method in class jodd.db.DbTransactionMode
 
equals(Object) - Method in class jodd.db.oom.DbEntityColumnDescriptor
 
execute() - Method in class jodd.db.debug.LoggableAdvice
 
executeAndBuildResultSetMapper() - Method in class jodd.db.oom.DbOomQuery
Executes the query and returns builded ResultSet mapper.

F

fetchSize - Variable in class jodd.db.DbManager
 
find(Object) - Method in class jodd.db.oom.dao.GenericDao
Finds list of entities matching given criteria.
find(Class<E>, Object) - Method in class jodd.db.oom.dao.GenericDao
Finds list of entities matching given criteria.
find(Class...) - Method in class jodd.db.oom.DbOomQuery
 
find() - Method in class jodd.db.oom.DbOomQuery
 
find(Class[], boolean, ResultSet) - Method in class jodd.db.oom.DbOomQuery
 
find(Class, Object) - Static method in class jodd.db.oom.sqlgen.DbEntitySql
Creates SELECT criteria for the entity matched by non-null values.
find(Object) - Static method in class jodd.db.oom.sqlgen.DbEntitySql
Creates SELECT criteria for the entity matched by non-null values.
findByAll(Object) - Static method in class jodd.db.oom.sqlgen.DbEntitySql
Creates SELECT criteria for the entity matched by all values.
findByColumn(Class, String, Object) - Static method in class jodd.db.oom.sqlgen.DbEntitySql
Creates SELECT criteria for the entity matched by column name
findByColumnName(String) - Method in class jodd.db.oom.DbEntityDescriptor
Finds column descriptor by column name.
findById(Class<E>, long) - Method in class jodd.db.oom.dao.GenericDao
Finds single entity by its id.
findById(Object) - Static method in class jodd.db.oom.sqlgen.DbEntitySql
Creates SELECT criteria for the entity matched by id.
findById(Object, long) - Static method in class jodd.db.oom.sqlgen.DbEntitySql
Creates SELECT criteria for the entity matched by id.
findByPropertyName(String) - Method in class jodd.db.oom.DbEntityDescriptor
Finds column descriptor by property name.
findColumnRef(String) - Method in class jodd.db.oom.sqlgen.chunks.SqlChunk
Finds for table that contains column,
findForeign(Class, Object) - Static method in class jodd.db.oom.sqlgen.DbEntitySql
Creates SELECT criteria for the entity matched by foreign key.
findGeneratedColumns(Class...) - Method in class jodd.db.oom.DbOomQuery
Finds generated columns.
findGeneratedKey(Class<T>) - Method in class jodd.db.oom.DbOomQuery
Finds generated key column of given type.
findOne(Object) - Method in class jodd.db.oom.dao.GenericDao
Finds one entity for given criteria.
findOneByProperty(Class<E>, String, Object) - Method in class jodd.db.oom.dao.GenericDao
Finds single entity by matching property.
findRelated(Class<E>, Object) - Method in class jodd.db.oom.dao.GenericDao
Finds related entity.
findTableDescriptorByColumnRef(String) - Method in class jodd.db.oom.sqlgen.TemplateData
Finds entity descriptor of a table that contains provided column reference.
firstChunk - Variable in class jodd.db.oom.sqlgen.DbSqlBuilder
 
FloatSqlType - Class in jodd.db.type
 
FloatSqlType() - Constructor for class jodd.db.type.FloatSqlType
 
forcePreparedStatement - Variable in class jodd.db.DbManager
 
from(Object) - Static method in class jodd.db.oom.sqlgen.DbEntitySql
Creates 'SELECT all FROM entity' part of the SQL query that can be easily extended.
from(Object, String) - Static method in class jodd.db.oom.sqlgen.DbEntitySql
 
from(Class) - Static method in class jodd.db.oom.sqlgen.DbEntitySql
 
from(Class, String) - Static method in class jodd.db.oom.sqlgen.DbEntitySql
 

G

generatedQuery - Variable in class jodd.db.oom.sqlgen.DbSqlBuilder
 
generatedQuery - Variable in class jodd.db.oom.sqlgen.ParsedSql
 
generateNextId(DbEntityDescriptor) - Method in class jodd.db.oom.dao.GenericDao
Generates next id for given type.
generateQuery() - Method in interface jodd.db.oom.DbSqlGenerator
Generates SQL query.
generateQuery() - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
Generates SQL query.
generateQuery() - Method in class jodd.db.oom.sqlgen.ParsedSql
 
GenericDao - Class in jodd.db.oom.dao
Generic DAO.
GenericDao() - Constructor for class jodd.db.oom.dao.GenericDao
 
get(Object) - Method in class jodd.db.oom.NamedValuesHashMap
 
get() - Static method in class jodd.db.ThreadDbSessionHolder
Returns current thread db session.
get(ResultSet, int, int) - Method in class jodd.db.type.BigDecimalSqlType
Returns value from result set.
get(ResultSet, int, int) - Method in class jodd.db.type.BigIntegerSqlType
Returns value from result set.
get(ResultSet, int, int) - Method in class jodd.db.type.BlobSqlType
Returns value from result set.
get(ResultSet, int, int) - Method in class jodd.db.type.BooleanSqlType
Returns value from result set.
get(ResultSet, int, int) - Method in class jodd.db.type.ByteArraySqlType
Returns value from result set.
get(ResultSet, int, int) - Method in class jodd.db.type.ByteSqlType
Returns value from result set.
get(ResultSet, int, int) - Method in class jodd.db.type.CharacterSqlType
Returns value from result set.
get(ResultSet, int, int) - Method in class jodd.db.type.ClobSqlType
Returns value from result set.
get(ResultSet, int, int) - Method in class jodd.db.type.DateSqlType
Returns value from result set.
get(ResultSet, int, int) - Method in class jodd.db.type.DoubleSqlType
Returns value from result set.
get(ResultSet, int, int) - Method in class jodd.db.type.FloatSqlType
Returns value from result set.
get(ResultSet, int, int) - Method in class jodd.db.type.IntegerSqlType
Returns value from result set.
get(ResultSet, int, int) - Method in class jodd.db.type.JDateTimeSqlType
 
get(ResultSet, int, int) - Method in class jodd.db.type.LongSqlType
Returns value from result set.
get(ResultSet, int, int) - Method in class jodd.db.type.ShortSqlType
Returns value from result set.
get(ResultSet, int, int) - Method in class jodd.db.type.SqlArraySqlType
Returns value from result set.
get(ResultSet, int, int) - Method in class jodd.db.type.SqlDateSqlType
Returns value from result set.
get(ResultSet, int, int) - Method in class jodd.db.type.SqlRefSqlType
Returns value from result set.
get(ResultSet, int, int) - Method in class jodd.db.type.SqlType
Returns value from result set.
get(ResultSet, int, int) - Method in class jodd.db.type.StringSqlType
Returns value from result set.
get(ResultSet, int, int) - Method in class jodd.db.type.TimeSqlType
Returns value from result set.
get(ResultSet, int, int) - Method in class jodd.db.type.TimestampSqlType
Returns value from result set.
get(ResultSet, int, int) - Method in class jodd.db.type.URLSqlType
Returns value from result set.
getAllBoolean(String) - Method in class jodd.db.DbCallResult
 
getAllByte(String) - Method in class jodd.db.DbCallResult
 
getAllDouble(String) - Method in class jodd.db.DbCallResult
 
getAllFloat(String) - Method in class jodd.db.DbCallResult
 
getAllInteger(String) - Method in class jodd.db.DbCallResult
 
getAllString(String) - Method in class jodd.db.DbCallResult
 
getAvailableCount() - Method in class jodd.db.pool.CoreConnectionPool.SizeSnapshot
Returns number of available connections.
getBoolean(int) - Method in class jodd.db.DbCallResult
 
getBoolean(String) - Method in class jodd.db.DbCallResult
 
getBusyCount() - Method in class jodd.db.pool.CoreConnectionPool.SizeSnapshot
Returns number of busy connections.
getByte(int) - Method in class jodd.db.DbCallResult
 
getByte(String) - Method in class jodd.db.DbCallResult
 
getColumnAliasSeparator() - Method in class jodd.db.oom.DbOomManager
Returns value for separator for column aliases that divides table reference and column name.
getColumnAliasType() - Method in class jodd.db.oom.sqlgen.TemplateData
Returns column alias type.
getColumnData() - Method in interface jodd.db.oom.DbSqlGenerator
Returns an optional map of table and column names, used by ResultSetMapper.
getColumnData() - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
Returns an optional map of table and column names, used by ResultSetMapper.
getColumnData() - Method in class jodd.db.oom.sqlgen.ParsedSql
 
getColumnDescriptor() - Method in class jodd.db.oom.sqlgen.ParameterValue
 
getColumnDescriptors() - Method in class jodd.db.oom.DbEntityDescriptor
Returns the array of column descriptors.
getColumnName() - Method in class jodd.db.oom.ColumnData
Returns column name for this column.
getColumnName() - Method in class jodd.db.oom.DbEntityColumnDescriptor
Returns column name.
getColumnName(String) - Method in class jodd.db.oom.DbEntityDescriptor
Returns column name for specified property name..
getColumnNames() - Method in class jodd.db.oom.DbOomManager
Returns current column name strategy.
getColumnsCount() - Method in class jodd.db.oom.DbEntityDescriptor
Returns total number of columns.
getConcurrencyType() - Method in class jodd.db.DbManager
 
getConnection() - Method in class jodd.db.connection.ConnectionPoolDataSourceConnectionProvider
 
getConnection() - Method in interface jodd.db.connection.ConnectionProvider
Returns a connection from connection pool.
getConnection() - Method in class jodd.db.connection.DataSourceConnectionProvider
 
getConnection() - Method in class jodd.db.connection.DriverManagerConnectionProvider
 
getConnection() - Method in class jodd.db.connection.XADataSourceConnectionProvider
 
getConnection() - Method in class jodd.db.DbSession
Returns current connection.
getConnection() - Method in class jodd.db.pool.CoreConnectionPool
Returns a connection from connection pool.
getConnectionProvider() - Method in class jodd.db.DbManager
 
getConnectionsCount() - Method in class jodd.db.pool.CoreConnectionPool
Returns connection stats.
getCurrentSession() - Static method in class jodd.db.DbThreadSession
Returns current thread session or null if no session is assigned to a thread.
getDbEntityDescriptor() - Method in class jodd.db.oom.DbEntityColumnDescriptor
Returns DbEntityDescriptor that this column description belongs to.
getDbOomManager() - Method in class jodd.db.oom.sqlgen.TemplateData
Returns associated DbOomManager.
getDbSession() - Method in interface jodd.db.DbSessionProvider
Returns DbSession.
getDbSession() - Method in class jodd.db.jtx.DbJtxSessionProvider
Returns session from JTX transaction manager and started transaction.
getDbSession() - Method in class jodd.db.ThreadDbSessionProvider
Returns DbSession.
getDbSqlType() - Method in class jodd.db.oom.DbEntityColumnDescriptor
Returns db sql type.
getDefaultColumnAliasType() - Method in class jodd.db.oom.DbOomManager
 
getDouble(int) - Method in class jodd.db.DbCallResult
 
getDouble(String) - Method in class jodd.db.DbCallResult
 
getDriver() - Method in class jodd.db.pool.CoreConnectionPool
 
getElapsed() - Method in class jodd.db.oom.config.AutomagicDbOomConfigurator
Return elapsed number of milliseconds for configuration.
getEntityName() - Method in class jodd.db.oom.DbEntityDescriptor
Returns type name.
getEntityNameTerminator() - Method in class jodd.db.oom.naming.TableNamingStrategy
 
getFetchSize() - Method in class jodd.db.DbManager
 
getFirstInt(ResultSet) - Static method in class jodd.db.DbUtil
Returns int value of very first column in result set.
getFirstLong(ResultSet) - Static method in class jodd.db.DbUtil
Returns long value of very first column in result set.
getFloat(int) - Method in class jodd.db.DbCallResult
 
getFloat(String) - Method in class jodd.db.DbCallResult
 
getHintResolver() - Method in class jodd.db.oom.DbOomManager
 
getHoldability() - Method in class jodd.db.DbManager
 
getIdColumnName() - Method in class jodd.db.oom.DbEntityDescriptor
Returns the identity column name of column marked as identity.
getIdColumnsCount() - Method in class jodd.db.oom.DbEntityDescriptor
Returns total number of identity columns.
getIdPropertyName() - Method in class jodd.db.oom.DbEntityDescriptor
Returns the first property name of column marked as identity.
getIdValue(E) - Method in class jodd.db.oom.DbEntityDescriptor
Returns ID value for given entity instance.
getInstance() - Static method in class jodd.db.DbManager
Returns instance of DbManager.
getInstance() - Static method in class jodd.db.oom.DbOomManager
Returns DbOom manager instance.
getInteger(int) - Method in class jodd.db.DbCallResult
 
getInteger(String) - Method in class jodd.db.DbCallResult
 
getIsolation() - Method in class jodd.db.DbTransactionMode
Returns isolation level.
getJoinHints() - Method in interface jodd.db.oom.DbSqlGenerator
Returns join hints.
getJoinHints() - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
Returns join hints.
getJoinHints() - Method in class jodd.db.oom.sqlgen.ParsedSql
 
getKeyValue(E) - Method in class jodd.db.oom.DbEntityDescriptor
Returns unique key for this entity.
getManager() - Method in class jodd.db.oom.DbOomQuery
Returns used ORM manager.
getMappedTypes() - Method in class jodd.db.oom.DbEntityDescriptor
Returns mapped types.
getMaxConnections() - Method in class jodd.db.pool.CoreConnectionPool
 
getMaxRows() - Method in class jodd.db.DbManager
Returns default value for max rows.
getMessage() - Method in exception jodd.db.oom.sqlgen.DbSqlBuilderException
 
getMinConnections() - Method in class jodd.db.pool.CoreConnectionPool
 
getNextChunk() - Method in class jodd.db.oom.sqlgen.chunks.SqlChunk
Returns next chunk.
getNextParameterName() - Method in class jodd.db.oom.sqlgen.TemplateData
Returns the next auto-generated parameter name.
getObjectReference(String) - Method in class jodd.db.oom.sqlgen.TemplateData
Returns object reference.
getPassword() - Method in class jodd.db.pool.CoreConnectionPool
 
getPrefix() - Method in class jodd.db.oom.naming.TableNamingStrategy
 
getPreviousChunk() - Method in class jodd.db.oom.sqlgen.chunks.SqlChunk
Returns previous chunk.
getPrimitiveEntitiesPrefixes() - Method in class jodd.db.oom.DbOomManager
 
getPropertyName() - Method in class jodd.db.oom.DbEntityColumnDescriptor
Returns property name.
getPropertyName(String) - Method in class jodd.db.oom.DbEntityDescriptor
Returns property name for specified column name.
getPropertyType() - Method in class jodd.db.oom.DbEntityColumnDescriptor
Returns property type.
getProps() - Method in class jodd.db.querymap.DbPropsQueryMap
Returns Props for additional fine tuning.
getProxetta() - Static method in class jodd.db.debug.LoggablePreparedStatementFactory
Returns WrapperProxetta used for building loggable prepared statements.
getQuery(String) - Method in class jodd.db.querymap.DbPropsQueryMap
Returns query for given key.
getQuery(String) - Method in interface jodd.db.querymap.QueryMap
Returns query for given key.
getQueryMap() - Method in class jodd.db.DbManager
Returns QueryMap instance.
getQueryParameters() - Method in interface jodd.db.oom.DbSqlGenerator
Returns a map of SQL parameters used by generated query.
getQueryParameters() - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
 
getQueryParameters() - Method in class jodd.db.oom.sqlgen.ParsedSql
 
getQueryString() - Method in class jodd.db.debug.LoggableAdvice
Returns the query string.
getQueryString(PreparedStatement) - Static method in class jodd.db.debug.LoggablePreparedStatementFactory
Returns the query string from loggable prepared statement.
getQueryStringMethod - Static variable in class jodd.db.debug.LoggablePreparedStatementFactory
 
getResourceType() - Method in class jodd.db.jtx.DbJtxResourceManager
getResultSet() - Method in class jodd.db.oom.mapper.BaseResultSetMapper
Return JDBC result set.
getResultSet() - Method in interface jodd.db.oom.mapper.ResultSetMapper
Return JDBC result set.
getSchemaName() - Method in class jodd.db.oom.DbEntityDescriptor
Returns schema name or null if not available.
getSessionProvider() - Method in class jodd.db.DbManager
 
getSqlTypeClass() - Method in class jodd.db.oom.DbEntityColumnDescriptor
Returns SqlType or null for default type.
getString(int) - Method in class jodd.db.DbCallResult
 
getString(String) - Method in class jodd.db.DbCallResult
 
getSuffix() - Method in class jodd.db.oom.naming.TableNamingStrategy
 
getTableAlias(String) - Method in class jodd.db.oom.sqlgen.TemplateData
Returns table alias for provided table reference.
getTableDescriptor(String) - Method in class jodd.db.oom.sqlgen.TemplateData
Returns entity descriptor for provided table reference.
getTableName() - Method in class jodd.db.oom.ColumnData
Returns table name for this column.
getTableName() - Method in class jodd.db.oom.DbEntityDescriptor
Returns table name to which the entity is mapped.
getTableNames() - Method in class jodd.db.oom.DbOomManager
Returns current table name strategy.
getThreadSession() - Static method in class jodd.db.DbThreadSession
Returns existing thread session, or new one if already not exist.
getTotalCount() - Method in class jodd.db.pool.CoreConnectionPool.SizeSnapshot
Returns total number of connections.
getTotalNames() - Method in class jodd.db.oom.DbOomManager
Returns total number of registered entity names.
getTotalQueries() - Method in class jodd.db.DbSession
Returns total number of queries assigned to this session.
getTotalTableNames() - Method in class jodd.db.oom.DbOomManager
Returns total number of registered table names.
getTotalTypes() - Method in class jodd.db.oom.DbOomManager
Returns total number of registered types.
getTransactionMode() - Method in class jodd.db.DbManager
 
getType() - Method in class jodd.db.DbManager
 
getType() - Method in class jodd.db.oom.DbEntityDescriptor
Returns entity type.
getUrl() - Method in class jodd.db.pool.CoreConnectionPool
 
getUser() - Method in class jodd.db.pool.CoreConnectionPool
 
getValidationQuery() - Method in class jodd.db.pool.CoreConnectionPool
 
getValidationTimeout() - Method in class jodd.db.pool.CoreConnectionPool
 
getValue() - Method in class jodd.db.oom.sqlgen.ParameterValue
 

H

hashCode() - Method in class jodd.db.DbTransactionMode
 
hashCode() - Method in class jodd.db.oom.DbEntityColumnDescriptor
 
hasHints() - Method in class jodd.db.oom.sqlgen.TemplateData
Returns true if there are hints.
hasIdColumn() - Method in class jodd.db.oom.DbEntityDescriptor
Returns true if entity has one ID column.
hint - Variable in class jodd.db.oom.sqlgen.chunks.ColumnsSelectChunk
 
hintCount - Variable in class jodd.db.oom.sqlgen.TemplateData
 
hintResolver - Variable in class jodd.db.oom.DbOomManager
 
hintResolver - Variable in class jodd.db.oom.DbOomQuery
 
hints - Variable in class jodd.db.oom.DbOomQuery
 
hints - Variable in class jodd.db.oom.sqlgen.TemplateData
 
holdability - Variable in class jodd.db.DbManager
 

I

includeColumns - Variable in class jodd.db.oom.sqlgen.chunks.ColumnsSelectChunk
 
includeColumns - Variable in class jodd.db.oom.sqlgen.chunks.MatchChunk
 
includeColumns - Variable in class jodd.db.oom.sqlgen.chunks.UpdateSetChunk
 
increaseColumn(Class, long, String, Number, boolean) - Static method in class jodd.db.oom.sqlgen.DbEntitySql
Creates UPDATE that increases/decreases column by some delta value.
increaseProperty(Class, long, String, Number) - Method in class jodd.db.oom.dao.GenericDao
Increases a property.
incrementHintsCount() - Method in class jodd.db.oom.sqlgen.TemplateData
Increments hints count.
init() - Method in class jodd.db.connection.ConnectionPoolDataSourceConnectionProvider
 
init() - Method in interface jodd.db.connection.ConnectionProvider
Initialize the connection provider.
init() - Method in class jodd.db.connection.DataSourceConnectionProvider
 
init() - Method in class jodd.db.connection.DriverManagerConnectionProvider
 
init() - Method in class jodd.db.connection.XADataSourceConnectionProvider
 
init() - Static method in class jodd.db.JoddDb
 
init() - Method in class jodd.db.oom.DbEntityDescriptor
Lazy initialization of descriptor.
init(TemplateData) - Method in class jodd.db.oom.sqlgen.chunks.ColumnsSelectChunk
Counts actual real hints.
init(TemplateData) - Method in class jodd.db.oom.sqlgen.chunks.SqlChunk
Initializes chunk.
init(TemplateData) - Method in class jodd.db.oom.sqlgen.chunks.TableChunk
Resolves and registers table references.
init() - Method in class jodd.db.pool.CoreConnectionPool
Initialize the connection provider.
initialCollectionSize(int) - Static method in class jodd.db.oom.DbOomUtil
Returns initial collections size when max value is provided.
insert(Object) - Static method in class jodd.db.oom.sqlgen.DbEntitySql
Creates INSERT query for the entity.
insert(String, Object) - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
 
insert(Class, Object) - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
 
insert(Object) - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
 
InsertChunk - Class in jodd.db.oom.sqlgen.chunks
Renders complete INSERT statement.
InsertChunk(String, Object) - Constructor for class jodd.db.oom.sqlgen.chunks.InsertChunk
 
InsertChunk(Class, Object) - Constructor for class jodd.db.oom.sqlgen.chunks.InsertChunk
 
InsertChunk(String, Class, Object) - Constructor for class jodd.db.oom.sqlgen.chunks.InsertChunk
 
insertChunkAfter(SqlChunk) - Method in class jodd.db.oom.sqlgen.chunks.SqlChunk
Appends chunk to previous one and maintains the double-linked list of the previous chunk.
IntegerSqlType - Class in jodd.db.type
 
IntegerSqlType() - Constructor for class jodd.db.type.IntegerSqlType
 
isAnnotated() - Method in class jodd.db.oom.DbEntityDescriptor
Returns true if type is annotated with DbTable.
isCacheEntitiesInResultSet() - Method in class jodd.db.oom.DbOomManager
 
isDebug() - Method in class jodd.db.DbManager
 
isEmptyColumnValue(DbEntityColumnDescriptor, Object) - Static method in class jodd.db.oom.DbOomUtil
Returns true if a value is considered empty i.e. not existing.
isEntityAwareMode() - Method in class jodd.db.oom.DbOomManager
Returns true if entity-aware mode is enabled.
isForcePreparedStatement() - Method in class jodd.db.DbManager
 
isId - Variable in class jodd.db.oom.DbEntityColumnDescriptor
 
isId() - Method in class jodd.db.oom.DbEntityColumnDescriptor
Returns true if column is ID column.
isIntegerType(int) - Static method in class jodd.db.type.TypesUtil
Returns true if type is some integer-like type: INTEGER, SMALLINT, TINYINT, BIT.
isKeysGeneratedByDatabase() - Method in class jodd.db.oom.dao.GenericDao
Returns true if keys are auto-generated by database.
ISOLATION_DEFAULT - Static variable in class jodd.db.DbTransactionMode
Default isolation.
ISOLATION_NONE - Static variable in class jodd.db.DbTransactionMode
 
ISOLATION_READ_COMMITTED - Static variable in class jodd.db.DbTransactionMode
 
ISOLATION_READ_UNCOMMITTED - Static variable in class jodd.db.DbTransactionMode
 
ISOLATION_REPEATABLE_READ - Static variable in class jodd.db.DbTransactionMode
 
ISOLATION_SERIALIZABLE - Static variable in class jodd.db.DbTransactionMode
 
isPersistent(DbEntityDescriptor<E>, E) - Method in class jodd.db.oom.dao.GenericDao
Returns true if entity is persistent.
isPreviousChunkOfSameType() - Method in class jodd.db.oom.sqlgen.chunks.SqlChunk
Returns true if previous chunk is of the same type.
isPreviousChunkOfType(int) - Method in class jodd.db.oom.sqlgen.chunks.SqlChunk
Returns true if previous chunk is of provided type.
isPreviousMacroChunk() - Method in class jodd.db.oom.sqlgen.chunks.SqlChunk
Returns true if previous chunk is not raw.
isPreviousRawChunk() - Method in class jodd.db.oom.sqlgen.chunks.SqlChunk
 
isReadOnly() - Method in class jodd.db.DbTransactionMode
 
isRegistered(Class) - Method in class jodd.db.oom.DbOomManager
Returns true if type is registered withing manager.
isSessionClosed() - Method in class jodd.db.DbSession
Indicates whether a session is closed.
isSessionOpen() - Method in class jodd.db.DbSession
Returns true if session is open.
isStringType(int) - Static method in class jodd.db.type.TypesUtil
Returns true if type is some string-like type: CHAR, VARCHAR.
isTransactionActive() - Method in class jodd.db.DbSession
Indicate whether a transaction is in progress.
isValidateConnection() - Method in class jodd.db.pool.CoreConnectionPool
 
isWaitIfBusy() - Method in class jodd.db.pool.CoreConnectionPool
 
iterate(Class...) - Method in class jodd.db.oom.DbOomQuery
 
iterate() - Method in class jodd.db.oom.DbOomQuery
 
iterate(Class[], boolean) - Method in class jodd.db.oom.DbOomQuery
 

J

JDateTimeSqlType - Class in jodd.db.type
JDateTime sql type stores JDateTime data as number of milliseconds passed from 1970.
JDateTimeSqlType() - Constructor for class jodd.db.type.JDateTimeSqlType
 
jodd.db - package jodd.db
Simple and safe database access.
jodd.db.connection - package jodd.db.connection
Various database connection providers.
jodd.db.debug - package jodd.db.debug
Various database debugging tools.
jodd.db.jtx - package jodd.db.jtx
Database extension for propagated transactions.
jodd.db.oom - package jodd.db.oom
DB OOM suite.
jodd.db.oom.config - package jodd.db.oom.config
DbOom configurators and configuration helper methods.
jodd.db.oom.dao - package jodd.db.oom.dao
Generic DAO.
jodd.db.oom.mapper - package jodd.db.oom.mapper
ResultSet to objects mappers.
jodd.db.oom.meta - package jodd.db.oom.meta
DbOom annotations.
jodd.db.oom.naming - package jodd.db.oom.naming
DB OOM naming convention strategies.
jodd.db.oom.sqlgen - package jodd.db.oom.sqlgen
Various query generators.
jodd.db.oom.sqlgen.chunks - package jodd.db.oom.sqlgen.chunks
DbSqlBuilder query chunks.
jodd.db.pool - package jodd.db.pool
Various custom database pool implementations.
jodd.db.querymap - package jodd.db.querymap
Storage for queries.
jodd.db.type - package jodd.db.type
Database types for converstion to and from result set.
JoddDb - Class in jodd.db
Jodd DB module.
JoddDb() - Constructor for class jodd.db.JoddDb
 
join(Object[], String) - Method in class jodd.db.oom.JoinHintResolver
 
join(Object[], String[]) - Method in class jodd.db.oom.JoinHintResolver
Joins entity array using provided string hints.
JoinHintResolver - Class in jodd.db.oom
Joins an array of objects using provided hints.
JoinHintResolver() - Constructor for class jodd.db.oom.JoinHintResolver
 
joinHints - Variable in class jodd.db.oom.sqlgen.ParsedSql
 
JtxDbUtil - Class in jodd.db.jtx
Helpers for jtx db.
JtxDbUtil() - Constructor for class jodd.db.jtx.JtxDbUtil
 
jtxTxManager - Variable in class jodd.db.jtx.DbJtxSessionProvider
 

K

keysGeneratedByDatabase - Variable in class jodd.db.oom.dao.GenericDao
 

L

lastChunk - Variable in class jodd.db.oom.sqlgen.DbSqlBuilder
 
lastColumnDec - Variable in class jodd.db.oom.sqlgen.TemplateData
 
list(Class...) - Method in class jodd.db.oom.DbOomQuery
 
list() - Method in class jodd.db.oom.DbOomQuery
 
list(int, Class...) - Method in class jodd.db.oom.DbOomQuery
 
list(int) - Method in class jodd.db.oom.DbOomQuery
 
list(Class[], int, boolean) - Method in class jodd.db.oom.DbOomQuery
Iterates result set, maps rows to classes and populates resulting array list.
listAll(Class<E>) - Method in class jodd.db.oom.dao.GenericDao
List all entities.
listSet(Class...) - Method in class jodd.db.oom.DbOomQuery
 
listSet() - Method in class jodd.db.oom.DbOomQuery
 
listSet(int, Class...) - Method in class jodd.db.oom.DbOomQuery
 
listSet(int) - Method in class jodd.db.oom.DbOomQuery
 
listSet(Class[], int, boolean) - Method in class jodd.db.oom.DbOomQuery
 
load() - Method in class jodd.db.querymap.DbPropsQueryMap
(Re)loads the query map.
load() - Method in interface jodd.db.querymap.QueryMap
(Re)loads the query map.
LoggableAdvice - Class in jodd.db.debug
Loggable advice over java.sql.PreparedStatement.
LoggableAdvice() - Constructor for class jodd.db.debug.LoggableAdvice
 
LoggablePreparedStatementFactory - Class in jodd.db.debug
Factory for loggable prepared statements - a PreparedStatement with added logging capability.
LoggablePreparedStatementFactory() - Constructor for class jodd.db.debug.LoggablePreparedStatementFactory
 
LongSqlType - Class in jodd.db.type
 
LongSqlType() - Constructor for class jodd.db.type.LongSqlType
 
lookup(Class) - Static method in class jodd.db.type.SqlTypeManager
Retrieves SQL type for provided type.
lookupName(String) - Method in class jodd.db.oom.DbOomManager
Lookups for DbEntityDescriptor that was registered with this manager.
lookupName(String) - Method in class jodd.db.oom.sqlgen.chunks.SqlChunk
Lookups for entity name and throws exception if entity name not found.
lookupName(String) - Method in class jodd.db.oom.sqlgen.TemplateData
Lookups for entity name and throws exception if entity name not found.
lookupObject(String) - Method in class jodd.db.oom.sqlgen.TemplateData
Lookups for object reference and throws an exception if reference doesn't exist.
lookupSqlType(Class<? extends SqlType>) - Static method in class jodd.db.type.SqlTypeManager
Returns sql type instance.
lookupTableName(String) - Method in class jodd.db.oom.DbOomManager
Lookups for DbEntityDescriptor that was registered with this manager.
lookupTableRef(String) - Method in class jodd.db.oom.sqlgen.chunks.SqlChunk
Lookups for table reference and throws an exception if table reference not found.
lookupTableRef(String, boolean) - Method in class jodd.db.oom.sqlgen.chunks.SqlChunk
Lookups for table reference and optionally throws an exception if table reference not found.
lookupTableRef(String) - Method in class jodd.db.oom.sqlgen.TemplateData
Lookups for table reference and throws an exception if table reference not found.
lookupType(Class<E>) - Method in class jodd.db.oom.DbOomManager
Lookups DbEntityDescriptor for some type and registers the type if is new.
lookupType(Class) - Method in class jodd.db.oom.sqlgen.chunks.SqlChunk
Lookups for entity name and throws an exception if entity type is invalid.
lookupType(Class) - Method in class jodd.db.oom.sqlgen.TemplateData
Lookups for entity name and throws an exception if entity type is invalid.

M

match(String, Object) - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
Creates condition part of the query only for existing columns.
match(String, String) - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
 
match(String) - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
 
matchAll(String, Object) - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
Creates condition part of the query for all columns, including the null values.
matchAll(String, String) - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
 
MatchChunk - Class in jodd.db.oom.sqlgen.chunks
Renders condition part of the sql query based on values in provided entity object.
MatchChunk(String, Object, int) - Constructor for class jodd.db.oom.sqlgen.chunks.MatchChunk
 
MatchChunk(String, String, int) - Constructor for class jodd.db.oom.sqlgen.chunks.MatchChunk
 
MatchChunk(String, String, Object, int) - Constructor for class jodd.db.oom.sqlgen.chunks.MatchChunk
 
MatchChunk(String) - Constructor for class jodd.db.oom.sqlgen.chunks.MatchChunk
 
matchIds(String, Object) - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
Creates condition part of the query for id columns
matchIds(String, String) - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
 
maxRows - Variable in class jodd.db.DbManager
 

N

name - Variable in class jodd.db.oom.sqlgen.chunks.ValueChunk
 
NamedValuesHashMap<V> - Class in jodd.db.oom
HashMap with String keys that are case-insensitive.
NamedValuesHashMap() - Constructor for class jodd.db.oom.NamedValuesHashMap
 
next() - Method in class jodd.db.oom.mapper.BaseResultSetMapper
Moves the cursor down one row from its current position.
next() - Method in interface jodd.db.oom.mapper.ResultSetMapper
Moves the cursor down one row from its current position.
nextChunk - Variable in class jodd.db.oom.sqlgen.chunks.SqlChunk
 
NullAwareSqlType<T> - Class in jodd.db.type
Null-aware sql types.
NullAwareSqlType() - Constructor for class jodd.db.type.NullAwareSqlType
 

O

objectRef - Variable in class jodd.db.oom.sqlgen.chunks.MatchChunk
 
objectRefs - Variable in class jodd.db.oom.sqlgen.TemplateData
 
objReference - Variable in class jodd.db.oom.sqlgen.chunks.ValueChunk
 
onEntry(ClassFinder.EntryData) - Method in class jodd.db.oom.config.AutomagicDbOomConfigurator
Scans all classes and registers only those annotated with DbTable.
onlyId - Variable in class jodd.db.oom.sqlgen.chunks.ReferenceChunk
 
openConnectionForQuery() - Method in class jodd.db.DbSession
Opens connection in auto-commit mode, if already not opened.
openTx() - Method in class jodd.db.DbSession
Opens a transaction.
outBoolean(int) - Method in class jodd.db.DbQuery
 
outBoolean(String) - Method in class jodd.db.DbQuery
 
outByte(int) - Method in class jodd.db.DbQuery
 
outByte(String) - Method in class jodd.db.DbQuery
 
outDouble(int) - Method in class jodd.db.DbQuery
 
outDouble(String) - Method in class jodd.db.DbQuery
 
outFloat(int) - Method in class jodd.db.DbQuery
 
outFloat(String) - Method in class jodd.db.DbQuery
 
outInteger(int) - Method in class jodd.db.DbQuery
 
outInteger(String) - Method in class jodd.db.DbQuery
 
outString(int) - Method in class jodd.db.DbQuery
 
outString(String) - Method in class jodd.db.DbQuery
 

P

paramCount - Variable in class jodd.db.oom.sqlgen.TemplateData
 
parameters - Variable in class jodd.db.oom.sqlgen.TemplateData
 
ParameterValue - Class in jodd.db.oom.sqlgen
ParameterValue(Object, DbEntityColumnDescriptor) - Constructor for class jodd.db.oom.sqlgen.ParameterValue
 
parameterValues - Variable in class jodd.db.debug.LoggableAdvice
Used for storing parameter values needed for producing log.
parse() - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
Builds the query and returns parsed data.
ParsedSql - Class in jodd.db.oom.sqlgen
Simple holder of parsed SQL data.
ParsedSql(DbSqlGenerator) - Constructor for class jodd.db.oom.sqlgen.ParsedSql
 
parseObjects(Class...) - Method in class jodd.db.oom.mapper.DefaultResultSetMapper
Parse objects from one result set row to specified types.
parseObjects(Class...) - Method in interface jodd.db.oom.mapper.ResultSetMapper
Parse objects from one result set row to specified types.
parseOneObject(Class...) - Method in class jodd.db.oom.mapper.BaseResultSetMapper
Parse single object from result set row to specified type.
parseOneObject(Class...) - Method in interface jodd.db.oom.mapper.ResultSetMapper
Parse single object from result set row to specified type.
patterns - Variable in class jodd.db.querymap.DbPropsQueryMap
 
populateGeneratedKeys(Object, DbOomQuery) - Static method in class jodd.db.oom.DbOomUtil
Populates entity with generated column values from executed query.
prefix - Variable in class jodd.db.oom.naming.TableNamingStrategy
 
prepareGetValue(T, Class<E>) - Method in class jodd.db.type.SqlType
Once when value is read from result set, prepare it to match destination type.
prepareQuery() - Method in class jodd.db.oom.DbOomQuery
Prepares the query after initialization.
preprocessSql(String) - Method in class jodd.db.DbQuery
Pre-process SQL before using it.
previousChunk - Variable in class jodd.db.oom.sqlgen.chunks.SqlChunk
 
primitiveEntitiesPrefixes - Variable in class jodd.db.oom.DbOomManager
 
process(StringBuilder) - Method in class jodd.db.oom.sqlgen.chunks.ColumnsSelectChunk
 
process(StringBuilder) - Method in class jodd.db.oom.sqlgen.chunks.InsertChunk
 
process(StringBuilder) - Method in class jodd.db.oom.sqlgen.chunks.MatchChunk
 
process(StringBuilder) - Method in class jodd.db.oom.sqlgen.chunks.RawSqlChunk
 
process(StringBuilder) - Method in class jodd.db.oom.sqlgen.chunks.ReferenceChunk
 
process(StringBuilder) - Method in class jodd.db.oom.sqlgen.chunks.SqlChunk
Process the chunk and appends data to the output.
process(StringBuilder) - Method in class jodd.db.oom.sqlgen.chunks.TableChunk
 
process(StringBuilder) - Method in class jodd.db.oom.sqlgen.chunks.UpdateSetChunk
 
process(StringBuilder) - Method in class jodd.db.oom.sqlgen.chunks.ValueChunk
 
process(ResultSet) - Method in interface jodd.db.QueryMapper
Processes single result sets row.
propertyName - Variable in class jodd.db.oom.DbEntityColumnDescriptor
 
propertyType - Variable in class jodd.db.oom.DbEntityColumnDescriptor
 
props - Variable in class jodd.db.querymap.DbPropsQueryMap
 
proxetta - Static variable in class jodd.db.debug.LoggablePreparedStatementFactory
 
put(String, V) - Method in class jodd.db.oom.NamedValuesHashMap
 

Q

queries - Variable in class jodd.db.DbSession
Bag of all queries attached to this session.
query(Connection, String) - Static method in class jodd.db.oom.DbOomQuery
 
query(DbSession, String) - Static method in class jodd.db.oom.DbOomQuery
 
query(String) - Static method in class jodd.db.oom.DbOomQuery
 
query(Connection, DbSqlGenerator) - Static method in class jodd.db.oom.DbOomQuery
 
query(DbSession, DbSqlGenerator) - Static method in class jodd.db.oom.DbOomQuery
 
query(DbSqlGenerator) - Static method in class jodd.db.oom.DbOomQuery
 
query() - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
Returns DbOomQuery instance for more fluent interface.
query(DbSession) - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
 
queryMap - Variable in class jodd.db.DbManager
 
QueryMap - Interface in jodd.db.querymap
Storage of SQL queries.
QueryMapper<T> - Interface in jodd.db
Process query and map it execution result to a type.
queryParameters - Variable in class jodd.db.oom.sqlgen.ParsedSql
 
queryString - Variable in exception jodd.db.oom.sqlgen.DbSqlBuilderException
 

R

RawSqlChunk - Class in jodd.db.oom.sqlgen.chunks
Simply holds hard-coded SQL string that will be appended to the result.
RawSqlChunk(String) - Constructor for class jodd.db.oom.sqlgen.chunks.RawSqlChunk
 
READ_ONLY - Static variable in class jodd.db.DbTransactionMode
 
READ_WRITE - Static variable in class jodd.db.DbTransactionMode
 
readColumnValue(int, Class, Class<? extends SqlType>, int) - Method in class jodd.db.oom.mapper.DefaultResultSetMapper
Reads column value from result set.
readValue(ResultSet, int, Class<E>, int) - Method in class jodd.db.type.NullAwareSqlType
Detects if there was a null reading and returns null if it was.
readValue(ResultSet, int, Class<E>, int) - Method in class jodd.db.type.SqlType
Reads value from database.
ref(String) - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
 
ref(String, String) - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
 
ReferenceChunk - Class in jodd.db.oom.sqlgen.chunks
Resolves column and table references.
ReferenceChunk(String, String) - Constructor for class jodd.db.oom.sqlgen.chunks.ReferenceChunk
 
ReferenceChunk(String, String, boolean) - Constructor for class jodd.db.oom.sqlgen.chunks.ReferenceChunk
 
ReferenceChunk(String) - Constructor for class jodd.db.oom.sqlgen.chunks.ReferenceChunk
 
refId(String) - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
 
register(Class, Class<? extends SqlType>) - Static method in class jodd.db.type.SqlTypeManager
Registers sql type for provided type.
registerAsEntities - Variable in class jodd.db.oom.config.AutomagicDbOomConfigurator
 
registerColumnDataForColumnCode(String, String) - Method in class jodd.db.oom.sqlgen.TemplateData
 
registerColumnDataForTableRef(String, String) - Method in class jodd.db.oom.sqlgen.TemplateData
 
registerDefaults() - Static method in class jodd.db.type.SqlTypeManager
Registers default set of SQL types.
registerEntity(Class<E>) - Method in class jodd.db.oom.DbOomManager
Registers entity.
registerEntity(Class<E>, boolean) - Method in class jodd.db.oom.DbOomManager
Registers entity.
registerHint(String) - Method in class jodd.db.oom.sqlgen.TemplateData
Registers a hint.
registerTableReference(String, DbEntityDescriptor, String) - Method in class jodd.db.oom.sqlgen.TemplateData
Registers table reference for provided entity.
registerType(Class<E>) - Method in class jodd.db.oom.DbOomManager
Registers just type and entity names.
remove() - Static method in class jodd.db.ThreadDbSessionHolder
Removes current db session from the thread and returns it.
removeEntity(Class<E>) - Method in class jodd.db.oom.DbOomManager
Removes entity and returns removed descriptor.
requestResource() - Method in class jodd.db.jtx.DbJtxTransaction
 
requestTransaction(JtxTransactionMode) - Method in class jodd.db.jtx.DbJtxTransactionManager
requestTransaction(JtxTransactionMode, Object) - Method in class jodd.db.jtx.DbJtxTransactionManager
reset() - Method in class jodd.db.oom.DbOomManager
Resets the manager and clears descriptors maps.
reset() - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
Resets the builder (soft reset), so it can be used again.
resetAll() - Static method in class jodd.db.DbManager
Resets all settings to default by creating a new DbManager instance.
resetAll() - Static method in class jodd.db.oom.DbOomManager
Resets DbOom Manager to defaults.
resetAll() - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
Hard reset of the builder, all configuration is reset.
resetHard() - Method in class jodd.db.oom.sqlgen.TemplateData
 
resetSoft() - Method in class jodd.db.oom.sqlgen.TemplateData
Resets the builder so it can be used again.
resolveClass(Object) - Static method in class jodd.db.oom.sqlgen.chunks.SqlChunk
Resolves object to a class.
resolveColumnDbSqlType(Connection, DbEntityColumnDescriptor) - Method in class jodd.db.oom.DbOomQuery
Resolves column db sql type and populates it in column descriptor if missing.
resolveColumnDescriptors(DbEntityDescriptor, PropertyDescriptor, boolean, ColumnNamingStrategy) - Static method in class jodd.db.oom.DbMetaUtil
Resolves column descriptor from property.
resolveDbEntityDescriptors(Class[]) - Method in class jodd.db.oom.mapper.DefaultResultSetMapper
Resolves DbEntityDescriptor for all given types, so not to repeat every time.
resolveIsAnnotated(Class<?>) - Static method in class jodd.db.oom.DbMetaUtil
Returns true if class is annotated with DbTable annotation.
resolveMappedTypes(Class) - Static method in class jodd.db.oom.DbMetaUtil
Resolves mapped types from DbMapTo annotation.
resolveMappedTypesTableNames(Class[]) - Method in class jodd.db.oom.mapper.DefaultResultSetMapper
Resolved mapped type names for each type.
resolveRowResults(Object[]) - Method in class jodd.db.oom.DbOomQuery
Prepares a row (array of rows mapped object) using hints.
resolveSchemaName(Class<?>, String) - Static method in class jodd.db.oom.DbMetaUtil
Resolves schema name from a type.
resolveTable(String, DbEntityDescriptor) - Method in class jodd.db.oom.sqlgen.chunks.SqlChunk
Resolves table name or alias that will be used in the query.
resolveTableName(Class<?>, TableNamingStrategy) - Static method in class jodd.db.oom.DbMetaUtil
Resolves table name from a type.
resolveTables() - Method in class jodd.db.oom.mapper.DefaultResultSetMapper
Resolves table names into the list of entity types.
resolveTables() - Method in interface jodd.db.oom.mapper.ResultSetMapper
Resolves table names into the list of entity types.
resolveTypesTableNames(Class[]) - Method in class jodd.db.oom.mapper.DefaultResultSetMapper
Creates table names for all specified types.
resolveValueInSpecialCase(Object, String) - Method in class jodd.db.oom.JoinHintResolver
 
resultSet - Variable in class jodd.db.oom.mapper.BaseResultSetMapper
 
ResultSetMapper - Interface in jodd.db.oom.mapper
ResultSet mapper which implementations parse objects from one result set row.
rollbackTransaction() - Method in class jodd.db.DbSession
Roll back the current transaction.
rollbackTransaction(DbSession) - Method in class jodd.db.jtx.DbJtxResourceManager
run() - Method in class jodd.db.pool.CoreConnectionPool
 

S

save(Object) - Method in class jodd.db.oom.dao.GenericDao
Simply inserts object into the database.
saveAll(Collection) - Method in class jodd.db.oom.dao.GenericDao
Inserts bunch of objects into the database.
schemaName - Variable in class jodd.db.oom.DbOomManager
 
separateByCommaOrSpace(StringBuilder) - Method in class jodd.db.oom.sqlgen.chunks.SqlChunk
Separates from previous chunk by comma if is of the same type.
sessionProvider - Variable in class jodd.db.DbManager
 
set(String, Object) - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
 
set(DbSession) - Static method in class jodd.db.ThreadDbSessionHolder
Sets current db session.
set(PreparedStatement, int, BigDecimal, int) - Method in class jodd.db.type.BigDecimalSqlType
Sets prepared statement value.
set(PreparedStatement, int, BigInteger, int) - Method in class jodd.db.type.BigIntegerSqlType
Sets prepared statement value.
set(PreparedStatement, int, Blob, int) - Method in class jodd.db.type.BlobSqlType
Sets prepared statement value.
set(PreparedStatement, int, Boolean, int) - Method in class jodd.db.type.BooleanSqlType
Sets prepared statement value.
set(PreparedStatement, int, byte[], int) - Method in class jodd.db.type.ByteArraySqlType
Sets prepared statement value.
set(PreparedStatement, int, Byte, int) - Method in class jodd.db.type.ByteSqlType
Sets prepared statement value.
set(PreparedStatement, int, Character, int) - Method in class jodd.db.type.CharacterSqlType
Sets prepared statement value.
set(PreparedStatement, int, Clob, int) - Method in class jodd.db.type.ClobSqlType
Sets prepared statement value.
set(PreparedStatement, int, Date, int) - Method in class jodd.db.type.DateSqlType
Sets prepared statement value.
set(PreparedStatement, int, Double, int) - Method in class jodd.db.type.DoubleSqlType
Sets prepared statement value.
set(PreparedStatement, int, Float, int) - Method in class jodd.db.type.FloatSqlType
Sets prepared statement value.
set(PreparedStatement, int, Integer, int) - Method in class jodd.db.type.IntegerSqlType
Sets prepared statement value.
set(PreparedStatement, int, JDateTime, int) - Method in class jodd.db.type.JDateTimeSqlType
 
set(PreparedStatement, int, Long, int) - Method in class jodd.db.type.LongSqlType
Sets prepared statement value.
set(PreparedStatement, int, Short, int) - Method in class jodd.db.type.ShortSqlType
Sets prepared statement value.
set(PreparedStatement, int, Array, int) - Method in class jodd.db.type.SqlArraySqlType
Sets prepared statement value.
set(PreparedStatement, int, Date, int) - Method in class jodd.db.type.SqlDateSqlType
Sets prepared statement value.
set(PreparedStatement, int, Ref, int) - Method in class jodd.db.type.SqlRefSqlType
Sets prepared statement value.
set(PreparedStatement, int, T, int) - Method in class jodd.db.type.SqlType
Sets prepared statement value.
set(PreparedStatement, int, String, int) - Method in class jodd.db.type.StringSqlType
Sets prepared statement value.
set(PreparedStatement, int, Time, int) - Method in class jodd.db.type.TimeSqlType
Sets prepared statement value.
set(PreparedStatement, int, Timestamp, int) - Method in class jodd.db.type.TimestampSqlType
Sets prepared statement value.
set(PreparedStatement, int, URL, int) - Method in class jodd.db.type.URLSqlType
Sets prepared statement value.
setAll(String, Object) - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
 
setArray(int, Array) - Method in class jodd.db.DbQuery
 
setArray(String, Array) - Method in class jodd.db.DbQuery
 
setAsciiStream(int, InputStream) - Method in class jodd.db.DbQuery
 
setAsciiStream(String, InputStream) - Method in class jodd.db.DbQuery
 
setAsciiStream(int, InputStream, int) - Method in class jodd.db.DbQuery
 
setAsciiStream(String, InputStream, int) - Method in class jodd.db.DbQuery
 
setAutoCommit(Boolean) - Method in class jodd.db.connection.DriverManagerConnectionProvider
 
setBatch(String, int[], int) - Method in class jodd.db.DbQuery
Sets batch parameters with given array of values.
setBatch(String, long[], int) - Method in class jodd.db.DbQuery
Sets batch parameters with given array of values.
setBatch(String, Object[], int) - Method in class jodd.db.DbQuery
Sets batch parameters with given array of values.
setBean(String, Object) - Method in class jodd.db.DbQuery
Sets bean parameters from bean.
setBigDecimal(int, BigDecimal) - Method in class jodd.db.DbQuery
 
setBigDecimal(String, BigDecimal) - Method in class jodd.db.DbQuery
 
setBigInteger(int, BigInteger) - Method in class jodd.db.DbQuery
 
setBigInteger(String, BigInteger) - Method in class jodd.db.DbQuery
 
setBlob(int, Blob) - Method in class jodd.db.DbQuery
 
setBlob(String, Blob) - Method in class jodd.db.DbQuery
 
setBoolean(int, boolean) - Method in class jodd.db.DbQuery
 
setBoolean(String, boolean) - Method in class jodd.db.DbQuery
 
setBoolean(int, Boolean) - Method in class jodd.db.DbQuery
 
setBoolean(String, Boolean) - Method in class jodd.db.DbQuery
 
setByte(int, byte) - Method in class jodd.db.DbQuery
 
setByte(String, byte) - Method in class jodd.db.DbQuery
 
setByte(int, Number) - Method in class jodd.db.DbQuery
 
setByte(String, Number) - Method in class jodd.db.DbQuery
 
setBytes(int, byte[]) - Method in class jodd.db.DbQuery
 
setBytes(String, byte[]) - Method in class jodd.db.DbQuery
 
setCacheEntitiesInResultSet(boolean) - Method in class jodd.db.oom.DbOomManager
Defines if entities have to be cached in result set.
setCharacterStream(int, Reader, int) - Method in class jodd.db.DbQuery
 
setCharacterStream(String, Reader, int) - Method in class jodd.db.DbQuery
 
setClob(int, Clob) - Method in class jodd.db.DbQuery
 
setClob(String, Clob) - Method in class jodd.db.DbQuery
 
setColumnAliasSeparator(String) - Method in class jodd.db.oom.DbOomManager
Specifies separator for column aliases that divides table reference and column name.
setColumnNames(ColumnNamingStrategy) - Method in class jodd.db.oom.DbOomManager
Sets new column name strategy,
setConcurrencyType(int) - Method in class jodd.db.DbManager
Sets default concurrency type.
setConnectionProvider(ConnectionProvider) - Method in class jodd.db.DbManager
Sets connection provider.
setDate(int, Date) - Method in class jodd.db.DbQuery
 
setDate(String, Date) - Method in class jodd.db.DbQuery
 
setDebug(boolean) - Method in class jodd.db.DbManager
Enables debug mode.
setDefaultColumnAliasType(ColumnAliasType) - Method in class jodd.db.oom.DbOomManager
Specifies default column alias type.
setDefaultValidationQuery() - Method in class jodd.db.pool.CoreConnectionPool
Sets default validation query (select 1);
setDouble(int, double) - Method in class jodd.db.DbQuery
 
setDouble(String, double) - Method in class jodd.db.DbQuery
 
setDouble(int, Number) - Method in class jodd.db.DbQuery
 
setDouble(String, Number) - Method in class jodd.db.DbQuery
 
setDriver(String) - Method in class jodd.db.pool.CoreConnectionPool
Specifies driver class name.
setDriverClass(String) - Method in class jodd.db.connection.DriverManagerConnectionProvider
 
setEntityAwareMode(boolean) - Method in class jodd.db.oom.DbOomManager
Defines entity-aware mode, when resulting collections does not have duplicates.
setEntityId(DbEntityDescriptor<E>, E, long) - Method in class jodd.db.oom.dao.GenericDao
Sets new ID value for entity.
setEntityNameTerminator(char) - Method in class jodd.db.oom.naming.TableNamingStrategy
Specifies the terminator character for entity names.
setFetchSize(int) - Method in class jodd.db.DbManager
Sets default value for fetch size.
setFloat(int, float) - Method in class jodd.db.DbQuery
 
setFloat(String, float) - Method in class jodd.db.DbQuery
 
setFloat(int, Number) - Method in class jodd.db.DbQuery
 
setFloat(String, Number) - Method in class jodd.db.DbQuery
 
setForcePreparedStatement(boolean) - Method in class jodd.db.DbManager
Enables creation of prepared statements for all queries.
setHintResolver(JoinHintResolver) - Method in class jodd.db.oom.DbOomManager
Specifies hint resolver.
setHoldability(int) - Method in class jodd.db.DbManager
Sets default holdability.
setIdValue(E, Object) - Method in class jodd.db.oom.DbEntityDescriptor
Sets ID value for given entity.
setInstance(DbManager) - Static method in class jodd.db.DbManager
Sets the DbManager instance.
setInstance(DbOomManager) - Static method in class jodd.db.oom.DbOomManager
Sets new DbOom manager.
setInteger(int, int) - Method in class jodd.db.DbQuery
 
setInteger(String, int) - Method in class jodd.db.DbQuery
 
setInteger(int, Number) - Method in class jodd.db.DbQuery
 
setInteger(String, Number) - Method in class jodd.db.DbQuery
 
setIsolation(Integer) - Method in class jodd.db.connection.DriverManagerConnectionProvider
 
setIsolation(int) - Method in class jodd.db.DbTransactionMode
Sets isolation level.
setKeysGeneratedByDatabase(boolean) - Method in class jodd.db.oom.dao.GenericDao
Specifies how primary keys are generated.
setLong(int, long) - Method in class jodd.db.DbQuery
 
setLong(String, long) - Method in class jodd.db.DbQuery
 
setLong(int, Number) - Method in class jodd.db.DbQuery
 
setLong(String, Number) - Method in class jodd.db.DbQuery
 
setMap(Map) - Method in class jodd.db.DbQuery
Sets properties from the map.
setMaxConnections(int) - Method in class jodd.db.pool.CoreConnectionPool
Sets max number of connections.
setMaxRows(int) - Method in class jodd.db.DbManager
Sets default value for max rows.
setMinConnections(int) - Method in class jodd.db.pool.CoreConnectionPool
Sets minimum number of open connections.
setNull(int, int) - Method in class jodd.db.DbQuery
 
setNull(String, int) - Method in class jodd.db.DbQuery
 
setNull(int, int, String) - Method in class jodd.db.DbQuery
 
setNull(String, int, String) - Method in class jodd.db.DbQuery
 
setObject(int, Object, int) - Method in class jodd.db.DbQuery
Sets the value of the designated parameter with the given object.
setObject(String, Object, int) - Method in class jodd.db.DbQuery
Sets the value of the designated parameter with the given object.
setObject(int, Object) - Method in class jodd.db.DbQuery
 
setObject(int, Object, Class<? extends SqlType>, int) - Method in class jodd.db.DbQuery
Sets object parameter in an advanced way.
setObject(String, Object) - Method in class jodd.db.DbQuery
 
setObject(String, Object, Class<? extends SqlType>, int) - Method in class jodd.db.DbQuery
 
setObjectReference(String, Object) - Method in class jodd.db.oom.sqlgen.TemplateData
Saves object reference.
setObjects(Object...) - Method in class jodd.db.DbQuery
Sets an array of objects parameters in given order.
setObjects(String[], Object[]) - Method in class jodd.db.DbQuery
Sets sql parameters from two arrays: names and values.
setPassword(String) - Method in class jodd.db.connection.DriverManagerConnectionProvider
 
setPassword(String) - Method in class jodd.db.pool.CoreConnectionPool
Specifies db password.
setPrefix(String) - Method in class jodd.db.oom.naming.TableNamingStrategy
Table prefix, may be null.
setPreparedStatementObject(PreparedStatement, int, Object, int) - Static method in class jodd.db.DbUtil
Sets prepared statement object using target SQL type.
setPrimitiveEntitiesPrefixes(String...) - Method in class jodd.db.oom.DbOomManager
Specifies array of class name prefixes that will be mapped directly to column.
setQueryMap(QueryMap) - Method in class jodd.db.DbManager
 
setQueryString(String) - Method in exception jodd.db.oom.sqlgen.DbSqlBuilderException
 
setReadOnly(boolean) - Method in class jodd.db.DbTransactionMode
 
setRef(int, Ref) - Method in class jodd.db.DbQuery
 
setRef(String, Ref) - Method in class jodd.db.DbQuery
 
setSessionProvider(DbSessionProvider) - Method in class jodd.db.DbManager
Sets default session provider.
setShort(int, short) - Method in class jodd.db.DbQuery
 
setShort(String, short) - Method in class jodd.db.DbQuery
 
setShort(int, Number) - Method in class jodd.db.DbQuery
 
setShort(String, Number) - Method in class jodd.db.DbQuery
 
setString(int, String) - Method in class jodd.db.DbQuery
 
setString(String, String) - Method in class jodd.db.DbQuery
 
setSuffix(String) - Method in class jodd.db.oom.naming.TableNamingStrategy
Table suffix, may be null.
setTableNames(TableNamingStrategy) - Method in class jodd.db.oom.DbOomManager
Sets new table name strategy.
setTime(int, Time) - Method in class jodd.db.DbQuery
 
setTime(String, Time) - Method in class jodd.db.DbQuery
 
setTimestamp(int, Timestamp) - Method in class jodd.db.DbQuery
 
setTimestamp(String, Timestamp) - Method in class jodd.db.DbQuery
 
setTransactionMode(DbTransactionMode) - Method in class jodd.db.DbManager
 
setType(int) - Method in class jodd.db.DbManager
Sets default type.
setUrl(String) - Method in class jodd.db.connection.DriverManagerConnectionProvider
 
setURL(int, URL) - Method in class jodd.db.DbQuery
 
setURL(String, URL) - Method in class jodd.db.DbQuery
 
setUrl(String) - Method in class jodd.db.pool.CoreConnectionPool
Specifies JDBC url.
setUser(String) - Method in class jodd.db.pool.CoreConnectionPool
Specifies db username.
setUsername(String) - Method in class jodd.db.connection.DriverManagerConnectionProvider
 
setValidateConnection(boolean) - Method in class jodd.db.pool.CoreConnectionPool
Specifies if connections should be validated before returned.
setValidationQuery(String) - Method in class jodd.db.pool.CoreConnectionPool
Specifies query to be used for validating connections.
setValidationTimeout(long) - Method in class jodd.db.pool.CoreConnectionPool
Specifies number of milliseconds from connection creation when connection is considered as opened and valid.
setWaitIfBusy(boolean) - Method in class jodd.db.pool.CoreConnectionPool
Sets if pool should wait for connection to be freed when none is available.
ShortSqlType - Class in jodd.db.type
 
ShortSqlType() - Constructor for class jodd.db.type.ShortSqlType
 
sql - Variable in class jodd.db.oom.sqlgen.chunks.RawSqlChunk
 
sql() - Static method in class jodd.db.oom.sqlgen.DbSqlBuilder
 
sql(String) - Static method in class jodd.db.oom.sqlgen.DbSqlBuilder
Template constructor.
SqlArraySqlType - Class in jodd.db.type
 
SqlArraySqlType() - Constructor for class jodd.db.type.SqlArraySqlType
 
SqlChunk - Class in jodd.db.oom.sqlgen.chunks
SQL chunk defines part of the SQL query that can be processed.
SqlChunk(int) - Constructor for class jodd.db.oom.sqlgen.chunks.SqlChunk
 
SqlDateSqlType - Class in jodd.db.type
 
SqlDateSqlType() - Constructor for class jodd.db.type.SqlDateSqlType
 
sqlgen - Variable in class jodd.db.oom.DbOomQuery
 
SqlRefSqlType - Class in jodd.db.type
 
SqlRefSqlType() - Constructor for class jodd.db.type.SqlRefSqlType
 
sqlTemplate - Variable in class jodd.db.debug.LoggableAdvice
 
sqlTemplateField - Static variable in class jodd.db.debug.LoggablePreparedStatementFactory
 
SqlType<T> - Class in jodd.db.type
SQL type.
SqlType() - Constructor for class jodd.db.type.SqlType
 
sqlType - Variable in class jodd.db.type.SqlType
 
sqlTypeClass - Variable in class jodd.db.oom.DbEntityColumnDescriptor
 
SqlTypeManager - Class in jodd.db.type
Provides dynamic object conversion to a type.
SqlTypeManager() - Constructor for class jodd.db.type.SqlTypeManager
 
store(E) - Method in class jodd.db.oom.dao.GenericDao
Saves or updates entity.
storeValue(PreparedStatement, int, Object, int) - Method in class jodd.db.type.NullAwareSqlType
Detects null before storing the value into the database.
storeValue(PreparedStatement, int, Object, int) - Method in class jodd.db.type.SqlType
Stores value in database.
StringSqlType - Class in jodd.db.type
 
StringSqlType() - Constructor for class jodd.db.type.StringSqlType
 
suffix - Variable in class jodd.db.oom.naming.TableNamingStrategy
 

T

table(String) - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
 
table(String, String) - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
 
table(Object, String) - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
 
table(Object, String, String) - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
 
table(Object) - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
 
tableAlias - Variable in class jodd.db.oom.sqlgen.chunks.TableChunk
 
TableChunk - Class in jodd.db.oom.sqlgen.chunks
Table chunk resolves table name, optional table alias and defines table references.
TableChunk(Object) - Constructor for class jodd.db.oom.sqlgen.chunks.TableChunk
 
TableChunk(Object, String) - Constructor for class jodd.db.oom.sqlgen.chunks.TableChunk
 
TableChunk(Object, String, String) - Constructor for class jodd.db.oom.sqlgen.chunks.TableChunk
 
TableChunk(String, String) - Constructor for class jodd.db.oom.sqlgen.chunks.TableChunk
 
TableChunk(Class, String, String, String) - Constructor for class jodd.db.oom.sqlgen.chunks.TableChunk
 
TableChunk(String) - Constructor for class jodd.db.oom.sqlgen.chunks.TableChunk
 
tableNames - Variable in class jodd.db.oom.DbOomManager
 
tableNames - Variable in class jodd.db.oom.mapper.DefaultResultSetMapper
 
tableNamesMap - Variable in class jodd.db.oom.DbOomManager
 
TableNamingStrategy - Class in jodd.db.oom.naming
Naming strategy for converting entity names (i.e. class names) to database table names.
TableNamingStrategy() - Constructor for class jodd.db.oom.naming.TableNamingStrategy
 
tableRef - Variable in class jodd.db.oom.sqlgen.chunks.ColumnsSelectChunk
 
tableRef - Variable in class jodd.db.oom.sqlgen.chunks.MatchChunk
 
tableRef - Variable in class jodd.db.oom.sqlgen.chunks.ReferenceChunk
 
tableRef - Variable in class jodd.db.oom.sqlgen.chunks.UpdateSetChunk
 
tableReference - Variable in class jodd.db.oom.sqlgen.chunks.TableChunk
 
tableRefs - Variable in class jodd.db.oom.sqlgen.TemplateData
 
templateData - Variable in class jodd.db.oom.sqlgen.chunks.SqlChunk
 
TemplateData - Class in jodd.db.oom.sqlgen
Template common data used during template parsing.
TemplateData() - Constructor for class jodd.db.oom.sqlgen.TemplateData
 
templateParser - Static variable in class jodd.db.oom.sqlgen.DbSqlBuilder
 
ThreadDbSessionHolder - Class in jodd.db
DbSession thread storage.
ThreadDbSessionHolder() - Constructor for class jodd.db.ThreadDbSessionHolder
 
ThreadDbSessionProvider - Class in jodd.db
Returns DbSession assigned to current thread.
ThreadDbSessionProvider() - Constructor for class jodd.db.ThreadDbSessionProvider
 
TimeSqlType - Class in jodd.db.type
 
TimeSqlType() - Constructor for class jodd.db.type.TimeSqlType
 
TimestampSqlType - Class in jodd.db.type
 
TimestampSqlType() - Constructor for class jodd.db.type.TimestampSqlType
 
toString() - Method in class jodd.db.oom.DbEntityColumnDescriptor
 
toString() - Method in class jodd.db.oom.DbEntityDescriptor
 
toString() - Method in class jodd.db.pool.CoreConnectionPool.SizeSnapshot
 
totalChunks - Variable in class jodd.db.oom.sqlgen.DbSqlBuilder
 
totalColumns - Variable in class jodd.db.oom.mapper.DefaultResultSetMapper
 
transactionMode - Variable in class jodd.db.DbManager
 
truncate(Object) - Static method in class jodd.db.oom.sqlgen.DbEntitySql
Creates DELETE query that truncates all table data.
txActive - Variable in class jodd.db.DbSession
 
txMode - Variable in class jodd.db.DbSession
 
type - Variable in class jodd.db.DbManager
 
TypesUtil - Class in jodd.db.type
Some java.sql.Types utilities.
TypesUtil() - Constructor for class jodd.db.type.TypesUtil
 

U

unregister(Class) - Static method in class jodd.db.type.SqlTypeManager
Unregisters some sql type.
unregisterAll() - Static method in class jodd.db.type.SqlTypeManager
Unregisters all converters.
update(Object) - Method in class jodd.db.oom.dao.GenericDao
Updates single entity.
update(Object) - Static method in class jodd.db.oom.sqlgen.DbEntitySql
Creates UPDATE query that updates all non-null values of an entity that is matched by id.
updateAll(Collection) - Method in class jodd.db.oom.dao.GenericDao
Updates all entities.
updateAll(Object) - Static method in class jodd.db.oom.sqlgen.DbEntitySql
Creates UPDATE query that updates all values of an entity that is matched by id.
updateColumn(Object, String, Object) - Static method in class jodd.db.oom.sqlgen.DbEntitySql
Creates UPDATE query for single column of an entity that is matched by id.
updateColumn(Object, String) - Static method in class jodd.db.oom.sqlgen.DbEntitySql
Reads property value and updates the DB.
updateDbSqlType(int) - Method in class jodd.db.oom.DbEntityColumnDescriptor
Updates db sql type if not already set.
updateProperty(E, String, Object) - Method in class jodd.db.oom.dao.GenericDao
Updates single property in database and in the bean.
updateProperty(E, String) - Method in class jodd.db.oom.dao.GenericDao
Updates property in the database by storing the current property value.
UpdateSetChunk - Class in jodd.db.oom.sqlgen.chunks
Generates the SET part of the UPDATE statement.
UpdateSetChunk(String, Object, int) - Constructor for class jodd.db.oom.sqlgen.chunks.UpdateSetChunk
 
URLSqlType - Class in jodd.db.type
 
URLSqlType() - Constructor for class jodd.db.type.URLSqlType
 
use(String, Object) - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
Defines object reference and an object.

V

value - Variable in class jodd.db.oom.sqlgen.chunks.ValueChunk
 
value(String, Object) - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
 
value(Object) - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
 
value - Variable in class jodd.db.oom.sqlgen.ParameterValue
 
ValueChunk - Class in jodd.db.oom.sqlgen.chunks
Defines SQL parameter and its value.
ValueChunk(String, Object) - Constructor for class jodd.db.oom.sqlgen.chunks.ValueChunk
 
ValueChunk(String) - Constructor for class jodd.db.oom.sqlgen.chunks.ValueChunk
 
ValueChunk(String, Object, String) - Constructor for class jodd.db.oom.sqlgen.chunks.ValueChunk
 
valueOf(String) - Static method in enum jodd.db.DbDetector.Db
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum jodd.db.oom.ColumnAliasType
Returns the enum constant of this type with the specified name.
valueRef(String) - Method in class jodd.db.oom.sqlgen.DbSqlBuilder
 
values() - Static method in enum jodd.db.DbDetector.Db
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum jodd.db.oom.ColumnAliasType
Returns an array containing the constants of this enum type, in the order they are declared.

W

withHints(String) - Method in class jodd.db.oom.DbOomQuery
Specifies hints for the query.
withHints(String...) - Method in class jodd.db.oom.DbOomQuery
Specifies multiple hints for the query.
wrap(PreparedStatement, String) - Static method in class jodd.db.debug.LoggablePreparedStatementFactory
Wraps prepared statement.
wrappedPreparedStatement - Static variable in class jodd.db.debug.LoggablePreparedStatementFactory
 

X

XADataSourceConnectionProvider - Class in jodd.db.connection
XA-DataSource connection provider.
XADataSourceConnectionProvider(XADataSource) - Constructor for class jodd.db.connection.XADataSourceConnectionProvider
 
XADataSourceConnectionProvider(XADataSource, String, String) - Constructor for class jodd.db.connection.XADataSourceConnectionProvider
 
$ A B C D E F G H I J K L M N O P Q R S T U V W X 
Skip navigation links

Copyright © 2003-2013 Jodd Team