(OpenJPAEntityManagerFactorySPI)
createContainerEMF("persistence_1_0",
"org/apache/openjpa/persistence/compat/" +
"persistence_1_0.xml", null);
Compatibility compat = emf1.getConfiguration().getCompatibilityInstance();
assertTrue(compat.getFlushBeforeDetach());
assertTrue(compat.getCopyOnDetach());
assertTrue(compat.getIgnoreDetachedStateFieldForProxySerialization());
assertTrue(compat.getPrivatePersistentProperties());
assertFalse(compat.isAbstractMappingUniDirectional());
assertFalse(compat.isNonDefaultMappingAllowed());
String vMode = emf1.getConfiguration().getValidationMode();
assertEquals("NONE", vMode);
Specification spec = emf1.getConfiguration().getSpecificationInstance();
assertEquals("JPA", spec.getName().toUpperCase());
assertEquals(spec.getVersion(), 1);