- generateDAO(PersistenceManager, String, String) - Method in class de.uhilger.baselink.Util
-
Generate a database transfer object (DTO) for a table
This method is kept for compatibility reasons, it maps to
generateDTO
.
- generateDTO(PersistenceManager, String, String) - Method in class de.uhilger.baselink.Util
-
Generate a database transfer object (DTO) for a table
- GenericRecord - Class in de.uhilger.baselink
-
Universal mapping of objects to and from a database
Any class that has annotations for DBTable
and
DBColumns
can be persisted using GenericRecord
.
- GenericRecord(Class<?>) - Constructor for class de.uhilger.baselink.GenericRecord
-
Create a new object of class GenericRecord
- getColumnName() - Method in class de.uhilger.baselink.Field
-
Get the column name of this field
- getColumns(PersistenceManager, Connection, String, String) - Method in class de.uhilger.baselink.Util
-
Get a description of the columns of a database table
- getColumnType() - Method in class de.uhilger.baselink.Field
-
Get the column type of this field
- getConnection() - Method in class de.uhilger.baselink.PersistenceManager
-
Get a database connection
- getDeleteStatment(Connection, Object) - Method in class de.uhilger.baselink.BaseRecord
-
Get a statement suitable to delete a given object from the database
Override this method in subclasses as required
- getDeleteStatment(Connection, Object) - Method in class de.uhilger.baselink.GenericRecord
-
Get a statement suitable to delete a given object from the database
- getDeleteStatment(Connection, Object) - Method in interface de.uhilger.baselink.Record
-
Get a statement suitable to delete a given object from the database
- getGetter() - Method in class de.uhilger.baselink.Field
-
Get the getter method for this field
- getInsertStatment(Connection, Object) - Method in class de.uhilger.baselink.BaseRecord
-
Get a statement suitable to insert a given object to the database
Override this method in subclasses as required
- getInsertStatment(Connection, Object) - Method in class de.uhilger.baselink.GenericRecord
-
Get a statement suitable to insert a given object to the database
- getInsertStatment(Connection, Object) - Method in interface de.uhilger.baselink.Record
-
Get a statement suitable to insert a given object to the database
- getInsertStmt(Connection, Object, int) - Method in class de.uhilger.baselink.BaseRecord
-
Get a statement suitable to insert a given object to the database
- getInsertStmt(Connection, Object, int) - Method in class de.uhilger.baselink.GenericRecord
-
Get a statement suitable to insert a given object to the database
- getInsertStmt(Connection, Object, int) - Method in interface de.uhilger.baselink.Record
-
Get a statement suitable to insert a given object to the database
- getPrimaryKeys(PersistenceManager, Connection, String, String) - Method in class de.uhilger.baselink.Util
-
Get a description of the primary keys of a database table
- getSetter() - Method in class de.uhilger.baselink.Field
-
Get the setter method of this field
- getTableName() - Method in class de.uhilger.baselink.BaseRecord
-
Get the name of the database table this record references
Override this method in subclasses as required
- getTableName() - Method in class de.uhilger.baselink.GenericRecord
-
Get the name of the database table this record references
- getTableName() - Method in interface de.uhilger.baselink.Record
-
Get the name of the database table this record references
- GETTER_NAME - Static variable in class de.uhilger.baselink.GenericRecord
-
default getter method indicator
- getUpdateStatment(Connection, Object) - Method in class de.uhilger.baselink.BaseRecord
-
Get a statement suitable to update a given object in the database
Override this method in subclasses as required
- getUpdateStatment(Connection, Object) - Method in class de.uhilger.baselink.GenericRecord
-
Get a statement suitable to update a given object in the database
- getUpdateStatment(Connection, Object) - Method in interface de.uhilger.baselink.Record
-
Get a statement suitable to update a given object in the database