tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r684152 - /openejb/trunk/openejb3/examples/webapps/ejb-examples/src/main/webapp/META-INF/context.xml
Date Sat, 09 Aug 2008 00:02:32 GMT
Author: dblevins
Date: Fri Aug  8 17:02:32 2008
New Revision: 684152

URL: http://svn.apache.org/viewvc?rev=684152&view=rev
Log:
Didn't mean to check in that other garbage.

Modified:
    openejb/trunk/openejb3/examples/webapps/ejb-examples/src/main/webapp/META-INF/context.xml

Modified: openejb/trunk/openejb3/examples/webapps/ejb-examples/src/main/webapp/META-INF/context.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/webapps/ejb-examples/src/main/webapp/META-INF/context.xml?rev=684152&r1=684151&r2=684152&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/webapps/ejb-examples/src/main/webapp/META-INF/context.xml
(original)
+++ openejb/trunk/openejb3/examples/webapps/ejb-examples/src/main/webapp/META-INF/context.xml
Fri Aug  8 17:02:32 2008
@@ -52,44 +52,4 @@
       name="web.xml/resource-link"
       global="server.xml/environment"
       type="java.lang.String"/>
-
-
-While not a definitive list, it does help to show a side-by-side view of common properties
used by the various persistence providers out there.
-
-h1. TopLink
-
-{code:xml}
-<properties>
-  <!--http://www.oracle.com/technology/products/ias/toplink/JPA/essentials/toplink-jpa-extensions.html-->
-  <property name="toplink.ddl-generation" value="drop-and-create-tables"/>
-  <property name="toplink.logging.level" value="FINEST"/>
-  <property name="toplink.ddl-generation.output-mode" value="both"/>
-  <property name="toplink.target-server" value="pl.zsk.samples.ejbservice.OpenEJBServerPlatform"/>
-</properties>
-{code}
-
-h1. OpenJPA
-
-{code:xml}
-<properties>
-  <!--http://openjpa.apache.org/faq.html-->
-  <!-- does not create foreign keys, creates schema and deletes content of a database
(deleteTableContents - foreign keys are created twice???), use dropDB instead -->
-  <property name="openjpa.jdbc.SynchronizeMappings" value="buildSchema(foreignKeys=true,schemaAction='dropDB,add')"/>
-  <!--Resolves the problem with foreign key integrity - joined entities are persisted
sometimes in wrong order??? (verify it)-->
-  <property name="openjpa.jdbc.SchemaFactory" value="native(foreignKeys=true)" />
-  <!--Create foreign keys-->
-  <property name="openjpa.jdbc.MappingDefaults" value="ForeignKeyDeleteAction=restrict,
JoinForeignKeyDeleteAction=restrict"/>
-  <property name="openjpa.Log" value="DefaultLevel=TRACE,SQL=TRACE" />
-</properties>
-{code}
-
-h1. Hibernate
-
-{code:xml}
-<properties>
-  <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
-  <property name="hibernate.transaction.manager_lookup_class"
-     value="org.apache.openejb.hibernate.TransactionManagerLookup"/>
-</properties>
-{code}
 </Context>
\ No newline at end of file



Mime
View raw message