public class JavaxPersistenceImpl extends Object implements JavaxPersistenceConfigurer
Constructor and Description |
---|
JavaxPersistenceImpl() |
Modifier and Type | Method and Description |
---|---|
DatabaseFieldConfig |
createFieldConfig(DatabaseType databaseType,
Field field)
Create and return a field config from the javax.persistence annotations associated with the field argument or
null if no annotations present.
|
String |
getEntityName(Class<?> clazz)
Return the javax.persistence.Entity annotation name for the class argument or null if none or if there was no
entity name.
|
public DatabaseFieldConfig createFieldConfig(DatabaseType databaseType, Field field)
JavaxPersistenceConfigurer
createFieldConfig
in interface JavaxPersistenceConfigurer
public String getEntityName(Class<?> clazz)
JavaxPersistenceConfigurer
getEntityName
in interface JavaxPersistenceConfigurer
This documentation is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.