Index

A C D F G I L M N O S T U V 
All Classes and Interfaces|All Packages|Serialized Form

A

AnnotationException - Exception Class in io.github.simplejdbcmapper.exception
Annotation Exception.
AnnotationException(String) - Constructor for exception class io.github.simplejdbcmapper.exception.AnnotationException
 
AUTO_GENERATED - Enum constant in enum class io.github.simplejdbcmapper.annotation.IdType
 

C

catalog() - Element in annotation interface io.github.simplejdbcmapper.annotation.Table
 
chunkTheList(List, Integer) - Static method in class io.github.simplejdbcmapper.core.SimpleJdbcMapperUtils
Splits the list into multiple lists by chunk size.
Column - Annotation Interface in io.github.simplejdbcmapper.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 Interface in io.github.simplejdbcmapper.annotation
If a Supplier is configured with SimpleJdbcMapper, the property annotated will be set to the value supplied when the record is created.
CreatedOn - Annotation Interface in io.github.simplejdbcmapper.annotation
If a Supplier is configured with SimpleJdbcMapper, the property annotated will be set to the value supplied when the record is created.

D

delete(Object) - Method in class io.github.simplejdbcmapper.core.SimpleJdbcMapper
Deletes the object from the database.
deleteById(Class, Object) - Method in class io.github.simplejdbcmapper.core.SimpleJdbcMapper
Deletes the object from the database by id.

F

findAll(Class) - Method in class io.github.simplejdbcmapper.core.SimpleJdbcMapper
Find all objects.
findById(Class, Object) - Method in class io.github.simplejdbcmapper.core.SimpleJdbcMapper
finds the object by Id.

G

getBeanFriendlySqlColumns(Class) - Method in class io.github.simplejdbcmapper.core.SimpleJdbcMapper
Gets the columns SQL.
getCatalogName() - Method in class io.github.simplejdbcmapper.core.SimpleJdbcMapper
Get the catalog name.
getConversionService() - Method in class io.github.simplejdbcmapper.core.SimpleJdbcMapper
Exposing the conversion service used, so if necessary new converters can be added etc.
getJdbcClient() - Method in class io.github.simplejdbcmapper.core.SimpleJdbcMapper
Gets the JdbcClient of the SimpleJdbcMapper.
getJdbcTemplate() - Method in class io.github.simplejdbcmapper.core.SimpleJdbcMapper
Gets the JdbcTemplate of the SimpleJdbcMapper.
getNamedParameterJdbcTemplate() - Method in class io.github.simplejdbcmapper.core.SimpleJdbcMapper
Gets the NamedParameterJdbcTemplate of the SimpleJdbcMapper.
getPropertyToColumnMappings(Class) - Method in class io.github.simplejdbcmapper.core.SimpleJdbcMapper
returns a map with all the properties of the mapped class and their corresponding column names
getSchemaName() - Method in class io.github.simplejdbcmapper.core.SimpleJdbcMapper
Get the schema name.

I

Id - Annotation Interface in io.github.simplejdbcmapper.annotation
Annotation for Identifier.
IdType - Enum Class in io.github.simplejdbcmapper.annotation
The type of the @id annotation.
insert(Object) - Method in class io.github.simplejdbcmapper.core.SimpleJdbcMapper
Inserts an object.
io.github.simplejdbcmapper.annotation - package io.github.simplejdbcmapper.annotation
 
io.github.simplejdbcmapper.core - package io.github.simplejdbcmapper.core
 
io.github.simplejdbcmapper.exception - package io.github.simplejdbcmapper.exception
 

L

loadMapping(Class) - Method in class io.github.simplejdbcmapper.core.SimpleJdbcMapper
Loads the mapping for a class.

M

MANUAL - Enum constant in enum class io.github.simplejdbcmapper.annotation.IdType
 
MapperException - Exception Class in io.github.simplejdbcmapper.exception
Generic Mapper Exception.
MapperException(Exception) - Constructor for exception class io.github.simplejdbcmapper.exception.MapperException
 
MapperException(String) - Constructor for exception class io.github.simplejdbcmapper.exception.MapperException
 
MapperException(String, Exception) - Constructor for exception class io.github.simplejdbcmapper.exception.MapperException
 
mergeResultsToPopulateHasMany(List, List, String, String, String) - Static method in class io.github.simplejdbcmapper.core.SimpleJdbcMapperUtils
Merges the corresponding list of child objects to the 'hasMany' property of the parent
mergeResultsToPopulateHasOne(List, List, String, String, String) - Static method in class io.github.simplejdbcmapper.core.SimpleJdbcMapperUtils
Merges the corresponding child object to the 'hasOne' property of the parent.

N

name() - Element in annotation interface io.github.simplejdbcmapper.annotation.Column
 
name() - Element in annotation interface io.github.simplejdbcmapper.annotation.Table
 

O

OptimisticLockingException - Exception Class in io.github.simplejdbcmapper.exception
updates with stale data will throw this exception when model property is annotated with @Version.
OptimisticLockingException(String) - Constructor for exception class io.github.simplejdbcmapper.exception.OptimisticLockingException
 

S

schema() - Element in annotation interface io.github.simplejdbcmapper.annotation.Table
 
setConversionService(ConversionService) - Method in class io.github.simplejdbcmapper.core.SimpleJdbcMapper
Set the conversion service
setRecordAuditedBySupplier(Supplier) - Method in class io.github.simplejdbcmapper.core.SimpleJdbcMapper
Set the Supplier that is used to populate the @CreatedBy and @UpdatedBy annotated properties.
setRecordAuditedOnSupplier(Supplier) - Method in class io.github.simplejdbcmapper.core.SimpleJdbcMapper
Set the Supplier that is used to populate the @CreatedOn and @UpdatedOn annotated properties.
SimpleJdbcMapper - Class in io.github.simplejdbcmapper.core
CRUD methods and configuration for SimpleJdbcMapper.
SimpleJdbcMapper(DataSource) - Constructor for class io.github.simplejdbcmapper.core.SimpleJdbcMapper
Constructor.
SimpleJdbcMapper(DataSource, String) - Constructor for class io.github.simplejdbcmapper.core.SimpleJdbcMapper
Constructor.
SimpleJdbcMapper(DataSource, String, String) - Constructor for class io.github.simplejdbcmapper.core.SimpleJdbcMapper
Constructor.
SimpleJdbcMapperUtils - Class in io.github.simplejdbcmapper.core
Some utility methods.
sqlType() - Element in annotation interface io.github.simplejdbcmapper.annotation.Column
 

T

Table - Annotation Interface in io.github.simplejdbcmapper.annotation
Annotation to map an object to a database table.
type() - Element in annotation interface io.github.simplejdbcmapper.annotation.Id
 

U

update(Object) - Method in class io.github.simplejdbcmapper.core.SimpleJdbcMapper
Update the object.
UpdatedBy - Annotation Interface in io.github.simplejdbcmapper.annotation
If a Supplier is configured with SimpleJdbcMapper, the annotated property value will be set to the value supplied when the record is updated.
UpdatedOn - Annotation Interface in io.github.simplejdbcmapper.annotation
If a Supplier is configured with SimpleJdbcMapper, the annotated property value will be set to the value supplied when the record is updated.
updateSpecificProperties(Object, String...) - Method in class io.github.simplejdbcmapper.core.SimpleJdbcMapper
Updates only the specified properties passed in as arguments.

V

valueOf(String) - Static method in enum class io.github.simplejdbcmapper.annotation.IdType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class io.github.simplejdbcmapper.annotation.IdType
Returns an array containing the constants of this enum class, in the order they are declared.
Version - Annotation Interface in io.github.simplejdbcmapper.annotation
This annotation is used for optimistic locking.
A C D F G I L M N O S T U V 
All Classes and Interfaces|All Packages|Serialized Form