@Typed public final class PersistenceUnitDescriptorProvider extends Object
Modifier and Type | Method and Description |
---|---|
String |
entityName(Class<?> entityClass) |
String |
entityTableName(Class<?> entityClass) |
EntityDescriptor |
find(Class<?> entityClass) |
protected EntityDescriptor |
find(Class<?> entityClass,
PersistenceUnitDescriptor descriptor) |
PersistenceUnitDescriptor |
get(String name) |
static PersistenceUnitDescriptorProvider |
getInstance() |
void |
init() |
boolean |
isEntity(Class<?> entityClass) |
String[] |
primaryKeyFields(Class<?> entityClass) |
Class<?> |
primaryKeyIdClass(Class<?> entityClass) |
String |
versionField(Class<?> entityClass) |
public static PersistenceUnitDescriptorProvider getInstance()
public void init()
public PersistenceUnitDescriptor get(String name)
public boolean isEntity(Class<?> entityClass)
public EntityDescriptor find(Class<?> entityClass)
protected EntityDescriptor find(Class<?> entityClass, PersistenceUnitDescriptor descriptor)
Copyright © 2020 The Apache Software Foundation. All rights reserved.