db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcai...@apache.org
Subject svn commit: r631040 - in /db/jdo/trunk/tck2/src/conf: iut-jdoconfig.xml jdori-jdoconfig.xml
Date Mon, 25 Feb 2008 23:42:52 GMT
Author: mcaisse
Date: Mon Feb 25 15:42:46 2008
New Revision: 631040

URL: http://svn.apache.org/viewvc?rev=631040&view=rev
Log:
JDO-578 Fixed typos in jdori-config.xml, copied its contents to iut-jdoconfig.xml. Tests pass.

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

Modified: db/jdo/trunk/tck2/src/conf/iut-jdoconfig.xml
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/conf/iut-jdoconfig.xml?rev=631040&r1=631039&r2=631040&view=diff
==============================================================================
--- db/jdo/trunk/tck2/src/conf/iut-jdoconfig.xml (original)
+++ db/jdo/trunk/tck2/src/conf/iut-jdoconfig.xml Mon Feb 25 15:42:46 2008
@@ -15,12 +15,14 @@
     See the License for the specific language governing permissions and
     limitations under the License.
 -->
-
 <jdoconfig
     xmlns="http://java.sun.com/xml/ns/jdo/jdoconfig"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:noNamespaceSchemaLocation="http://java.sun.com/xml/ns/jdo/jdoconfig">
     
+    <!--
+        Default unnamed pmf
+    -->
     <persistence-manager-factory
         class="org.jpox.PersistenceManagerFactoryImpl"
         connection-driver-name="org.apache.derby.jdbc.EmbeddedDriver"
@@ -103,7 +105,7 @@
     </persistence-manager-factory>
     
     <persistence-manager-factory
-        name="pmfTestInstanceLifecycleListener"
+        name="testInstanceLifecycleListenerStore"
         class="org.jpox.PersistenceManagerFactoryImpl"
         connection-driver-name="org.apache.derby.jdbc.EmbeddedDriver"
         connection-url="jdbc:derby:jdotckdb"
@@ -129,11 +131,105 @@
         <property name="org.jpox.implementationCreatorName" value="asm"/> 
         
         <instance-lifecycle-listener
-            listener="listener.listener0"
-            classes="classes.classes0"
+            listener="org.apache.jdo.tck.api.persistencemanagerfactory.config.StoreListener"
+            classes="org.apache.jdo.tck.pc.mylib.PCPoint"
         />
+    </persistence-manager-factory> 
+
         
-    </persistence-manager-factory>
-    
-</jdoconfig>
+    <persistence-manager-factory
+        name="testInstanceLifecycleListenerStoreGetInstance"
+        class="org.jpox.PersistenceManagerFactoryImpl"
+        connection-driver-name="org.apache.derby.jdbc.EmbeddedDriver"
+        connection-url="jdbc:derby:jdotckdb"
+        connection-user-name="tckuser"
+        connection-password="tckuser"
+        optimistic="false"
+        restore-values="false"
+        retain-values="false"
+    >
+        
+        <property name="javax.jdo.mapping.Schema" value="schemaDoesNotExist"/> 
+        <property name="javax.jdo.option.Mapping" value="standard"/>
+        <property name="org.jpox.metadata.validate" value="false"/>
+        <property name="org.jpox.validateTables" value="false"/>
+        <property name="org.jpox.validateConstraints" value="false"/>
+        <property name="org.jpox.autoCreateSchema" value="false"/>
+        <property name="org.jpox.autoCreateTables" value="false"/>
+        <property name="org.jpox.autoCreateConstraints" value="false"/>
+        <property name="org.jpox.autoCreateColumns" value="false"/>
+        <property name="org.jpox.rdbms.CheckExistTablesOrViews" value="false"/>
+        <property name="org.jpox.autoStartMechanism" value="None"/>
+        <property name="org.jpox.connectionPoolingType" value="C3P0"/>
+        <property name="org.jpox.implementationCreatorName" value="asm"/> 
+        
+        <instance-lifecycle-listener
+            listener="org.apache.jdo.tck.api.persistencemanagerfactory.config.StoreListenerGetInstance"
+            classes="org.apache.jdo.tck.pc.mylib.PCPoint"
+        />
+    </persistence-manager-factory> 
+        
+    <persistence-manager-factory
+        name="testInstanceLifecycleListenerStoreOverrides"
+        class="org.jpox.PersistenceManagerFactoryImpl"
+        connection-driver-name="org.apache.derby.jdbc.EmbeddedDriver"
+        connection-url="jdbc:derby:jdotckdb"
+        connection-user-name="tckuser"
+        connection-password="tckuser"
+        optimistic="false"
+        restore-values="false"
+        retain-values="false"
+    >
+        
+        <property name="javax.jdo.mapping.Schema" value="schemaDoesNotExist"/> 
+        <property name="javax.jdo.option.Mapping" value="standard"/>
+        <property name="org.jpox.metadata.validate" value="false"/>
+        <property name="org.jpox.validateTables" value="false"/>
+        <property name="org.jpox.validateConstraints" value="false"/>
+        <property name="org.jpox.autoCreateSchema" value="false"/>
+        <property name="org.jpox.autoCreateTables" value="false"/>
+        <property name="org.jpox.autoCreateConstraints" value="false"/>
+        <property name="org.jpox.autoCreateColumns" value="false"/>
+        <property name="org.jpox.rdbms.CheckExistTablesOrViews" value="false"/>
+        <property name="org.jpox.autoStartMechanism" value="None"/>
+        <property name="org.jpox.connectionPoolingType" value="C3P0"/>
+        <property name="org.jpox.implementationCreatorName" value="asm"/> 
+        
+        />
+    </persistence-manager-factory> 
+        
+        
+    <persistence-manager-factory
+        name="testInstanceLifecycleListenerClassesNull"
+        class="org.jpox.PersistenceManagerFactoryImpl"
+        connection-driver-name="org.apache.derby.jdbc.EmbeddedDriver"
+        connection-url="jdbc:derby:jdotckdb"
+        connection-user-name="tckuser"
+        connection-password="tckuser"
+        optimistic="false"
+        restore-values="false"
+        retain-values="false"
+    >
+        
+        <property name="javax.jdo.mapping.Schema" value="schemaDoesNotExist"/> 
+        <property name="javax.jdo.option.Mapping" value="standard"/>
+        <property name="org.jpox.metadata.validate" value="false"/>
+        <property name="org.jpox.validateTables" value="false"/>
+        <property name="org.jpox.validateConstraints" value="false"/>
+        <property name="org.jpox.autoCreateSchema" value="false"/>
+        <property name="org.jpox.autoCreateTables" value="false"/>
+        <property name="org.jpox.autoCreateConstraints" value="false"/>
+        <property name="org.jpox.autoCreateColumns" value="false"/>
+        <property name="org.jpox.rdbms.CheckExistTablesOrViews" value="false"/>
+        <property name="org.jpox.autoStartMechanism" value="None"/>
+        <property name="org.jpox.connectionPoolingType" value="C3P0"/>
+        <property name="org.jpox.implementationCreatorName" value="asm"/> 
+        
+        <!-- Use no classes attribute here - testing null classes behavior -->
+        <instance-lifecycle-listener
+            listener="org.apache.jdo.tck.api.persistencemanagerfactory.config.StoreListener"
+            />
+        
+    </persistence-manager-factory> 
 
+</jdoconfig>

Modified: db/jdo/trunk/tck2/src/conf/jdori-jdoconfig.xml
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/conf/jdori-jdoconfig.xml?rev=631040&r1=631039&r2=631040&view=diff
==============================================================================
--- db/jdo/trunk/tck2/src/conf/jdori-jdoconfig.xml (original)
+++ db/jdo/trunk/tck2/src/conf/jdori-jdoconfig.xml Mon Feb 25 15:42:46 2008
@@ -227,7 +227,7 @@
         
         <!-- Use no classes attribute here - testing null classes behavior -->
         <instance-lifecycle-listener
-            listener="org.apache.jdo.tck.api.persistencmanagerfactory.config.JDOConfigListener"
+            listener="org.apache.jdo.tck.api.persistencemanagerfactory.config.StoreListener"
             />
         
     </persistence-manager-factory> 



Mime
View raw message