public class EntityDefinition extends ManagedClassDefinition
| Constructor and Description |
|---|
EntityDefinition(Class<?> clazz)
gives you Entity with id property selected on the basis of @Id annotation
|
EntityDefinition(Class<?> clazz,
String idPropertyName)
gives you Entity with id property selected explicitly by name
|
| Modifier and Type | Method and Description |
|---|---|
String |
getIdPropertyName() |
boolean |
hasCustomId() |
equals, getClazz, hashCodeCopyright © 2014. All rights reserved.