| Modifier and Type | Method and Description |
|---|---|
| public CacheKeyType | |
| public Column[] | |
| public IdValidation |
| cacheKeyType | back to summary |
|---|---|
| public CacheKeyType cacheKeyType() (Optional) Configures what cache key type is used to store the object in the cache. By default the type is determined by what type is optimal for the class. | |
| columns | back to summary |
|---|---|
| public Column[] columns() (Optional) Used to specify the primary key columns directly. This can be used instead of @Id if the primary key includes a non basic field, such as a foreign key, or a inheritance discriminator, embedded, or transformation mapped field. | |
| validation | back to summary |
|---|---|
| public IdValidation validation() (Optional) Configures what id validation is done. By default 0 is not a valid id value, this can be used to allow 0 id values. | |