Index

A B C D E F G H I J L M N O P Q S T U V W 
All Classes and Interfaces|All Packages|Serialized Form

A

AnnotationException - Exception in io.github.jdbctemplatemapper.exception
Annotation Exception.
AnnotationException(String) - Constructor for exception io.github.jdbctemplatemapper.exception.AnnotationException
 
AUTO_INCREMENT - Enum constant in enum io.github.jdbctemplatemapper.annotation.IdType
 

B

buildModel(ResultSet) - Method in class io.github.jdbctemplatemapper.core.SelectMapper
Builds the model from the resultSet.

C

catalog() - Element in annotation type io.github.jdbctemplatemapper.annotation.Table
 
Column - Annotation Type in io.github.jdbctemplatemapper.annotation
Properties that need be persisted to the database will need this annotation unless the property is already annotated with one of the other annotations.
CreatedBy - Annotation Type in io.github.jdbctemplatemapper.annotation
If IRecordOperatorResolver is implemented and configured with JdbcTemplateMapper the value will be set to value returned by implementation when the record is created.
CreatedOn - Annotation Type in io.github.jdbctemplatemapper.annotation
When record is created the property will be set to LocalDateTime.now().

D

delete(Object) - Method in class io.github.jdbctemplatemapper.core.JdbcTemplateMapper
Deletes the object from the database.
deleteById(Class<?>, Object) - Method in class io.github.jdbctemplatemapper.core.JdbcTemplateMapper
Deletes the object from the database by id.

E

execute(JdbcTemplateMapper) - Method in class io.github.jdbctemplatemapper.core.Query
Execute the query using the jdbcTemplateMapper.
execute(JdbcTemplateMapper) - Method in class io.github.jdbctemplatemapper.core.QueryCount
The executes query and returns count.
execute(JdbcTemplateMapper) - Method in interface io.github.jdbctemplatemapper.query.IQueryExecute
 
execute(JdbcTemplateMapper) - Method in interface io.github.jdbctemplatemapper.query.IQueryLimitOffsetClause
 
execute(JdbcTemplateMapper) - Method in interface io.github.jdbctemplatemapper.query.IQueryOrderBy
 
execute(JdbcTemplateMapper) - Method in interface io.github.jdbctemplatemapper.query.IQueryPopulateProperty
 
execute(JdbcTemplateMapper) - Method in interface io.github.jdbctemplatemapper.query.IQueryType
 
execute(JdbcTemplateMapper) - Method in interface io.github.jdbctemplatemapper.query.IQueryWhere
 
execute(JdbcTemplateMapper) - Method in interface io.github.jdbctemplatemapper.querycount.IQueryCountExecute
 
execute(JdbcTemplateMapper) - Method in interface io.github.jdbctemplatemapper.querycount.IQueryCountJoinColumnTypeSide
 
execute(JdbcTemplateMapper) - Method in interface io.github.jdbctemplatemapper.querycount.IQueryCountType
 
execute(JdbcTemplateMapper) - Method in interface io.github.jdbctemplatemapper.querycount.IQueryCountWhere
 
execute(JdbcTemplateMapper, List<T>) - Method in class io.github.jdbctemplatemapper.core.QueryMerge
The query executes an sql 'IN' clause to get the related side (hasOne, hasMany, hasMany through) objects and merges those with the objects in the mergeList.
execute(JdbcTemplateMapper, List<T>) - Method in interface io.github.jdbctemplatemapper.querymerge.IQueryMergeExecute
 
execute(JdbcTemplateMapper, List<T>) - Method in interface io.github.jdbctemplatemapper.querymerge.IQueryMergeOrderBy
 
execute(JdbcTemplateMapper, List<T>) - Method in interface io.github.jdbctemplatemapper.querymerge.IQueryMergePopulateProperty
 

F

findAll(Class<T>) - Method in class io.github.jdbctemplatemapper.core.JdbcTemplateMapper
Find all objects.
findAll(Class<T>, String) - Method in class io.github.jdbctemplatemapper.core.JdbcTemplateMapper
Find all objects ordered by orderByPropertyName ascending.
findById(Class<T>, Object) - Method in class io.github.jdbctemplatemapper.core.JdbcTemplateMapper
finds the object by Id.

G

getBeanColumnsSql(Class<?>) - Method in class io.github.jdbctemplatemapper.core.JdbcTemplateMapper
returns a string which can be used in a sql select statement.
getCatalogName() - Method in class io.github.jdbctemplatemapper.core.JdbcTemplateMapper
Get the catalog name.
getColumnName(Class<?>, String) - Method in class io.github.jdbctemplatemapper.core.JdbcTemplateMapper
Get the column name of a property of the Model.
getColumnsSql() - Method in class io.github.jdbctemplatemapper.core.SelectMapper
returns a string which can be used in a sql select statement with all the properties which have corresponding database columns.
getConversionService() - Method in class io.github.jdbctemplatemapper.core.JdbcTemplateMapper
Exposing the conversion service used so if necessary new converters can be added.
getJdbcTemplate() - Method in class io.github.jdbctemplatemapper.core.JdbcTemplateMapper
Gets the JdbcTemplate of the jdbcTemplateMapper.
getModelIdType() - Method in class io.github.jdbctemplatemapper.core.SelectMapper
Get the models id type.
getNamedParameterJdbcTemplate() - Method in class io.github.jdbctemplatemapper.core.JdbcTemplateMapper
Gets the NamedParameterJdbcTemplate of the jdbcTemplateMapper.
getRecordOperator() - Method in interface io.github.jdbctemplatemapper.core.IRecordOperatorResolver
The implementation should return the value (name/id etc) which is used to populate the created by and updated by properties of the object while inserting/updating
getResultSetModelIdColumnLabel() - Method in class io.github.jdbctemplatemapper.core.SelectMapper
gets column alias of the models id in sql statement.
getSchemaName() - Method in class io.github.jdbctemplatemapper.core.JdbcTemplateMapper
Get the schema name.
getSelectMapper(Class<T>, String) - Method in class io.github.jdbctemplatemapper.core.JdbcTemplateMapper
Gets a SelectMapper for the class and table alias.
getTableAlias() - Method in class io.github.jdbctemplatemapper.core.SelectMapper
Get the table alias of the SelectMapper.
getType() - Method in class io.github.jdbctemplatemapper.core.SelectMapper
Get the type the SelectMapper is for.

H

hasMany(Class<?>) - Method in class io.github.jdbctemplatemapper.core.Query
The hasMany relationship.
hasMany(Class<?>) - Method in class io.github.jdbctemplatemapper.core.QueryMerge
hasMany relationship.
hasMany(Class<?>) - Method in interface io.github.jdbctemplatemapper.query.IQueryType
 
hasMany(Class<?>) - Method in interface io.github.jdbctemplatemapper.querymerge.IQueryMergeType
 
hasMany(Class<?>, String) - Method in class io.github.jdbctemplatemapper.core.Query
The hasMany relationship.
hasMany(Class<?>, String) - Method in class io.github.jdbctemplatemapper.core.QueryMerge
hasMany relationship.
hasMany(Class<?>, String) - Method in interface io.github.jdbctemplatemapper.query.IQueryType
 
hasMany(Class<?>, String) - Method in interface io.github.jdbctemplatemapper.querymerge.IQueryMergeType
 
hasOne(Class<?>) - Method in class io.github.jdbctemplatemapper.core.Query
The hasOne relationship.
hasOne(Class<?>) - Method in class io.github.jdbctemplatemapper.core.QueryCount
The hasOne relationship.
hasOne(Class<?>) - Method in class io.github.jdbctemplatemapper.core.QueryMerge
hasOne relationship.
hasOne(Class<?>) - Method in interface io.github.jdbctemplatemapper.query.IQueryType
 
hasOne(Class<?>) - Method in interface io.github.jdbctemplatemapper.querycount.IQueryCountType
 
hasOne(Class<?>) - Method in interface io.github.jdbctemplatemapper.querymerge.IQueryMergeType
 
hasOne(Class<?>, String) - Method in class io.github.jdbctemplatemapper.core.Query
The hasOne relationship.
hasOne(Class<?>, String) - Method in class io.github.jdbctemplatemapper.core.QueryCount
The hasOne relationship.
hasOne(Class<?>, String) - Method in class io.github.jdbctemplatemapper.core.QueryMerge
hasOne relationship.
hasOne(Class<?>, String) - Method in interface io.github.jdbctemplatemapper.query.IQueryType
 
hasOne(Class<?>, String) - Method in interface io.github.jdbctemplatemapper.querycount.IQueryCountType
 
hasOne(Class<?>, String) - Method in interface io.github.jdbctemplatemapper.querymerge.IQueryMergeType
 

I

Id - Annotation Type in io.github.jdbctemplatemapper.annotation
Annotation for Identifier.
IdType - Enum in io.github.jdbctemplatemapper.annotation
The type of the @id annotation.
includeSynonymsForTableColumnMetaData() - Method in class io.github.jdbctemplatemapper.core.JdbcTemplateMapper
Oracle needs this to get the meta-data of table synonyms.
insert(Object) - Method in class io.github.jdbctemplatemapper.core.JdbcTemplateMapper
Inserts an object.
io.github.jdbctemplatemapper.annotation - package io.github.jdbctemplatemapper.annotation
 
io.github.jdbctemplatemapper.core - package io.github.jdbctemplatemapper.core
 
io.github.jdbctemplatemapper.exception - package io.github.jdbctemplatemapper.exception
 
io.github.jdbctemplatemapper.query - package io.github.jdbctemplatemapper.query
 
io.github.jdbctemplatemapper.querycount - package io.github.jdbctemplatemapper.querycount
 
io.github.jdbctemplatemapper.querymerge - package io.github.jdbctemplatemapper.querymerge
 
IQueryCountExecute<T> - Interface in io.github.jdbctemplatemapper.querycount
The execute interface.
IQueryCountFluent<T> - Interface in io.github.jdbctemplatemapper.querycount
The fluent style interface for QueryCount.
IQueryCountHasOne<T> - Interface in io.github.jdbctemplatemapper.querycount
interface with the next methods in the chain.
IQueryCountJoinColumnTypeSide<T> - Interface in io.github.jdbctemplatemapper.querycount
interface with the next methods in the chain.
IQueryCountType<T> - Interface in io.github.jdbctemplatemapper.querycount
interface with the next methods in the chain.
IQueryCountWhere<T> - Interface in io.github.jdbctemplatemapper.querycount
interface with the next methods in the chain.
IQueryExecute<T> - Interface in io.github.jdbctemplatemapper.query
The execute interface.
IQueryFluent<T> - Interface in io.github.jdbctemplatemapper.query
The fluent style interface for Query.
IQueryHasMany<T> - Interface in io.github.jdbctemplatemapper.query
interface with the next methods in the chain.
IQueryHasOne<T> - Interface in io.github.jdbctemplatemapper.query
interface with the next methods in the chain.
IQueryJoinColumnManySide<T> - Interface in io.github.jdbctemplatemapper.query
interface with the next methods in the chain.
IQueryJoinColumnTypeSide<T> - Interface in io.github.jdbctemplatemapper.query
interface with the next methods in the chain.
IQueryLimitOffsetClause<T> - Interface in io.github.jdbctemplatemapper.query
interface with the next methods in the chain.
IQueryMergeExecute<T> - Interface in io.github.jdbctemplatemapper.querymerge
The execute interface.
IQueryMergeFluent<T> - Interface in io.github.jdbctemplatemapper.querymerge
The fluent style interface for QueryMerge.
IQueryMergeHasMany<T> - Interface in io.github.jdbctemplatemapper.querymerge
interface with the next methods in the chain.
IQueryMergeHasOne<T> - Interface in io.github.jdbctemplatemapper.querymerge
interface with the next methods in the chain.
IQueryMergeJoinColumnManySide<T> - Interface in io.github.jdbctemplatemapper.querymerge
interface with the next methods in the chain.
IQueryMergeJoinColumnTypeSide<T> - Interface in io.github.jdbctemplatemapper.querymerge
interface with the next methods in the chain.
IQueryMergeOrderBy<T> - Interface in io.github.jdbctemplatemapper.querymerge
interface with the next methods in the chain.
IQueryMergePopulateProperty<T> - Interface in io.github.jdbctemplatemapper.querymerge
interface with the next methods in the chain.
IQueryMergeThroughJoinColumns<T> - Interface in io.github.jdbctemplatemapper.querymerge
interface with the next methods in the chain.
IQueryMergeThroughJoinTable<T> - Interface in io.github.jdbctemplatemapper.querymerge
interface with the next methods in the chain.
IQueryMergeType<T> - Interface in io.github.jdbctemplatemapper.querymerge
interface with the next methods in the chain.
IQueryOrderBy<T> - Interface in io.github.jdbctemplatemapper.query
interface with the next methods in the chain.
IQueryPopulateProperty<T> - Interface in io.github.jdbctemplatemapper.query
interface with the next methods in the chain.
IQueryThroughJoinColumns<T> - Interface in io.github.jdbctemplatemapper.query
interface with the next methods in the chain.
IQueryThroughJoinTable<T> - Interface in io.github.jdbctemplatemapper.query
interface with the next methods in the chain.
IQueryType<T> - Interface in io.github.jdbctemplatemapper.query
interface with the next methods in the chain.
IQueryWhere<T> - Interface in io.github.jdbctemplatemapper.query
interface with the next methods in the chain.
IRecordOperatorResolver - Interface in io.github.jdbctemplatemapper.core
An implementation of this interface should return the value used to populate properties annotated with @CreatedBy and @UpdatedBy.

J

JdbcTemplateMapper - Class in io.github.jdbctemplatemapper.core
CRUD methods and configuration for JdbcTemplateMapper.
JdbcTemplateMapper(JdbcTemplate) - Constructor for class io.github.jdbctemplatemapper.core.JdbcTemplateMapper
Constructor.
JdbcTemplateMapper(JdbcTemplate, String) - Constructor for class io.github.jdbctemplatemapper.core.JdbcTemplateMapper
Constructor.
JdbcTemplateMapper(JdbcTemplate, String, String) - Constructor for class io.github.jdbctemplatemapper.core.JdbcTemplateMapper
Constructor.
joinColumnManySide(String) - Method in class io.github.jdbctemplatemapper.core.Query
Join column for hasMany relationship: The join column (the foreign key) is on the table of the many side.
joinColumnManySide(String) - Method in class io.github.jdbctemplatemapper.core.QueryMerge
Join column for hasMany relationship: The join column (the foreign key) is on the table of the many side.
joinColumnManySide(String) - Method in interface io.github.jdbctemplatemapper.query.IQueryHasMany
 
joinColumnManySide(String) - Method in interface io.github.jdbctemplatemapper.querymerge.IQueryMergeHasMany
 
joinColumnTypeSide(String) - Method in class io.github.jdbctemplatemapper.core.Query
Join column for hasOne relationship: The join column (the foreign key) is on the table of the type model.
joinColumnTypeSide(String) - Method in class io.github.jdbctemplatemapper.core.QueryCount
Join column for hasOne relationship: The join column (the foreign key) is on the table of the type model.
joinColumnTypeSide(String) - Method in class io.github.jdbctemplatemapper.core.QueryMerge
Join column for hasOne relationship.
joinColumnTypeSide(String) - Method in interface io.github.jdbctemplatemapper.query.IQueryHasOne
 
joinColumnTypeSide(String) - Method in interface io.github.jdbctemplatemapper.querycount.IQueryCountHasOne
 
joinColumnTypeSide(String) - Method in interface io.github.jdbctemplatemapper.querymerge.IQueryMergeHasOne
 

L

limitOffsetClause(String) - Method in class io.github.jdbctemplatemapper.core.Query
The SQL limit Offset clause for the query specific to the database being used.
limitOffsetClause(String) - Method in interface io.github.jdbctemplatemapper.query.IQueryOrderBy
 
limitOffsetClause(String) - Method in interface io.github.jdbctemplatemapper.query.IQueryPopulateProperty
 
limitOffsetClause(String) - Method in interface io.github.jdbctemplatemapper.query.IQueryType
 
limitOffsetClause(String) - Method in interface io.github.jdbctemplatemapper.query.IQueryWhere
 
loadMapping(Class<?>) - Method in class io.github.jdbctemplatemapper.core.JdbcTemplateMapper
Loads the mapping for a class.

M

MANUAL - Enum constant in enum io.github.jdbctemplatemapper.annotation.IdType
 
MapperException - Exception in io.github.jdbctemplatemapper.exception
Generic Mapper Exception.
MapperException(Exception) - Constructor for exception io.github.jdbctemplatemapper.exception.MapperException
 
MapperException(String) - Constructor for exception io.github.jdbctemplatemapper.exception.MapperException
 
MapperException(String, Exception) - Constructor for exception io.github.jdbctemplatemapper.exception.MapperException
 

N

name() - Element in annotation type io.github.jdbctemplatemapper.annotation.Column
 
name() - Element in annotation type io.github.jdbctemplatemapper.annotation.Table
 

O

OptimisticLockingException - Exception in io.github.jdbctemplatemapper.exception
updates with stale data will throw this exception when model property is annotated with @Version.
OptimisticLockingException(String) - Constructor for exception io.github.jdbctemplatemapper.exception.OptimisticLockingException
 
orderBy(String) - Method in class io.github.jdbctemplatemapper.core.Query
The SQL orderBy clause for the query.
orderBy(String) - Method in class io.github.jdbctemplatemapper.core.QueryMerge
The orderBy clause for QueryMerge.
orderBy(String) - Method in interface io.github.jdbctemplatemapper.query.IQueryPopulateProperty
 
orderBy(String) - Method in interface io.github.jdbctemplatemapper.query.IQueryType
 
orderBy(String) - Method in interface io.github.jdbctemplatemapper.query.IQueryWhere
 
orderBy(String) - Method in interface io.github.jdbctemplatemapper.querymerge.IQueryMergePopulateProperty
 

P

populateProperty(String) - Method in class io.github.jdbctemplatemapper.core.Query
The relationship property that needs to be populated on the type type.
populateProperty(String) - Method in class io.github.jdbctemplatemapper.core.QueryMerge
The relationship property that needs to be populated on the type.
populateProperty(String) - Method in interface io.github.jdbctemplatemapper.query.IQueryJoinColumnManySide
 
populateProperty(String) - Method in interface io.github.jdbctemplatemapper.query.IQueryJoinColumnTypeSide
 
populateProperty(String) - Method in interface io.github.jdbctemplatemapper.query.IQueryThroughJoinColumns
 
populateProperty(String) - Method in interface io.github.jdbctemplatemapper.querymerge.IQueryMergeJoinColumnManySide
 
populateProperty(String) - Method in interface io.github.jdbctemplatemapper.querymerge.IQueryMergeJoinColumnTypeSide
 
populateProperty(String) - Method in interface io.github.jdbctemplatemapper.querymerge.IQueryMergeThroughJoinColumns
 

Q

Query<T> - Class in io.github.jdbctemplatemapper.core
Fluent style queries for relationships hasOne, hasMany, hasMany through (many to many).
QueryCount<T> - Class in io.github.jdbctemplatemapper.core
Gets the count of the records for a query.
QueryException - Exception in io.github.jdbctemplatemapper.exception
Query Exception.
QueryException(String) - Constructor for exception io.github.jdbctemplatemapper.exception.QueryException
 
QueryMerge<T> - Class in io.github.jdbctemplatemapper.core
QueryMerge allows query results to be merged with results of another query.

S

schema() - Element in annotation type io.github.jdbctemplatemapper.annotation.Table
 
SelectMapper<T> - Class in io.github.jdbctemplatemapper.core
Allows population of the model from a ResultSet and generating the select columns string for the model.

T

Table - Annotation Type in io.github.jdbctemplatemapper.annotation
Annotation to map an object to a database table.
throughJoinColumns(String, String) - Method in class io.github.jdbctemplatemapper.core.Query
The join columns for the type side and the related side for hasMany through relationship.
throughJoinColumns(String, String) - Method in class io.github.jdbctemplatemapper.core.QueryMerge
The join columns for the type side and the related side for hasMany through relationship.
throughJoinColumns(String, String) - Method in interface io.github.jdbctemplatemapper.query.IQueryThroughJoinTable
 
throughJoinColumns(String, String) - Method in interface io.github.jdbctemplatemapper.querymerge.IQueryMergeThroughJoinTable
 
throughJoinTable(String) - Method in class io.github.jdbctemplatemapper.core.Query
The join table (associative table) for the hasMany through (many to many) relationship.
throughJoinTable(String) - Method in class io.github.jdbctemplatemapper.core.QueryMerge
The join table (associative table) for the hasMany through (many to many) relationship.
throughJoinTable(String) - Method in interface io.github.jdbctemplatemapper.query.IQueryHasMany
 
throughJoinTable(String) - Method in interface io.github.jdbctemplatemapper.querymerge.IQueryMergeHasMany
 
type() - Element in annotation type io.github.jdbctemplatemapper.annotation.Id
 
type(Class<T>) - Static method in class io.github.jdbctemplatemapper.core.Query
The type being queried.
type(Class<T>) - Static method in class io.github.jdbctemplatemapper.core.QueryCount
The type that needs to be counted.
type(Class<T>) - Static method in class io.github.jdbctemplatemapper.core.QueryMerge
The type records the query results are merged to.
type(Class<T>, String) - Static method in class io.github.jdbctemplatemapper.core.Query
The type being queried.
type(Class<T>, String) - Static method in class io.github.jdbctemplatemapper.core.QueryCount
The type that needs to be counted.

U

update(Object) - Method in class io.github.jdbctemplatemapper.core.JdbcTemplateMapper
Update the object.
UpdatedBy - Annotation Type in io.github.jdbctemplatemapper.annotation
If IRecordOperatorResolver is implemented and configured with JdbcTemplateMapper the value will be set to value returned by implementation when the record is updated.
UpdatedOn - Annotation Type in io.github.jdbctemplatemapper.annotation
On updates the property will be set to LocalDateTime.now().
updateProperties(Object, String...) - Method in class io.github.jdbctemplatemapper.core.JdbcTemplateMapper
Updates the specified properties passed in as arguments.

V

valueOf(String) - Static method in enum io.github.jdbctemplatemapper.annotation.IdType
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.github.jdbctemplatemapper.annotation.IdType
Returns an array containing the constants of this enum type, in the order they are declared.
Version - Annotation Type in io.github.jdbctemplatemapper.annotation
This annotation is used for optimistic locking.

W

where(String, Object...) - Method in class io.github.jdbctemplatemapper.core.Query
The SQL where clause.
where(String, Object...) - Method in class io.github.jdbctemplatemapper.core.QueryCount
The SQL where clause.
where(String, Object...) - Method in interface io.github.jdbctemplatemapper.query.IQueryPopulateProperty
 
where(String, Object...) - Method in interface io.github.jdbctemplatemapper.query.IQueryType
 
where(String, Object...) - Method in interface io.github.jdbctemplatemapper.querycount.IQueryCountJoinColumnTypeSide
 
where(String, Object...) - Method in interface io.github.jdbctemplatemapper.querycount.IQueryCountType
 
where(String, Object...) - Method in interface io.github.jdbctemplatemapper.querycount.IQueryCountWhere
 
withRecordOperatorResolver(IRecordOperatorResolver) - Method in class io.github.jdbctemplatemapper.core.JdbcTemplateMapper
An implementation of IRecordOperatorResolver is used to populate the @CreatedBy and @UpdatedBy annotated properties.
A B C D E F G H I J L M N O P Q S T U V W 
All Classes and Interfaces|All Packages|Serialized Form