geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r558516 - in /geronimo/server/trunk/assemblies: geronimo-jetty6-jee5/src/main/resources/var/config/config.xml geronimo-tomcat6-jee5/src/main/resources/var/config/config.xml
Date Sun, 22 Jul 2007 17:58:28 GMT
Author: djencks
Date: Sun Jul 22 10:58:27 2007
New Revision: 558516

URL: http://svn.apache.org/viewvc?view=rev&rev=558516
Log:
Make g. less derby-centric, and easier to override jpa default settings

Modified:
    geronimo/server/trunk/assemblies/geronimo-jetty6-jee5/src/main/resources/var/config/config.xml
    geronimo/server/trunk/assemblies/geronimo-tomcat6-jee5/src/main/resources/var/config/config.xml

Modified: geronimo/server/trunk/assemblies/geronimo-jetty6-jee5/src/main/resources/var/config/config.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/assemblies/geronimo-jetty6-jee5/src/main/resources/var/config/config.xml?view=diff&rev=558516&r1=558515&r2=558516
==============================================================================
--- geronimo/server/trunk/assemblies/geronimo-jetty6-jee5/src/main/resources/var/config/config.xml
(original)
+++ geronimo/server/trunk/assemblies/geronimo-jetty6-jee5/src/main/resources/var/config/config.xml
Sun Jul 22 10:58:27 2007
@@ -175,7 +175,29 @@
         </gbean>
     </module>
 
-    <module name="org.apache.geronimo.configs/persistence-jpa10-deployer/${version}/car"/>
+    <module name="org.apache.geronimo.configs/persistence-jpa10-deployer/${version}/car">
+        <gbean name="PersistenceUnitBuilder">
+            <attribute name="defaultPersistenceProviderClassName">org.apache.openjpa.persistence.PersistenceProviderImpl</attribute>
+            <attribute name="defaultPersistenceUnitProperties">
+                openjpa.Log=commons
+#                openjpa.jdbc.DBDictionary=org.apache.openjpa.jdbc.sql.DerbyDictionary
+                openjpa.jdbc.SynchronizeMappings=buildSchema(ForeignKeys=true)
+                openjpa.jdbc.UpdateManager=operation-order
+                openjpa.Sequence=table(Table=OPENJPASEQ, Increment=100)
+            </attribute>
+            <attribute name="defaultEnvironment">
+                <environment xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2">
+                    <dependencies>
+                        <dependency>
+                            <groupId>org.apache.geronimo.configs</groupId>
+                            <artifactId>openjpa</artifactId>
+                            <type>car</type>
+                        </dependency>
+                    </dependencies>
+                </environment>
+            </attribute>
+        </gbean>
+    </module>
 
     <module name="org.apache.geronimo.configs/openejb-deployer/${version}/car">
         <gbean name="EjbRefBuilder">

Modified: geronimo/server/trunk/assemblies/geronimo-tomcat6-jee5/src/main/resources/var/config/config.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/assemblies/geronimo-tomcat6-jee5/src/main/resources/var/config/config.xml?view=diff&rev=558516&r1=558515&r2=558516
==============================================================================
--- geronimo/server/trunk/assemblies/geronimo-tomcat6-jee5/src/main/resources/var/config/config.xml
(original)
+++ geronimo/server/trunk/assemblies/geronimo-tomcat6-jee5/src/main/resources/var/config/config.xml
Sun Jul 22 10:58:27 2007
@@ -182,7 +182,29 @@
         </gbean>
     </module>
 
-    <module name="org.apache.geronimo.configs/persistence-jpa10-deployer/${version}/car"/>
+    <module name="org.apache.geronimo.configs/persistence-jpa10-deployer/${version}/car">
+        <gbean name="PersistenceUnitBuilder">
+            <attribute name="defaultPersistenceProviderClassName">org.apache.openjpa.persistence.PersistenceProviderImpl</attribute>
+            <attribute name="defaultPersistenceUnitProperties">
+                openjpa.Log=commons
+#                openjpa.jdbc.DBDictionary=org.apache.openjpa.jdbc.sql.DerbyDictionary
+                openjpa.jdbc.SynchronizeMappings=buildSchema(ForeignKeys=true)
+                openjpa.jdbc.UpdateManager=operation-order
+                openjpa.Sequence=table(Table=OPENJPASEQ, Increment=100)
+            </attribute>
+            <attribute name="defaultEnvironment">
+                <environment xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2">
+                    <dependencies>
+                        <dependency>
+                            <groupId>org.apache.geronimo.configs</groupId>
+                            <artifactId>openjpa</artifactId>
+                            <type>car</type>
+                        </dependency>
+                    </dependencies>
+                </environment>
+            </attribute>
+        </gbean>
+    </module>
 
     <module name="org.apache.geronimo.configs/openejb-deployer/${version}/car">
         <gbean name="EjbRefBuilder">



Mime
View raw message