All Classes

Class Description
AnnotationModule
A helper module which provides functionality for getting information from annotations.
AnnotationModule.AnnotationInfo<A extends Annotation>
A helper class for determining information of an annotation above a field.
ArrayModule<T>
A helper module to work with arrays and especially adding elements to them.
AsyncBaseService<E extends BaseEntity>
This class extends the functionality of a service class by adding support for asynchronous CRUD operations.
AsyncEntityProjectionQuery<E extends BaseEntity,​R>  
AsyncEntityQuery<E extends BaseEntity>  
AsynchronousOperationException
This exception will be thrown when an exception occurs inside of an asynchronous operation and there was no exception handling supplied.
AsyncQueryable<T>  
AsyncSingleEntityProjectionQuery<E extends BaseEntity,​R>  
AsyncSingleEntityQuery<E extends BaseEntity>  
AsyncStoredProcedureQuery<T>  
BaseCodeAndDescriptionDeletableEntity
Describes an entity that has an id, an isDeleted flag, a code and a description.
BaseCodeAndDescriptionDeletableService<T extends BaseCodeAndDescriptionDeletableEntity>
Describes a service class for an entity which contains an id, an isDeleted flag, a code and a description.
BaseCodeAndDescriptionEntity
Describes an entity that has an id, a code and a description.
BaseCodeAndDescriptionService<T extends BaseCodeAndDescriptionEntity>
Describes a service class for an entity which contains an id, a code and a description.
BaseDeletableEntity
Describes an entity that has an id and an isDeleted flag.
BaseDeletableService<T extends BaseDeletableEntity>
Describes a service class for an entity which contains an id and an isDeleted flag.
BaseEntity
Describes an entity that has an id.
BaseService<E extends BaseEntity>
Class that provides base functionality for all service classes.
CacheablePaginationResult<T extends BaseEntity>
Extended class that adds caching functionality to the pagination implementation.
CachingModule<T>
A helper module which contains functionality for basic caching.
ColumnName
Sets the name of a column in a table for a POJO field.
ConnectionConfiguration
A container for database access.
ConnectionFailedException  
DBConnection
Wrapper around Connection which eases use of connecting to a database and running queries.
Default
This annotation tells Java2DB to always use the database-default for a column on create or update.
DefaultIfNull
This annotation tells Java2DB to use the database-default for a column if the corresponding Java field marked with this annotation is null.
EntityMapper<E extends BaseEntity>
Default mapper for converting a ResultSet to the respective Java entity.
EntityProjectionQuery<E extends BaseEntity,​R>
A query which represents a projection from an EntityQuery to a single column on the database.
EntityQuery<E extends BaseEntity>
A class representing a DQL statement with different options, including where clauses, order by clauses and limits.
EntityQueryBuilder<E extends BaseEntity>
Responsible for building the SQL query which expects multiple rows.
FieldMapper<T>
Maps a ResultSet into fields of an object or into simple types.
FieldModule
A helper module for getting fields from classes.
ForeignKeyEntity
Marks a field as the correspondent object to a foreign key.
ForeignKeyEntity.JoinTypes
An enum for specifying the type of join to use when leveraging the automatic join feature via the ForeignKeyEntity attribute.
ForeignKeyPath
This annotation is used to indicate that only a specific column of a table is supposed to be joined when executing the query.
ForeignKeyReference
Describes a foreign key reference to a specific table.
FunctionUtils
A set of utility functions.
IdentifiableEnum
A contract for enums which represent foreign keys.
Ignore
Marks a field as ignored, meaning it does not exist on the database or should not be filled with values.
IllegalEntityFieldAccessException
An exception which occurs when Java2DB tries to access a field in an entity and fails.
IoC
An
IQueryBuilder<E extends BaseEntity>
A general interface which describes building an SQL query.
LazyModule<T>
A helper module to support lazy loading of objects.
Mappable<T>  
OrderByClause<E extends BaseEntity>  
OrderByStatement<E extends BaseEntity>  
OrderTypes
An enum representing the sorting order possibilities in a DQL statement.
PaginationResult<T extends BaseEntity>
Class for a simple pagination implementation.
ProjectionQueryBuilder<E extends BaseEntity,​R>  
Queryable<T>  
QueryBuilder<E extends BaseEntity>  
QueryConstraints
A class which administers default query constraints set for entities.
QueryParameters<E extends BaseEntity>  
SerializableBaseEntity
Use this class when you need your objects to be automatically serializable.
SingleEntityProjectionQuery<E extends BaseEntity,​R>
A query which represents a projection from an SingleEntityQuery to a single column on the database.
SingleEntityQuery<E extends BaseEntity>  
SingleEntityQueryBuilder<E extends BaseEntity>  
StoredProcedureQuery<T>  
TableColumnReference
Describes a column and its table name so they can be referenced together.
TableModule
A helper module for getting information about database tables and their columns.
TableName
Specifies the database table name for an entity.
ThrowableConsumer<T,​E extends Throwable>  
ThrowableFunction<T,​R,​E extends Throwable>  
ThrowableRunnable<E extends Throwable>
Simple hack to add checked error support to a Runnables.
ThrowableSupplier<T,​E extends Throwable>
Simple hack to add checked error support to a Suppliers.
Utilities