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)
JavaxPersistenceConfigurercreateFieldConfig in interface JavaxPersistenceConfigurerpublic String getEntityName(Class<?> clazz)
JavaxPersistenceConfigurergetEntityName in interface JavaxPersistenceConfigurerThis documentation is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.