public static EntityManagerFactory getEntityManagerFactory(String persistenceUnitName) { return getEntityManagerFactory( persistenceUnitName, JUnitTestCaseHelper.getDatabaseProperties(persistenceUnitName), null); }
public Map getPersistenceProperties() { return JUnitTestCaseHelper.getDatabaseProperties(getPersistenceUnitName()); }