mirror of https://github.com/apache/openjpa.git
removed some unneeded code; defaulted MetaDataFactory property
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@425805 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8c8a0a923d
commit
0bf2166ede
|
@ -90,9 +90,6 @@
|
|||
pathsep=" "/>
|
||||
<java
|
||||
classname="org.apache.openjpa.enhance.PCEnhancer">
|
||||
<arg value="-MetaDataFactory"/>
|
||||
<arg
|
||||
value="org.apache.openjpa.persistence.PersistenceMetaDataFactory"/>
|
||||
<arg line="${enhance.files}"/>
|
||||
<classpath>
|
||||
<path
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
version="1.0">
|
||||
|
||||
<persistence-unit name="simple-emf-test" transaction-type="RESOURCE_LOCAL">
|
||||
<persistence-unit name="simple-emf-test">
|
||||
|
||||
<!--
|
||||
<provider>kodo.persistence.PersistenceProviderImpl</provider>
|
||||
<!-- This is not needed if OpenJPA is the only persistence provider
|
||||
in the classpath.
|
||||
<provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>
|
||||
-->
|
||||
|
||||
|
|
|
@ -48,6 +48,8 @@ public class PersistenceProductDerivation
|
|||
PersistenceMetaDataFactory.class.getName());
|
||||
conf.metaFactoryPlugin.setAlias(ALIAS_EJB,
|
||||
PersistenceMetaDataFactory.class.getName());
|
||||
conf.metaFactoryPlugin.setDefault(SPEC_JPA);
|
||||
conf.metaFactoryPlugin.setString(SPEC_JPA);
|
||||
}
|
||||
|
||||
public void afterSpecificationSet(OpenJPAConfiguration c) {
|
||||
|
|
Loading…
Reference in New Issue