You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-commits@db.apache.org by cl...@apache.org on 2021/05/07 23:12:04 UTC
[db-jdo] 08/08: JDO-586 Merge to 2.1.1 branch
This is an automated email from the ASF dual-hosted git repository.
clr pushed a commit to branch origin/2.1.1
in repository https://gitbox.apache.org/repos/asf/db-jdo.git
commit 2269a81c527ff9af18bf77d448c78044fb0f7016
Author: Michelle Caisse <mc...@apache.org>
AuthorDate: Fri Aug 1 21:39:27 2008 +0000
JDO-586 Merge to 2.1.1 branch
---
tck2/src/conf/iut-persistence.xml | 60 ++++++++++++++++++++++++++++++---------
1 file changed, 46 insertions(+), 14 deletions(-)
diff --git a/tck2/src/conf/iut-persistence.xml b/tck2/src/conf/iut-persistence.xml
index 5cd514c..ce59a76 100644
--- a/tck2/src/conf/iut-persistence.xml
+++ b/tck2/src/conf/iut-persistence.xml
@@ -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,20 +54,52 @@
<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="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"/>
+ <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 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>
@@ -82,4 +114,4 @@
<mapping-file>reversemapping/orm.xml</mapping-file>
-->
</persistence-unit>
-</persistence>
\ No newline at end of file
+</persistence>