Models the mapping from GORM classes to the db.
| Fields inherited from class | Fields |
|---|---|
class Entity |
ALL_DATA_SOURCES, DEFAULT_DATA_SOURCE |
| Type | Name and description |
|---|---|
boolean |
autoImportSets whether packaged domain classes should be auto-imported in HQL queries |
boolean |
autoTimestampSets whether automatic timestamping should occur for columns like last_updated and date_created |
java.lang.Integer |
batchSizeThe batch size to use for lazy loading |
CacheConfig |
cacheCaching config |
java.util.Map<java.lang.String, PropertyConfig> |
columns |
java.lang.String |
commentDDL comment. |
java.lang.String |
discriminatorValue used to discriminate entities in table-per-hierarchy inheritance mapping |
ColumnConfig |
discriminatorColumnUsed to configure the disriminator column properties |
java.util.Map |
discriminatorMapUsed to hold the attributes for Discriminator, such as formula, type and insertable |
boolean |
dynamicInsertWhether to use dynamically created insert queries, at the cost of some performance |
boolean |
dynamicUpdateWhether to use dynamically created update queries, at the cost of some performance |
Property |
identityThe identity definition |
SortConfig |
sortUsed to hold the names and directions of the default property to sort by |
Table |
tableThe table |
boolean |
tablePerConcreteClassSets whether to use table-per-concrete-class or table-per-subclass mapping |
boolean |
tablePerHierarchySets whether to use table-per-hierarchy or table-per-subclass mapping |
java.util.Map |
userTypesCustom hibernate user types |
java.lang.String |
versionColumnThe name of the column used for the version number |
boolean |
versionedWhether the class is versioned for optimistic locking |
| Type Params | Return Type | Name and description |
|---|---|---|
|
PropertyConfig |
getPropertyConfig(java.lang.String name)Obtains a PropertyConfig object for the given name |
|
java.lang.String |
getTableName()The table name |
|
java.lang.String |
getTypeName(java.lang.Class theClass)Return a type name of the known custom user types |
|
boolean |
isTablePerConcreteClass() |
|
void |
setTableName(java.lang.String name)Set the table name |
|
void |
setTablePerConcreteClass(boolean tablePerConcreteClass) |
| Methods inherited from class | Name |
|---|---|
class Entity |
connection, connections, connections, datasource, getSort, isVersioned, setSort |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Sets whether packaged domain classes should be auto-imported in HQL queries
Sets whether automatic timestamping should occur for columns like last_updated and date_created
The batch size to use for lazy loading
Caching config
DDL comment.
Value used to discriminate entities in table-per-hierarchy inheritance mapping
Used to configure the disriminator column properties
Used to hold the attributes for Discriminator, such as formula, type and insertable
Whether to use dynamically created insert queries, at the cost of some performance
Whether to use dynamically created update queries, at the cost of some performance
The identity definition
Used to hold the names and directions of the default property to sort by
The table
Sets whether to use table-per-concrete-class or table-per-subclass mapping
Sets whether to use table-per-hierarchy or table-per-subclass mapping
Custom hibernate user types
The name of the column used for the version number
Whether the class is versioned for optimistic locking
Obtains a PropertyConfig object for the given name
The table name
Return a type name of the known custom user types
Set the table name