public class JpaConfig extends OrmConfig
EntityManagerFactory| Constructor and Description |
|---|
JpaConfig(String persistenceUnitName,
String configFile,
Method configMethod)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getPersistenceUnitName() |
int |
hashCode() |
getConfigFiles, getConfigMethodpublic JpaConfig(String persistenceUnitName, String configFile, Method configMethod)
persistenceUnitName - The name of the persistence unit, as defined in the persistence config fileconfigFile - The name of the persistence.xml file. May be null: in this case, we try to find a
persistence.xml file in the default location META-INF/persistence.xmlconfigMethod - Custom configuration method, null if not availablepublic String getPersistenceUnitName()
Copyright © 2016. All Rights Reserved.