Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractTransactionManager - Class in org.dalesbred.transaction
- AbstractTransactionManager() - Constructor for class org.dalesbred.transaction.AbstractTransactionManager
- add(String, Type) - Method in class org.dalesbred.internal.instantiation.NamedTypeList.Builder
- addArgument(Object) - Method in class org.dalesbred.query.QueryBuilder
-
Adds an argument to this query.
- addArguments(Collection<?>) - Method in class org.dalesbred.query.QueryBuilder
-
Adds given arguments to this query.
- addArguments(Object...) - Method in class org.dalesbred.query.QueryBuilder
-
Adds given arguments to this query.
- addRow(List<Object>) - Method in class org.dalesbred.result.ResultTable.Builder
- append(String) - Method in class org.dalesbred.query.QueryBuilder
-
Appends given fragment to this query.
- append(String, Collection<?>) - Method in class org.dalesbred.query.QueryBuilder
-
Appends given fragment and arguments to this query.
- append(String, Object...) - Method in class org.dalesbred.query.QueryBuilder
-
Appends given fragment and arguments to this query.
- append(SqlQuery) - Method in class org.dalesbred.query.QueryBuilder
-
Appends given query and its arguments to this query.
- appendPlaceholders(int) - Method in class org.dalesbred.query.QueryBuilder
-
Adds a given amount of comma-separated place-holders.
- appendPlaceholders(Collection<?>) - Method in class org.dalesbred.query.QueryBuilder
-
Adds placeholders for all elements of collection and then adds then values of collection itself.
- ArgumentBinder - Class in org.dalesbred.internal.jdbc
- arrayAsObjectArray(Object) - Static method in class org.dalesbred.internal.utils.Primitives
- arrayOfType(Class<?>, List<?>) - Static method in class org.dalesbred.internal.utils.CollectionUtils
- arrayType(Class<?>) - Static method in class org.dalesbred.internal.utils.TypeUtils
- asList() - Method in class org.dalesbred.result.ResultTable.ResultRow
-
Returns a list containing the values of this row.
B
- bindArgument(PreparedStatement, int, Object) - Method in class org.dalesbred.dialect.Dialect
-
Bind object to
PreparedStatement
. - bindArgument(PreparedStatement, int, Object) - Method in class org.dalesbred.dialect.OracleDialect
- bindArgument(PreparedStatement, int, Object) - Static method in class org.dalesbred.internal.jdbc.ArgumentBinder
- build() - Method in class org.dalesbred.internal.instantiation.NamedTypeList.Builder
- build() - Method in class org.dalesbred.query.QueryBuilder
-
Builds an SQL query from the current state of this builder.
- build() - Method in class org.dalesbred.result.ResultTable.Builder
- builder(int) - Static method in class org.dalesbred.internal.instantiation.NamedTypeList
- builder(List<ResultTable.ColumnMetadata>) - Static method in class org.dalesbred.result.ResultTable
-
Returns a builder for building a ResultTable for given columns.
- Builder(List<ResultTable.ColumnMetadata>) - Constructor for class org.dalesbred.result.ResultTable.Builder
C
- capitalize(String) - Static method in class org.dalesbred.internal.utils.StringUtils
-
Returns given string with its first letter in uppercase.
- CollectionUtils - Class in org.dalesbred.internal.utils
- ColumnMetadata(int, String, Type, int, String) - Constructor for class org.dalesbred.result.ResultTable.ColumnMetadata
- compose(Function<?, ?>) - Method in class org.dalesbred.internal.instantiation.TypeConversion
- ConnectionProvider - Interface in org.dalesbred.connection
-
Abstracts the mechanism for opening and closing connections.
- convert(Object) - Method in class org.dalesbred.internal.instantiation.TypeConversion
- convertException(SQLException) - Method in class org.dalesbred.dialect.Dialect
- convertFromDatabase(D) - Method in interface org.dalesbred.conversion.TypeConversionPair
- convertToDatabase(J) - Method in interface org.dalesbred.conversion.TypeConversionPair
- createNativeEnumConversions(Class<T>, String, Function<T, K>) - Method in class org.dalesbred.dialect.Dialect
- createNativeEnumConversions(Class<T>, String, Function<T, K>) - Method in class org.dalesbred.dialect.PostgreSQLDialect
D
- DalesbredConfigurationSupport - Class in org.dalesbred.integration.spring
-
Abstract base class for Spring Configuration to provide Dalesbred integration with Spring services.
- DalesbredConfigurationSupport() - Constructor for class org.dalesbred.integration.spring.DalesbredConfigurationSupport
- dalesbredDatabase(DataSource, PlatformTransactionManager) - Method in class org.dalesbred.integration.spring.DalesbredConfigurationSupport
- DalesbredIgnore - Annotation Interface in org.dalesbred.annotation
-
Ignores given field, setter or constructor when instantiating.
- DalesbredInstantiator - Annotation Interface in org.dalesbred.annotation
-
Marks a constructor or a static method as Dalesbred instantiator.
- Database - Class in org.dalesbred
-
The main abstraction of the library: represents a configured connection to database and provides a way to execute callbacks in transactions.
- Database(DataSource) - Constructor for class org.dalesbred.Database
-
Constructs a new Database that uses given
DataSource
and auto-detects the dialect to use. - Database(DataSource, Dialect) - Constructor for class org.dalesbred.Database
-
Constructs a new Database that uses given
DataSource
andDialect
. - Database(ConnectionProvider) - Constructor for class org.dalesbred.Database
-
Constructs a new Database that uses given
ConnectionProvider
and auto-detects the dialect to use. - Database(ConnectionProvider, Dialect) - Constructor for class org.dalesbred.Database
-
Constructs a new Database that uses given
ConnectionProvider
andDialect
. - Database(TransactionManager) - Constructor for class org.dalesbred.Database
-
Constructs a new Database that uses given
TransactionManager
and auto-detects the dialect to use. - Database(TransactionManager, Dialect) - Constructor for class org.dalesbred.Database
-
Constructs a new Database that uses given
TransactionManager
andDialect
. - DatabaseException - Exception in org.dalesbred
-
Base class for all of Dalesbred's exceptions.
- DatabaseException(String) - Constructor for exception org.dalesbred.DatabaseException
- DatabaseException(String, Throwable) - Constructor for exception org.dalesbred.DatabaseException
- DatabaseException(Throwable) - Constructor for exception org.dalesbred.DatabaseException
- DatabaseSQLException - Exception in org.dalesbred
-
Wraps an
SQLException
originating from database. - DatabaseSQLException(String, SQLException) - Constructor for exception org.dalesbred.DatabaseSQLException
- DatabaseSQLException(SQLException) - Constructor for exception org.dalesbred.DatabaseSQLException
- DataSourceConnectionProvider - Class in org.dalesbred.connection
-
ConnectionProvider
that works on top ofDataSource
. - DataSourceConnectionProvider(DataSource) - Constructor for class org.dalesbred.connection.DataSourceConnectionProvider
- DEFAULT - Enum constant in enum class org.dalesbred.transaction.Isolation
-
Use the default isolation level
- DefaultDialect - Class in org.dalesbred.dialect
-
Default dialect used for databases that don't have special support.
- DefaultDialect() - Constructor for class org.dalesbred.dialect.DefaultDialect
- DefaultTransactionManager - Class in org.dalesbred.transaction
-
Default transaction manager that handles all transactions by itself.
- DefaultTransactionManager(ConnectionProvider) - Constructor for class org.dalesbred.transaction.DefaultTransactionManager
- detect(Connection) - Static method in class org.dalesbred.dialect.Dialect
- detect(DataSource) - Static method in class org.dalesbred.dialect.Dialect
- detect(ConnectionProvider) - Static method in class org.dalesbred.dialect.Dialect
- detect(TransactionManager) - Static method in class org.dalesbred.dialect.Dialect
- dialect() - Method in class org.dalesbred.integration.spring.DalesbredConfigurationSupport
-
Subclasses can override this to return the
Dialect
to use. - Dialect - Class in org.dalesbred.dialect
-
Abstracts away the differences of databases.
- Dialect() - Constructor for class org.dalesbred.dialect.Dialect
- DriverManagerConnectionProvider - Class in org.dalesbred.connection
-
ConnectionProvider
that works opens connections fromDriverManager
and closes them when releasing. - DriverManagerConnectionProvider(String, String, String) - Constructor for class org.dalesbred.connection.DriverManagerConnectionProvider
E
- EmptyResultException - Exception in org.dalesbred.result
-
Exception thrown when expecting a unique result from a call, but got no results.
- EmptyResultException() - Constructor for exception org.dalesbred.result.EmptyResultException
- enumByKey(Class<T>, Function<T, K>, K) - Static method in class org.dalesbred.internal.utils.EnumUtils
- enumByOrdinal(Class<T>, int) - Static method in class org.dalesbred.internal.utils.EnumUtils
- EnumUtils - Class in org.dalesbred.internal.utils
- equals(Object) - Method in class org.dalesbred.query.SqlQuery
- execute(TransactionContext) - Method in interface org.dalesbred.transaction.TransactionCallback
- execute(TransactionContext) - Method in interface org.dalesbred.transaction.VoidTransactionCallback
- executeQuery(ResultSetProcessor<T>, String, Object...) - Method in class org.dalesbred.Database
-
Executes a query and processes the results with given
ResultSetProcessor
. - executeQuery(ResultSetProcessor<T>, SqlQuery) - Method in class org.dalesbred.Database
-
Executes a query and processes the results with given
ResultSetProcessor
.
F
- FetchDirection - Enum Class in org.dalesbred.query
-
Represents fetch direction that can be given as a hint to
SqlQuery.setFetchDirection(FetchDirection)
. - findAll(Class<T>, String, Object...) - Method in class org.dalesbred.Database
-
Executes a query and converts the results to instances of given class using default mechanisms.
- findAll(Class<T>, SqlQuery) - Method in class org.dalesbred.Database
-
Executes a query and converts the results to instances of given class using default mechanisms.
- findAll(RowMapper<T>, String, Object...) - Method in class org.dalesbred.Database
-
Executes a query and processes each row of the result with given
RowMapper
to produce a list of results. - findAll(RowMapper<T>, SqlQuery) - Method in class org.dalesbred.Database
-
Executes a query and processes each row of the result with given
RowMapper
to produce a list of results. - findField(Class<?>, String) - Static method in class org.dalesbred.internal.utils.ReflectionUtils
- findGetter(Class<?>, String) - Static method in class org.dalesbred.internal.utils.ReflectionUtils
- findInstantiator(Class<T>, NamedTypeList) - Method in class org.dalesbred.internal.instantiation.InstantiatorProvider
- findInstantiator(Type, NamedTypeList) - Method in class org.dalesbred.internal.instantiation.InstantiatorProvider
- findMap(Class<K>, Class<V>, String, Object...) - Method in class org.dalesbred.Database
-
Executes a query that returns at least two values and creates a map from the results, using the first value as the key and rest of the values for instantiating
V
. - findMap(Class<K>, Class<V>, SqlQuery) - Method in class org.dalesbred.Database
-
Executes a query that returns at least two values and creates a map from the results, using the first value as the key and rest of the values for instantiating
V
. - findOptional(Class<T>, String, Object...) - Method in class org.dalesbred.Database
-
Finds a unique result from database, converting the database row to given class using default mechanisms.
- findOptional(Class<T>, SqlQuery) - Method in class org.dalesbred.Database
-
Finds a unique result from database, converting the database row to given class using default mechanisms.
- findOptional(RowMapper<T>, String, Object...) - Method in class org.dalesbred.Database
-
Find a unique result from database, using given
RowMapper
to convert row. - findOptional(RowMapper<T>, SqlQuery) - Method in class org.dalesbred.Database
-
Find a unique result from database, using given
RowMapper
to convert row. - findOptionalDouble(String, Object...) - Method in class org.dalesbred.Database
-
Finds a unique result from database, converting the database row to double using default mechanisms.
- findOptionalDouble(SqlQuery) - Method in class org.dalesbred.Database
-
Finds a unique result from database, converting the database row to double using default mechanisms.
- findOptionalInt(String, Object...) - Method in class org.dalesbred.Database
-
Finds a unique result from database, converting the database row to int using default mechanisms.
- findOptionalInt(SqlQuery) - Method in class org.dalesbred.Database
-
Finds a unique result from database, converting the database row to int using default mechanisms.
- findOptionalLong(String, Object...) - Method in class org.dalesbred.Database
-
Finds a unique result from database, converting the database row to long using default mechanisms.
- findOptionalLong(SqlQuery) - Method in class org.dalesbred.Database
-
Finds a unique result from database, converting the database row to long using default mechanisms.
- findTable(String, Object...) - Method in class org.dalesbred.Database
-
Executes a query and creates a
ResultTable
from the results. - findTable(SqlQuery) - Method in class org.dalesbred.Database
-
Executes a query and creates a
ResultTable
from the results. - findUnique(Class<T>, String, Object...) - Method in class org.dalesbred.Database
-
Finds a unique result from database, converting the database row to given class using default mechanisms.
- findUnique(Class<T>, SqlQuery) - Method in class org.dalesbred.Database
-
Finds a unique result from database, converting the database row to given class using default mechanisms.
- findUnique(RowMapper<T>, String, Object...) - Method in class org.dalesbred.Database
-
Finds a unique result from database, using given
RowMapper
to convert the row. - findUnique(RowMapper<T>, SqlQuery) - Method in class org.dalesbred.Database
-
Finds a unique result from database, using given
RowMapper
to convert the row. - findUniqueBoolean(String, Object...) - Method in class org.dalesbred.Database
-
A convenience method for retrieving a single non-null boolean.
- findUniqueBoolean(SqlQuery) - Method in class org.dalesbred.Database
-
A convenience method for retrieving a single non-null boolean.
- findUniqueInt(String, Object...) - Method in class org.dalesbred.Database
-
A convenience method for retrieving a single non-null integer.
- findUniqueInt(SqlQuery) - Method in class org.dalesbred.Database
-
A convenience method for retrieving a single non-null integer.
- findUniqueLong(String, Object...) - Method in class org.dalesbred.Database
-
A convenience method for retrieving a single non-null long.
- findUniqueLong(SqlQuery) - Method in class org.dalesbred.Database
-
A convenience method for retrieving a single non-null long.
- findUniqueOrNull(Class<T>, String, Object...) - Method in class org.dalesbred.Database
-
Alias for
findOptional(cl, sql, args).orElse(null)
. - findUniqueOrNull(Class<T>, SqlQuery) - Method in class org.dalesbred.Database
-
Alias for
findOptional(cl, query).orElse(null)
. - findUniqueOrNull(RowMapper<T>, String, Object...) - Method in class org.dalesbred.Database
-
Alias for {findUniqueOrNull(rowMapper, SqlQuery.query(sql, args))}.
- findUniqueOrNull(RowMapper<T>, SqlQuery) - Method in class org.dalesbred.Database
-
Alias for
findOptional(rowMapper, query).orElse(null)
. - forBean(Object) - Static method in interface org.dalesbred.query.VariableResolver
-
Returns a
VariableResolver
that is backed by given bean. - forDataSource(DataSource) - Static method in class org.dalesbred.Database
-
Returns a new Database that uses given
DataSource
to retrieve connections. - forJdbcCode(int) - Static method in enum class org.dalesbred.transaction.Isolation
-
Returns the isolation value for given JDBC code.
- forJndiDataSource(String) - Static method in class org.dalesbred.Database
-
Returns a new Database that uses
DataSource
with given JNDI-name. - forMap(Map<String, ?>) - Static method in interface org.dalesbred.query.VariableResolver
-
Returns a
VariableResolver
that is backed by given map. - formatTo(Appendable) - Method in class org.dalesbred.result.ResultTable
-
Pretty prints this table to
out
in a format suitable for console. - forUrlAndCredentials(String, String, String) - Static method in class org.dalesbred.Database
-
Returns a new Database that uses given connection options to open connection.
- FORWARD - Enum constant in enum class org.dalesbred.query.FetchDirection
- freeArray(Array) - Static method in class org.dalesbred.internal.jdbc.SqlUtils
- fromNonNullFunction(Function<S, T>) - Static method in class org.dalesbred.internal.instantiation.TypeConversion
- fromVoidCallback(VoidTransactionCallback) - Static method in interface org.dalesbred.transaction.TransactionCallback
-
Converts
VoidTransactionCallback
toTransactionCallback<Void>
G
- genericInterfaces(Type) - Static method in class org.dalesbred.internal.utils.TypeUtils
- genericSuperClass(Type) - Static method in class org.dalesbred.internal.utils.TypeUtils
- get(int) - Method in class org.dalesbred.result.ResultTable.ResultRow
- get(int, int) - Method in class org.dalesbred.result.ResultTable
-
Returns the value of given column of given row.
- get(int, String) - Method in class org.dalesbred.result.ResultTable
-
Returns the value of given named column of given row.
- get(String) - Method in class org.dalesbred.result.ResultTable.ResultRow
- getActiveTransaction() - Method in class org.dalesbred.transaction.AbstractTransactionManager
- getActiveTransaction() - Method in class org.dalesbred.transaction.DefaultTransactionManager
- getActiveTransaction() - Method in class org.dalesbred.transaction.SingleConnectionTransactionManager
- getArguments() - Method in class org.dalesbred.query.SqlQuery
-
Returns the list of arguments this query has.
- getCause() - Method in exception org.dalesbred.DatabaseSQLException
- getColumnCount() - Method in class org.dalesbred.result.ResultTable
- getColumnNames() - Method in class org.dalesbred.result.ResultTable
- getColumns() - Method in class org.dalesbred.result.ResultTable
- getColumnType(ResultSetMetaData, int) - Static method in class org.dalesbred.internal.jdbc.ResultSetUtils
- getColumnTypes() - Method in class org.dalesbred.result.ResultTable
- getConnection() - Method in interface org.dalesbred.connection.ConnectionProvider
- getConnection() - Method in class org.dalesbred.connection.DataSourceConnectionProvider
- getConnection() - Method in class org.dalesbred.connection.DriverManagerConnectionProvider
- getConnection() - Method in interface org.dalesbred.transaction.TransactionContext
-
Returns the raw JDBC-connection for this transaction.
- getConversionFromDbValue(Type, Type) - Method in class org.dalesbred.internal.instantiation.InstantiatorProvider
-
Returns conversion for converting value of source-type to target-type, or throws exception if there's no such conversion.
- getDatabaseType() - Method in class org.dalesbred.result.ResultTable.ColumnMetadata
-
Returns the vendor-specific database type name for this column.
- getDefaultTimeout() - Method in class org.dalesbred.Database
-
If default timeout is set to non null (by default it's null) all queries will have this timeout value as default, unless is specified directly on
SqlQuery
or is set directly on JDBC Connection parameters. - getFetchDirection() - Method in class org.dalesbred.query.SqlQuery
-
Returns the fetch direction of this query.
- getFetchSize() - Method in class org.dalesbred.query.SqlQuery
-
Returns the fetch size of this query.
- getIndex() - Method in class org.dalesbred.result.ResultTable.ColumnMetadata
-
Returns the zero-based index of this column.
- getIsolation() - Method in class org.dalesbred.transaction.TransactionSettings
- getJdbcLevel() - Method in enum class org.dalesbred.transaction.Isolation
-
Returns the JDBC level for this isolation.
- getJdbcType() - Method in class org.dalesbred.result.ResultTable.ColumnMetadata
-
Returns the JDBC type code for this column.
- getJdcbCode() - Method in enum class org.dalesbred.query.FetchDirection
- getName() - Method in class org.dalesbred.result.ResultTable.ColumnMetadata
-
Returns the name of this column.
- getName(int) - Method in class org.dalesbred.internal.instantiation.NamedTypeList
- getNames() - Method in class org.dalesbred.internal.instantiation.NamedTypeList
- getPropagation() - Method in class org.dalesbred.transaction.TransactionSettings
- getQuery() - Method in exception org.dalesbred.DatabaseException
-
If this exception was thrown during an execution of a query, returns the query.
- getRawColumnTypes() - Method in class org.dalesbred.result.ResultTable
- getRawType() - Method in class org.dalesbred.result.ResultTable.ColumnMetadata
-
Returns the raw Java-type of this column.
- getRowCount() - Method in class org.dalesbred.result.ResultTable
- getRows() - Method in class org.dalesbred.result.ResultTable
- getSingleValue() - Method in class org.dalesbred.internal.instantiation.InstantiatorArguments
- getSize() - Method in class org.dalesbred.datatype.InputStreamWithSize
- getSize() - Method in class org.dalesbred.datatype.ReaderWithSize
- getSql() - Method in class org.dalesbred.query.SqlQuery
-
Returns the SQL that is to be execute at the database.
- getTimeout() - Method in class org.dalesbred.query.SqlQuery
-
Returns the timeout of this query.
- getType() - Method in class org.dalesbred.datatype.SqlArray
-
Returns the database type for the array.
- getType() - Method in class org.dalesbred.result.ResultTable.ColumnMetadata
-
Returns the Java-type of this column.
- getType(int) - Method in class org.dalesbred.internal.instantiation.NamedTypeList
- getTypeConversionRegistry() - Method in class org.dalesbred.Database
-
Returns
TypeConversionRegistry
that can be used to register new type-conversions. - getTypeConversionRegistry() - Method in class org.dalesbred.internal.instantiation.InstantiatorProvider
- getTypes() - Method in class org.dalesbred.internal.instantiation.InstantiatorArguments
- getTypes(ResultSetMetaData) - Static method in class org.dalesbred.internal.jdbc.ResultSetUtils
- getValue(String) - Method in interface org.dalesbred.query.VariableResolver
-
Returns the value of given variable, which could be null.
- getValues() - Method in class org.dalesbred.datatype.SqlArray
-
Returns the values of the array.
- getValues() - Method in class org.dalesbred.internal.instantiation.InstantiatorArguments
H
- H2Dialect - Class in org.dalesbred.dialect
-
Support for H2.
- H2Dialect() - Constructor for class org.dalesbred.dialect.H2Dialect
- hasActiveTransaction() - Method in class org.dalesbred.Database
-
Returns true if and only if the current thread has an active transaction for this database.
- hasActiveTransaction() - Method in class org.dalesbred.integration.spring.SpringTransactionManager
- hasActiveTransaction() - Method in class org.dalesbred.transaction.AbstractTransactionManager
- hasActiveTransaction() - Method in interface org.dalesbred.transaction.TransactionManager
-
Returns true if the code is executing inside transaction.
- hasArguments() - Method in class org.dalesbred.query.QueryBuilder
-
Does this query have any arguments?
- hashCode() - Method in class org.dalesbred.query.SqlQuery
- hasJoda() - Static method in class org.dalesbred.integration.joda.JodaTypeConversions
-
Returns true if Joda is found on classpath.
- hasThreeTen() - Static method in class org.dalesbred.integration.threeten.ThreeTenTypeConversions
-
Returns true if java.time is found on classpath.
- HsqldbDialect - Class in org.dalesbred.dialect
-
Support for HSQLDB.
- HsqldbDialect() - Constructor for class org.dalesbred.dialect.HsqldbDialect
I
- identity() - Static method in class org.dalesbred.internal.instantiation.TypeConversion
-
Returns identity-conversion, ie.
- InputStreamWithSize - Class in org.dalesbred.datatype
-
InputStream that also knows the length of its input.
- InputStreamWithSize(InputStream, long) - Constructor for class org.dalesbred.datatype.InputStreamWithSize
- instantiate(InstantiatorArguments) - Method in interface org.dalesbred.internal.instantiation.Instantiator
- InstantiationFailureException - Exception in org.dalesbred.internal.instantiation
-
Exception thrown when there is a problem with instantiation or conversion.
- InstantiationFailureException(String) - Constructor for exception org.dalesbred.internal.instantiation.InstantiationFailureException
- InstantiationFailureException(String, Throwable) - Constructor for exception org.dalesbred.internal.instantiation.InstantiationFailureException
- Instantiator<T> - Interface in org.dalesbred.internal.instantiation
-
Factory for producing objects from given arguments.
- InstantiatorArguments - Class in org.dalesbred.internal.instantiation
-
Contains the arguments of instantiator as well their names and types.
- InstantiatorArguments(NamedTypeList, Object[]) - Constructor for class org.dalesbred.internal.instantiation.InstantiatorArguments
- InstantiatorArguments(NamedTypeList, List<?>) - Constructor for class org.dalesbred.internal.instantiation.InstantiatorArguments
- InstantiatorProvider - Class in org.dalesbred.internal.instantiation
-
Provides
Instantiator
s for classes. - InstantiatorProvider(Dialect) - Constructor for class org.dalesbred.internal.instantiation.InstantiatorProvider
- InstantiatorRowMapper<T> - Class in org.dalesbred.internal.result
- InstantiatorRowMapper(Class<T>, InstantiatorProvider) - Constructor for class org.dalesbred.internal.result.InstantiatorRowMapper
- isAllowImplicitTransactions() - Method in class org.dalesbred.Database
-
If flag is set to true (by default it's false) queries without active transaction will not throw exception but will start a fresh transaction.
- isAssignable(Type, Type) - Static method in class org.dalesbred.internal.utils.TypeUtils
- isEmpty() - Method in class org.dalesbred.query.QueryBuilder
-
Is the query string empty?
- isEnum(Type) - Static method in class org.dalesbred.internal.utils.TypeUtils
- isEqualIgnoringCaseAndUnderscores(String, String) - Static method in class org.dalesbred.internal.utils.StringUtils
-
Returns true if two strings are equal, apart from case differences and underscores.
- Isolation - Enum Class in org.dalesbred.transaction
-
Represents the database isolation levels.
- isPrimitive(Type) - Static method in class org.dalesbred.internal.utils.TypeUtils
- isRollbackOnly() - Method in interface org.dalesbred.transaction.TransactionContext
- iterator() - Method in class org.dalesbred.result.ResultTable
- iterator() - Method in class org.dalesbred.result.ResultTable.ResultRow
J
- JndiUtils - Class in org.dalesbred.internal.utils
- JodaTypeConversions - Class in org.dalesbred.integration.joda
-
Conversions for Joda Time.
L
- list() - Method in interface org.dalesbred.result.RowMapper
-
Creates a
ResultSetProcessor
that applies this row-mapper to every row and results a list. - lookupJndiDataSource(String) - Static method in class org.dalesbred.internal.utils.JndiUtils
M
- makeAccessible(Executable) - Static method in class org.dalesbred.internal.utils.ReflectionUtils
- MANDATORY - Enum constant in enum class org.dalesbred.transaction.Propagation
-
Join existing transaction if there is one, otherwise throw an exception.
- MapResultSetProcessor<K,
V> - Class in org.dalesbred.internal.result -
ResultSetProcessor that expects results with two columns and creates map from them.
- MapResultSetProcessor(Class<K>, Class<V>, InstantiatorProvider) - Constructor for class org.dalesbred.internal.result.MapResultSetProcessor
- mapRow(ResultSet) - Method in class org.dalesbred.internal.result.InstantiatorRowMapper
- mapRow(ResultSet) - Method in interface org.dalesbred.result.RowMapper
-
Produces a single value based on current row.
- mapToList(Collection<? extends A>, Function<? super A, ? extends B>) - Static method in class org.dalesbred.internal.utils.CollectionUtils
- MySQLDialect - Class in org.dalesbred.dialect
-
Support for MySQL.
- MySQLDialect() - Constructor for class org.dalesbred.dialect.MySQLDialect
N
- namedQuery(String, Object) - Static method in class org.dalesbred.query.SqlQuery
-
Constructs a query with named arguments, using the properties/fields of given bean for resolving arguments.
- namedQuery(String, Map<String, ?>) - Static method in class org.dalesbred.query.SqlQuery
-
Constructs a query with named arguments, using given map for resolving the values of arguments.
- namedQuery(String, VariableResolver) - Static method in class org.dalesbred.query.SqlQuery
-
Creates a new
SqlQuery
consisting of given SQL statement and a provider for named arguments. - NamedTypeList - Class in org.dalesbred.internal.instantiation
-
Represents a named list of types, e.g.
- NamedTypeList.Builder - Class in org.dalesbred.internal.instantiation
-
Builder for
NamedTypeList
s. - NESTED - Enum constant in enum class org.dalesbred.transaction.Propagation
-
Start a nested transaction if there is a current transaction, otherwise start a new normal transaction.
- NoActiveTransactionException - Exception in org.dalesbred.transaction
-
Exception thrown when performing an operation that requires a transaction without having an active transaction.
- NoActiveTransactionException(String) - Constructor for exception org.dalesbred.transaction.NoActiveTransactionException
- NonUniqueResultException - Exception in org.dalesbred.result
-
Exception thrown when expecting a unique result from a call, but more then one row of results was returned by the database.
- NonUniqueResultException() - Constructor for exception org.dalesbred.result.NonUniqueResultException
- NonUniqueResultException(String) - Constructor for exception org.dalesbred.result.NonUniqueResultException
- NonUniqueUpdateException - Exception in org.dalesbred.result
-
Exception thrown when expecting update to modify a single row, but zero or multiple rows were modified.
- NonUniqueUpdateException(int) - Constructor for exception org.dalesbred.result.NonUniqueUpdateException
O
- of(String, Object[]) - Static method in class org.dalesbred.datatype.SqlArray
-
Constructs array of specified type.
- of(String, Collection<?>) - Static method in class org.dalesbred.datatype.SqlArray
-
Constructs array of specified type.
- optional() - Method in interface org.dalesbred.result.RowMapper
-
Creates a
ResultSetProcessor
that no rows or single row from database. - optionalDoubleOfNullable(Double) - Static method in class org.dalesbred.internal.utils.OptionalUtils
- optionalIntOfNullable(Integer) - Static method in class org.dalesbred.internal.utils.OptionalUtils
- optionalLongOfNullable(Long) - Static method in class org.dalesbred.internal.utils.OptionalUtils
- OptionalUtils - Class in org.dalesbred.internal.utils
- OracleDialect - Class in org.dalesbred.dialect
-
Support for Oracle.
- OracleDialect() - Constructor for class org.dalesbred.dialect.OracleDialect
- org.dalesbred - package org.dalesbred
-
Contains the most important classes, most notably
Database
. - org.dalesbred.annotation - package org.dalesbred.annotation
-
Annotations that programs can use to customize certain aspects of Dalesbred's functionality.
- org.dalesbred.connection - package org.dalesbred.connection
-
Contains connection-providers for different ways of establishing connections.
- org.dalesbred.conversion - package org.dalesbred.conversion
-
Conversion of database results to classes and vice versa.
- org.dalesbred.datatype - package org.dalesbred.datatype
-
Special data types.
- org.dalesbred.dialect - package org.dalesbred.dialect
-
Support for different databases.
- org.dalesbred.integration.joda - package org.dalesbred.integration.joda
-
Support for Joda Time.
- org.dalesbred.integration.spring - package org.dalesbred.integration.spring
-
Support for Spring Framework.
- org.dalesbred.integration.threeten - package org.dalesbred.integration.threeten
-
Support for ThreeTen.
- org.dalesbred.internal.instantiation - package org.dalesbred.internal.instantiation
-
Support for instantiating objects from result-sets.
- org.dalesbred.internal.jdbc - package org.dalesbred.internal.jdbc
-
Internal JDBC-related functionality.
- org.dalesbred.internal.result - package org.dalesbred.internal.result
-
Internal result-handling classes.
- org.dalesbred.internal.utils - package org.dalesbred.internal.utils
-
Internal utility classes.
- org.dalesbred.query - package org.dalesbred.query
-
Helpers for building
SqlQuery
-objects. - org.dalesbred.result - package org.dalesbred.result
-
Handling database-results.
- org.dalesbred.transaction - package org.dalesbred.transaction
-
Transaction management.
P
- PLACEHOLDER - Static variable in class org.dalesbred.query.QueryBuilder
-
Placeholder to be used in queries for values
- PostgreSQLDialect - Class in org.dalesbred.dialect
-
Support for PostgreSQL.
- PostgreSQLDialect() - Constructor for class org.dalesbred.dialect.PostgreSQLDialect
- Primitives - Class in org.dalesbred.internal.utils
-
Utilities for handling primitive types and their wrappers uniformly.
- process(ResultSet) - Method in class org.dalesbred.internal.result.MapResultSetProcessor
- process(ResultSet) - Method in class org.dalesbred.internal.result.ResultTableResultSetProcessor
- process(ResultSet) - Method in interface org.dalesbred.result.ResultSetProcessor
- propagate(Throwable) - Static method in class org.dalesbred.internal.utils.Throwables
- propagate(Throwable, Class<T>) - Static method in class org.dalesbred.internal.utils.Throwables
- Propagation - Enum Class in org.dalesbred.transaction
-
Transaction propagation types.
Q
- query(String, List<?>) - Static method in class org.dalesbred.query.SqlQuery
- query(String, Object...) - Static method in class org.dalesbred.query.SqlQuery
-
Creates a new
SqlQuery
consisting of given SQL statement and arguments. - QueryBuilder - Class in org.dalesbred.query
-
A very simple builder that can be used to build queries dynamically.
- QueryBuilder() - Constructor for class org.dalesbred.query.QueryBuilder
-
Constructs a new empty QueryBuilder.
- QueryBuilder(String) - Constructor for class org.dalesbred.query.QueryBuilder
-
Constructs a QueryBuilder with given initial SQL-fragment.
- QueryBuilder(String, Object...) - Constructor for class org.dalesbred.query.QueryBuilder
-
Constructs a QueryBuilder with given initial SQL-fragment and arguments.
R
- rawType(Type) - Static method in class org.dalesbred.internal.utils.TypeUtils
- READ_COMMITTED - Enum constant in enum class org.dalesbred.transaction.Isolation
- READ_UNCOMMITTED - Enum constant in enum class org.dalesbred.transaction.Isolation
- ReaderWithSize - Class in org.dalesbred.datatype
-
Reader that also knows the length of its input.
- ReaderWithSize(Reader, long) - Constructor for class org.dalesbred.datatype.ReaderWithSize
- ReflectionUtils - Class in org.dalesbred.internal.utils
- register(TypeConversionRegistry) - Static method in class org.dalesbred.integration.joda.JodaTypeConversions
- register(TypeConversionRegistry) - Static method in class org.dalesbred.integration.threeten.ThreeTenTypeConversions
- registerConversionFromDatabase(Class<S>, Class<T>, Function<S, T>) - Method in interface org.dalesbred.conversion.TypeConversionRegistry
-
Registers conversion from given source database type to given target model type.
- registerConversions(Class<D>, Class<J>, Function<D, J>, Function<J, D>) - Method in interface org.dalesbred.conversion.TypeConversionRegistry
-
Registers conversions from database type to model type and back.
- registerConversionToDatabase(Class<T>, Function<T, ?>) - Method in interface org.dalesbred.conversion.TypeConversionRegistry
-
Registers conversion from given source model type to database type.
- registerEnumConversion(Class<T>, Function<T, K>) - Method in interface org.dalesbred.conversion.TypeConversionRegistry
-
Registers simple enum conversion that uses keyFunction to produce saved value and uses same function on enum constants to convert values back.
- registerNativeEnumConversion(Class<T>, String) - Method in interface org.dalesbred.conversion.TypeConversionRegistry
-
Returns given enum-type to be saved as database native enum of given type name.
- registerNativeEnumConversion(Class<T>, String, Function<T, K>) - Method in interface org.dalesbred.conversion.TypeConversionRegistry
-
Returns given enum-type to be saved as database native enum of given type name.
- registerTypeConversions(TypeConversionRegistry) - Method in class org.dalesbred.dialect.Dialect
- registerTypeConversions(TypeConversionRegistry) - Method in class org.dalesbred.dialect.PostgreSQLDialect
- registerTypeConversions(TypeConversionRegistry) - Method in class org.dalesbred.integration.spring.DalesbredConfigurationSupport
-
Can be overridden by subclasses to register custom type conversions.
- releaseConnection(Connection) - Method in interface org.dalesbred.connection.ConnectionProvider
- releaseConnection(Connection) - Method in class org.dalesbred.connection.DataSourceConnectionProvider
- releaseConnection(Connection) - Method in class org.dalesbred.connection.DriverManagerConnectionProvider
- REPEATABLE_READ - Enum constant in enum class org.dalesbred.transaction.Isolation
- REQUIRED - Enum constant in enum class org.dalesbred.transaction.Propagation
-
Join existing transaction if there is one, otherwise create a new one.
- REQUIRES_NEW - Enum constant in enum class org.dalesbred.transaction.Propagation
-
Always create a new transaction.
- ResultSetProcessor<T> - Interface in org.dalesbred.result
-
Callback for processing a whole
ResultSet
. - ResultSetUtils - Class in org.dalesbred.internal.jdbc
-
Utilities for processing
ResultSet
s. - ResultTable - Class in org.dalesbred.result
-
Represents the results of the query along with its metadata.
- ResultTable.Builder - Class in org.dalesbred.result
-
A builder for building ResultTables.
- ResultTable.ColumnMetadata - Class in org.dalesbred.result
-
Provides metadata about a column of the result.
- ResultTable.ResultRow - Class in org.dalesbred.result
-
Represents a single row of results.
- ResultTableResultSetProcessor - Class in org.dalesbred.internal.result
-
Creates a
ResultTable
fromResultSet
. - ResultTableResultSetProcessor() - Constructor for class org.dalesbred.internal.result.ResultTableResultSetProcessor
- REVERSE - Enum constant in enum class org.dalesbred.query.FetchDirection
- rightPad(String, int, char) - Static method in class org.dalesbred.internal.utils.StringUtils
- RowMapper<T> - Interface in org.dalesbred.result
-
Maps a single row of result-set into an object.
S
- SERIALIZABLE - Enum constant in enum class org.dalesbred.transaction.Isolation
- setAllowImplicitTransactions(boolean) - Method in class org.dalesbred.Database
-
If flag is set to true (by default it's false) queries without active transaction will not throw exception but will start a fresh transaction.
- setDefaultTimeout(Duration) - Method in class org.dalesbred.Database
-
If default timeout is set to non null (by default it's null) all queries will have this timeout value as default, unless is specified directly on
SqlQuery
or is set directly on JDBC Connection parameters. - setFetchDirection(FetchDirection) - Method in class org.dalesbred.query.SqlQuery
-
A non-null fetch direction will be set as the fetch direction for the statements executed from this query.
- setFetchSize(Integer) - Method in class org.dalesbred.query.SqlQuery
-
A non-null fetch size will be set as the fetch size for the statements executed from this query.
- setIsolation(Isolation) - Method in class org.dalesbred.transaction.TransactionSettings
-
Set the default isolation level to use.
- setPropagation(Propagation) - Method in class org.dalesbred.transaction.TransactionSettings
-
Sets the default transaction propagation to use.
- setRollbackOnly() - Method in interface org.dalesbred.transaction.TransactionContext
-
Requests that this transaction will be rolled back.
- setTimeout(Duration) - Method in class org.dalesbred.query.SqlQuery
-
A non-null timeout will be set as the timeout for the statements executed from this query.
- setupDatabase(Database) - Method in class org.dalesbred.integration.spring.DalesbredConfigurationSupport
-
Can be overridden by subclasses to perform custom database setup.
- SingleConnectionTransactionManager - Class in org.dalesbred.transaction
-
A
TransactionManager
that uses single underlyingConnection
. - SingleConnectionTransactionManager(Connection, boolean) - Constructor for class org.dalesbred.transaction.SingleConnectionTransactionManager
-
Constructs a transaction manager that uses given connection.
- size() - Method in class org.dalesbred.internal.instantiation.InstantiatorArguments
- size() - Method in class org.dalesbred.internal.instantiation.NamedTypeList
- SpringTransactionManager - Class in org.dalesbred.integration.spring
-
ConnectionProvider
which integrates with Spring's transaction management. - SpringTransactionManager(DataSource, PlatformTransactionManager) - Constructor for class org.dalesbred.integration.spring.SpringTransactionManager
-
Constructs new SpringTransactionManager to use.
- SQL - Annotation Interface in org.dalesbred.annotation
-
Deprecated.IDEA no longer detects @Language from meta-annotations os use use @Language directly
- SqlArray - Class in org.dalesbred.datatype
-
Wrapper for values that are to be bound as
Array
objects when executing queries. - SqlQuery - Class in org.dalesbred.query
-
Represents an SQL query along all of its arguments.
- SQLServerDialect - Class in org.dalesbred.dialect
-
Support for Microsoft SQL Server.
- SQLServerDialect() - Constructor for class org.dalesbred.dialect.SQLServerDialect
- SqlSyntaxException - Exception in org.dalesbred.query
-
Exception thrown when parsing SQL fails.
- SqlSyntaxException(String, String) - Constructor for exception org.dalesbred.query.SqlSyntaxException
- SqlUtils - Class in org.dalesbred.internal.jdbc
- StringUtils - Class in org.dalesbred.internal.utils
-
Utilities for strings.
- subList(int, int) - Method in class org.dalesbred.internal.instantiation.NamedTypeList
T
- ThreeTenTypeConversions - Class in org.dalesbred.integration.threeten
-
Conversions for ThreeTen.
- Throwables - Class in org.dalesbred.internal.utils
-
Utilities for handling exceptions and other throwables.
- toString() - Method in class org.dalesbred.Database
-
Returns a string containing useful debug information about the state of this object.
- toString() - Method in exception org.dalesbred.DatabaseException
- toString() - Method in class org.dalesbred.datatype.SqlArray
- toString() - Method in class org.dalesbred.dialect.Dialect
- toString() - Method in class org.dalesbred.internal.instantiation.NamedTypeList
- toString() - Method in class org.dalesbred.query.SqlQuery
- toString() - Method in class org.dalesbred.result.ResultTable.ColumnMetadata
- toString() - Method in class org.dalesbred.result.ResultTable.ResultRow
-
Returns a string representation of this row.
- toString() - Method in class org.dalesbred.result.ResultTable
- toString() - Method in class org.dalesbred.transaction.TransactionSettings
- toStringFormatted() - Method in class org.dalesbred.result.ResultTable
-
Returns a formatted representation of this table.
- TransactionCallback<T> - Interface in org.dalesbred.transaction
-
Callback for executing a block of code within a transaction.
- TransactionContext - Interface in org.dalesbred.transaction
-
Provides transactions with access to the context.
- TransactionManager - Interface in org.dalesbred.transaction
-
Abstract the mechanism in which transactions are handled.
- TransactionRollbackException - Exception in org.dalesbred.transaction
-
Exception thrown when transaction rolls back.
- TransactionRollbackException(SQLException) - Constructor for exception org.dalesbred.transaction.TransactionRollbackException
- TransactionSerializationException - Exception in org.dalesbred.transaction
-
Exception thrown when database can't achieve desired isolation level due to concurrent updates.
- TransactionSerializationException(SQLException) - Constructor for exception org.dalesbred.transaction.TransactionSerializationException
- TransactionSettings - Class in org.dalesbred.transaction
-
Contains all the settings that can be configured for individual-transactions.
- TransactionSettings() - Constructor for class org.dalesbred.transaction.TransactionSettings
- truncate(String, int) - Static method in class org.dalesbred.internal.utils.StringUtils
- truncate(String, int, String) - Static method in class org.dalesbred.internal.utils.StringUtils
- TypeConversion - Class in org.dalesbred.internal.instantiation
-
A conversion from S into T.
- TypeConversionPair<D,
J> - Interface in org.dalesbred.conversion -
Interface that contains conversions both to database and back.
- TypeConversionRegistry - Interface in org.dalesbred.conversion
-
Registry containing the type-conversions used when converting database values to model values and vice versa.
- typeParameter(Type) - Static method in class org.dalesbred.internal.utils.TypeUtils
- TypeUtils - Class in org.dalesbred.internal.utils
U
- UnexpectedResultException - Exception in org.dalesbred.result
-
Exception thrown when result from database is unexpected.
- UnexpectedResultException(String) - Constructor for exception org.dalesbred.result.UnexpectedResultException
- unique() - Method in interface org.dalesbred.result.RowMapper
-
Creates a
ResultSetProcessor
that expects a single result row from database. - UNKNOWN - Enum constant in enum class org.dalesbred.query.FetchDirection
- unwrap(Class<T>) - Static method in class org.dalesbred.internal.utils.Primitives
-
Returns the corresponding primitive type for a wrapper type, or the type itself if it is not a wrapper.
- unwrapOptionalAsNull(Object) - Static method in class org.dalesbred.internal.utils.OptionalUtils
-
If object is an empty optional-type, return null.
- update(String, Object...) - Method in class org.dalesbred.Database
-
Executes an update against the database and returns the amount of affected rows.
- update(SqlQuery) - Method in class org.dalesbred.Database
-
Executes an update against the database and returns the amount of affected rows.
- updateAndProcessGeneratedKeys(ResultSetProcessor<T>, List<String>, String, Object...) - Method in class org.dalesbred.Database
- updateAndProcessGeneratedKeys(ResultSetProcessor<T>, List<String>, SqlQuery) - Method in class org.dalesbred.Database
-
Executes an update against the database and return generated keys as extracted by generatedKeysProcessor.
- updateBatch(String, List<? extends List<?>>) - Method in class org.dalesbred.Database
-
Executes a batch update against the database, returning an array of modification counts for each argument list.
- updateBatchAndProcessGeneratedKeys(ResultSetProcessor<T>, List<String>, String, List<? extends List<?>>) - Method in class org.dalesbred.Database
-
Executes batch of updates against the database and return generated keys as extracted by generatedKeysProcessor.
- updateUnique(String, Object...) - Method in class org.dalesbred.Database
-
Execute an update against the database and assert that a single row will be modified.
- updateUnique(SqlQuery) - Method in class org.dalesbred.Database
-
Execute an update against the database and assert that a single row will be modified.
V
- valueOf(String) - Static method in enum class org.dalesbred.query.FetchDirection
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.dalesbred.transaction.Isolation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.dalesbred.transaction.Propagation
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.dalesbred.query.FetchDirection
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.dalesbred.transaction.Isolation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.dalesbred.transaction.Propagation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- valueToDatabase(Object) - Method in class org.dalesbred.dialect.Dialect
- valueToDatabase(Object) - Method in class org.dalesbred.internal.instantiation.InstantiatorProvider
- varchars(String...) - Static method in class org.dalesbred.datatype.SqlArray
-
Constructs varchar array of given values.
- varchars(Collection<String>) - Static method in class org.dalesbred.datatype.SqlArray
-
Constructs varchar array of given values.
- VariableResolutionException - Exception in org.dalesbred.query
-
Exception thrown when a variable could not be resolved.
- VariableResolutionException(String) - Constructor for exception org.dalesbred.query.VariableResolutionException
- VariableResolutionException(String, Throwable) - Constructor for exception org.dalesbred.query.VariableResolutionException
- VariableResolver - Interface in org.dalesbred.query
-
Resolves values for variables appearing in SQL queries with named parameters.
- VoidTransactionCallback - Interface in org.dalesbred.transaction
-
Callback for executing a block of code within a transaction.
W
- withCurrentTransaction(TransactionCallback<T>, Dialect) - Method in class org.dalesbred.integration.spring.SpringTransactionManager
- withCurrentTransaction(TransactionCallback<T>, Dialect) - Method in class org.dalesbred.transaction.AbstractTransactionManager
- withCurrentTransaction(TransactionCallback<T>, Dialect) - Method in interface org.dalesbred.transaction.TransactionManager
-
Executes given callback within current transaction.
- withNewTransaction(TransactionCallback<T>, Dialect, Isolation) - Method in class org.dalesbred.transaction.AbstractTransactionManager
- withNewTransaction(TransactionCallback<T>, Dialect, Isolation) - Method in class org.dalesbred.transaction.DefaultTransactionManager
- withNewTransaction(TransactionCallback<T>, Dialect, Isolation) - Method in class org.dalesbred.transaction.SingleConnectionTransactionManager
- withSuspendedTransaction(TransactionCallback<T>, Isolation, Dialect) - Method in class org.dalesbred.transaction.AbstractTransactionManager
- withSuspendedTransaction(TransactionCallback<T>, Isolation, Dialect) - Method in class org.dalesbred.transaction.DefaultTransactionManager
- withSuspendedTransaction(TransactionCallback<T>, Isolation, Dialect) - Method in class org.dalesbred.transaction.SingleConnectionTransactionManager
- withTransaction(Isolation, TransactionCallback<T>) - Method in class org.dalesbred.Database
-
Executes a block of code with given isolation.
- withTransaction(Propagation, Isolation, TransactionCallback<T>) - Method in class org.dalesbred.Database
-
Executes a block of code with given propagation and isolation.
- withTransaction(Propagation, TransactionCallback<T>) - Method in class org.dalesbred.Database
-
Executes a block of code with given propagation and configuration default isolation.
- withTransaction(TransactionCallback<T>) - Method in class org.dalesbred.Database
-
Executes a block of code within a context of a transaction, using
Propagation.REQUIRED
propagation. - withTransaction(TransactionSettings, TransactionCallback<T>) - Method in class org.dalesbred.Database
-
Executes a block of code with given transaction settings.
- withTransaction(TransactionSettings, TransactionCallback<T>, Dialect) - Method in class org.dalesbred.integration.spring.SpringTransactionManager
- withTransaction(TransactionSettings, TransactionCallback<T>, Dialect) - Method in class org.dalesbred.transaction.AbstractTransactionManager
- withTransaction(TransactionSettings, TransactionCallback<T>, Dialect) - Method in interface org.dalesbred.transaction.TransactionManager
-
Executes given callback with given transaction settings.
- withVoidTransaction(Isolation, VoidTransactionCallback) - Method in class org.dalesbred.Database
-
Executes a block of code with given isolation.
- withVoidTransaction(Propagation, Isolation, VoidTransactionCallback) - Method in class org.dalesbred.Database
-
Executes a block of code with given propagation and isolation.
- withVoidTransaction(Propagation, VoidTransactionCallback) - Method in class org.dalesbred.Database
-
Executes a block of code with given propagation and configuration default isolation.
- withVoidTransaction(TransactionSettings, VoidTransactionCallback) - Method in class org.dalesbred.Database
-
Executes a block of code with given transaction settings.
- withVoidTransaction(VoidTransactionCallback) - Method in class org.dalesbred.Database
-
Executes a block of code within a context of a transaction, using
Propagation.REQUIRED
propagation. - wrap(Class<T>) - Static method in class org.dalesbred.internal.utils.Primitives
-
Returns the corresponding wrapper type for a primitive type, or the type itself if it is not a primitive type.
- wrap(Type) - Static method in class org.dalesbred.internal.utils.Primitives
- WrappedCheckedException - Exception in org.dalesbred.internal.utils
-
Exception thrown when when checked exception is thrown by some of the callbacks.
- WrappedCheckedException(Throwable) - Constructor for exception org.dalesbred.internal.utils.WrappedCheckedException
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form