Custom mapping for a single domain property. Note that a property can have multiple columns via a component or a user type.
Type | Name and description |
---|---|
java.lang.Integer |
batchSize The batch size used for lazy loading |
CacheConfig |
cache |
java.util.List<ColumnConfig> |
columns |
boolean |
explicitSaveUpdateCascade |
boolean |
ignoreNotFound Whether to ignore ObjectNotFoundException |
PropertyConfig |
indexColumn The column used to produce the index for index based collections (lists and maps) |
boolean |
insertable Whether or not this is column is insertable by hibernate |
JoinTable |
joinTable |
java.lang.String |
order The default sort order |
java.lang.String |
sort The default sort property name |
java.lang.Object |
type The Hibernate type or user type of the property. |
java.util.Properties |
typeParams The parameters for the property that can be used to configure a Hibernate ParameterizedType implementation. |
boolean |
updatable Whether or not this column is updatable by hibernate |
Constructor and description |
---|
PropertyConfig
() |
Type Params | Return Type | Name and description |
---|---|---|
|
protected void |
checkHasSingleColumn() |
|
PropertyConfig |
clone() |
|
java.lang.String |
getColumn() Shortcut to get the column name for this property. |
|
java.lang.String |
getEnumType() |
|
org.hibernate.FetchMode |
getFetchMode() @return The Hibernate org.hibernate.FetchMode |
|
java.lang.String |
getIndex() Shortcut to get the index setting for this property's column. |
|
int |
getLength() Shortcut to get the length of this property's column. |
|
int |
getPrecision() Shortcut to get the precision of this property's column. |
|
int |
getScale() Shortcut to get the scale of this property's column. |
|
java.lang.String |
getSqlType() Shortcut to get the SQL type of the corresponding column. |
|
boolean |
getUpdateable() Whether or not this column is updatable by hibernate |
|
boolean |
isUnique() Shortcut to determine whether the property's column is configured to be unique. |
|
void |
setFetch(org.hibernate.FetchMode fetch) @param fetch The Hibernate org.hibernate.FetchMode |
|
void |
setScale(int scale) |
|
void |
setUpdateable(boolean updateable) Whether or not this column is updatable by hibernate |
|
java.lang.String |
toString() |
Methods inherited from class | Name |
---|---|
class Property |
clone, getAccessType, getCascade, getEnumType, getEnumTypeObject, getFetchStrategy, getFormula, getGenerator, getInList, getLazy, getMax, getMaxSize, getMin, getMinSize, getName, getScale, getTargetName, getUniquenessGroup, isDerived, isIndex, isLazy, isNullable, isReference, isUnique, isUniqueWithinGroup, setAccessType, setCascade, setDerived, setEnumType, setEnumType, setFetch, setFetchStrategy, setFormula, setGenerator, setInList, setIndex, setLazy, setMax, setMaxSize, setMin, setMinSize, setName, setNullable, setRange, setReference, setScale, setSize, setTargetName, setUnique, setUnique, setUnique |
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() |
The batch size used for lazy loading
Whether to ignore ObjectNotFoundException
The column used to produce the index for index based collections (lists and maps)
Whether or not this is column is insertable by hibernate
The default sort order
The default sort property name
The Hibernate type or user type of the property. This can be a string or a class.
The parameters for the property that can be used to configure a Hibernate ParameterizedType implementation.
Whether or not this column is updatable by hibernate
Shortcut to get the column name for this property.
Shortcut to get the index setting for this property's column.
Shortcut to get the length of this property's column.
Shortcut to get the precision of this property's column.
Shortcut to get the scale of this property's column.
Shortcut to get the SQL type of the corresponding column.
Whether or not this column is updatable by hibernate
Shortcut to determine whether the property's column is configured to be unique.
fetch
- The Hibernate org.hibernate.FetchModeWhether or not this column is updatable by hibernate