db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcai...@apache.org
Subject svn commit: r661901 - /db/jdo/trunk/tck2/src/conf/iut-persistence.xml
Date Fri, 30 May 2008 22:21:12 GMT
Author: mcaisse
Date: Fri May 30 15:21:11 2008
New Revision: 661901

URL: http://svn.apache.org/viewvc?rev=661901&view=rev
Log:
JDO-586 Correct iut-persistence.xml so that it is the same as jdori-persistence.xml.

Modified:
    db/jdo/trunk/tck2/src/conf/iut-persistence.xml

Modified: db/jdo/trunk/tck2/src/conf/iut-persistence.xml
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/conf/iut-persistence.xml?rev=661901&r1=661900&r2=661901&view=diff
==============================================================================
--- db/jdo/trunk/tck2/src/conf/iut-persistence.xml (original)
+++ db/jdo/trunk/tck2/src/conf/iut-persistence.xml Fri May 30 15:21:11 2008
@@ -37,7 +37,7 @@
         the configuration of an EntityManagerFactory. We configure each
         example in a separate persistence-unit.
     -->
-<persistence-unit name="applicationidentity0" transaction-type="RESOURCE_LOCAL">
+<persistence-unit name="PUNamed_applicationidentity0" transaction-type="RESOURCE_LOCAL">
     <!--
             The default provider can be OpenJPA, or some other product.
             This element is optional if OpenJPA is the only JPA provider
@@ -54,7 +54,6 @@
     <property name="javax.jdo.option.Optimistic" value="false"/>
     <property name="javax.jdo.option.RestoreValues" value="false"/>
     <property name="javax.jdo.option.RetainValues" value="false"/>
-    <property name="javax.jdo.option.Mapping" value="derby"/>
     <property name="javax.jdo.mapping.Schema" value="applicationidentity0"/> 
     <property name="javax.jdo.option.Mapping" value="standard"/>
     <property name="datanucleus.metadata.validate" value="false"/>
@@ -71,6 +70,39 @@
     </properties>
 </persistence-unit>
 
+<persistence-unit name="PUNamed_datastoreidentity0" transaction-type="RESOURCE_LOCAL">
+    <!--
+            The default provider can be OpenJPA, or some other product.
+            This element is optional if OpenJPA is the only JPA provider
+            in the current classloading environment, but can be specified
+            in cases where there are multiple JPA implementations available.
+        -->
+    
+    <properties>
+    <property name="javax.jdo.option.ConnectionDriverName"
+              value="org.apache.derby.jdbc.EmbeddedDriver"/>
+    <property name="javax.jdo.option.ConnectionURL" value="jdbc:derby:jdotckdb"/>
+    <property name="javax.jdo.option.ConnectionUserName" value="tckuser"/>
+    <property name="javax.jdo.option.ConnectionPassword" value="tckuser"/>
+    <property name="javax.jdo.option.Optimistic" value="false"/>
+    <property name="javax.jdo.option.RestoreValues" value="false"/>
+    <property name="javax.jdo.option.RetainValues" value="false"/>
+    <property name="javax.jdo.mapping.Schema" value="datastoreidentity0"/> 
+    <property name="javax.jdo.option.Mapping" value="standard"/>
+    <property name="datanucleus.metadata.validate" value="false"/>
+    <property name="datanucleus.validateTables" value="false"/>
+    <property name="datanucleus.validateConstraints" value="false"/>
+    <property name="datanucleus.autoCreateSchema" value="false"/>
+    <property name="datanucleus.autoCreateTables" value="false"/>
+    <property name="datanucleus.autoCreateConstraints" value="false"/>
+    <property name="datanucleus.autoCreateColumns" value="false"/>
+    <property name="datanucleus.rdbms.CheckExistTablesOrViews" value="false"/>
+    <property name="datanucleus.autoStartMechanism" value="None"/>
+    <property name="datanucleus.connectionPoolingType" value="C3P0"/>
+    <property name="datanucleus.implementationCreatorName" value="asm"/>
+    </properties>
+</persistence-unit>
+
 <!-- persistence unit for the "relations" example -->
 <persistence-unit name="relations" transaction-type="RESOURCE_LOCAL">
     <class>relations.Deity</class>



Mime
View raw message