tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r684069 - in /openejb/trunk/openejb3/examples: component-interfaces/ custom-injection/ helloworld-weblogic/ injection-of-connectionfactory/ injection-of-datasource/ injection-of-ejbs/ injection-of-entitymanager/ injection-of-env-entry/ inte...
Date Fri, 08 Aug 2008 19:53:09 GMT
Author: dblevins
Date: Fri Aug  8 12:53:07 2008
New Revision: 684069

URL: http://svn.apache.org/viewvc?rev=684069&view=rev
Log:
Yikes, all the ant files still referenced 3.0-SNAPSHOT

Modified:
    openejb/trunk/openejb3/examples/component-interfaces/build.xml
    openejb/trunk/openejb3/examples/custom-injection/build.xml
    openejb/trunk/openejb3/examples/helloworld-weblogic/build.xml
    openejb/trunk/openejb3/examples/injection-of-connectionfactory/build.xml
    openejb/trunk/openejb3/examples/injection-of-datasource/build.xml
    openejb/trunk/openejb3/examples/injection-of-ejbs/build.xml
    openejb/trunk/openejb3/examples/injection-of-entitymanager/build.xml
    openejb/trunk/openejb3/examples/injection-of-env-entry/build.xml
    openejb/trunk/openejb3/examples/interceptors/build.xml
    openejb/trunk/openejb3/examples/simple-mdb-with-descriptor/build.xml
    openejb/trunk/openejb3/examples/simple-mdb/build.xml
    openejb/trunk/openejb3/examples/simple-singleton/build.xml
    openejb/trunk/openejb3/examples/simple-stateful/build.xml
    openejb/trunk/openejb3/examples/simple-stateless-with-descriptor/build.xml
    openejb/trunk/openejb3/examples/simple-stateless/build.xml
    openejb/trunk/openejb3/examples/simple-webservice/build.xml
    openejb/trunk/openejb3/examples/telephone-stateful/build.xml
    openejb/trunk/openejb3/examples/testing-security/build.xml
    openejb/trunk/openejb3/examples/testing-transactions/build.xml
    openejb/trunk/openejb3/examples/webapps/ejb-examples/src/main/webapp/META-INF/context.xml

Modified: openejb/trunk/openejb3/examples/component-interfaces/build.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/component-interfaces/build.xml?rev=684069&r1=684068&r2=684069&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/component-interfaces/build.xml (original)
+++ openejb/trunk/openejb3/examples/component-interfaces/build.xml Fri Aug  8 12:53:07 2008
@@ -57,7 +57,7 @@
     <remoteRepository refid="apache.snapshot.repository" />
     <remoteRepository refid="m2.repository" />
 
-    <dependency groupId="org.apache.openejb" artifactId="openejb-core" version="3.0-SNAPSHOT"/>
+    <dependency groupId="org.apache.openejb" artifactId="openejb-core" version="3.1-SNAPSHOT"/>
     <dependency groupId="junit" artifactId="junit" version="4.3.1"/>
   </artifact:dependencies>
 

Modified: openejb/trunk/openejb3/examples/custom-injection/build.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/custom-injection/build.xml?rev=684069&r1=684068&r2=684069&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/custom-injection/build.xml (original)
+++ openejb/trunk/openejb3/examples/custom-injection/build.xml Fri Aug  8 12:53:07 2008
@@ -57,7 +57,7 @@
     <remoteRepository refid="apache.snapshot.repository" />
     <remoteRepository refid="m2.repository" />
 
-    <dependency groupId="org.apache.openejb" artifactId="openejb-core" version="3.0-SNAPSHOT"/>
+    <dependency groupId="org.apache.openejb" artifactId="openejb-core" version="3.1-SNAPSHOT"/>
     <dependency groupId="junit" artifactId="junit" version="4.3.1"/>
   </artifact:dependencies>
 

Modified: openejb/trunk/openejb3/examples/helloworld-weblogic/build.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/helloworld-weblogic/build.xml?rev=684069&r1=684068&r2=684069&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/helloworld-weblogic/build.xml (original)
+++ openejb/trunk/openejb3/examples/helloworld-weblogic/build.xml Fri Aug  8 12:53:07 2008
@@ -57,7 +57,7 @@
     <remoteRepository refid="apache.snapshot.repository" />
     <remoteRepository refid="m2.repository" />
 
-    <dependency groupId="org.apache.openejb" artifactId="openejb-core" version="3.0-SNAPSHOT"/>
+    <dependency groupId="org.apache.openejb" artifactId="openejb-core" version="3.1-SNAPSHOT"/>
     <dependency groupId="junit" artifactId="junit" version="4.3.1"/>
   </artifact:dependencies>
 

Modified: openejb/trunk/openejb3/examples/injection-of-connectionfactory/build.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/injection-of-connectionfactory/build.xml?rev=684069&r1=684068&r2=684069&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/injection-of-connectionfactory/build.xml (original)
+++ openejb/trunk/openejb3/examples/injection-of-connectionfactory/build.xml Fri Aug  8 12:53:07
2008
@@ -57,7 +57,7 @@
     <remoteRepository refid="apache.snapshot.repository" />
     <remoteRepository refid="m2.repository" />
 
-    <dependency groupId="org.apache.openejb" artifactId="openejb-core" version="3.0-SNAPSHOT"/>
+    <dependency groupId="org.apache.openejb" artifactId="openejb-core" version="3.1-SNAPSHOT"/>
     <dependency groupId="junit" artifactId="junit" version="4.3.1"/>
   </artifact:dependencies>
 

Modified: openejb/trunk/openejb3/examples/injection-of-datasource/build.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/injection-of-datasource/build.xml?rev=684069&r1=684068&r2=684069&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/injection-of-datasource/build.xml (original)
+++ openejb/trunk/openejb3/examples/injection-of-datasource/build.xml Fri Aug  8 12:53:07
2008
@@ -57,7 +57,7 @@
     <remoteRepository refid="apache.snapshot.repository" />
     <remoteRepository refid="m2.repository" />
 
-    <dependency groupId="org.apache.openejb" artifactId="openejb-core" version="3.0-SNAPSHOT"/>
+    <dependency groupId="org.apache.openejb" artifactId="openejb-core" version="3.1-SNAPSHOT"/>
     <dependency groupId="junit" artifactId="junit" version="4.3.1"/>
   </artifact:dependencies>
 

Modified: openejb/trunk/openejb3/examples/injection-of-ejbs/build.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/injection-of-ejbs/build.xml?rev=684069&r1=684068&r2=684069&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/injection-of-ejbs/build.xml (original)
+++ openejb/trunk/openejb3/examples/injection-of-ejbs/build.xml Fri Aug  8 12:53:07 2008
@@ -57,7 +57,7 @@
     <remoteRepository refid="apache.snapshot.repository" />
     <remoteRepository refid="m2.repository" />
 
-    <dependency groupId="org.apache.openejb" artifactId="openejb-core" version="3.0-SNAPSHOT"/>
+    <dependency groupId="org.apache.openejb" artifactId="openejb-core" version="3.1-SNAPSHOT"/>
     <dependency groupId="junit" artifactId="junit" version="4.3.1"/>
   </artifact:dependencies>
 

Modified: openejb/trunk/openejb3/examples/injection-of-entitymanager/build.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/injection-of-entitymanager/build.xml?rev=684069&r1=684068&r2=684069&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/injection-of-entitymanager/build.xml (original)
+++ openejb/trunk/openejb3/examples/injection-of-entitymanager/build.xml Fri Aug  8 12:53:07
2008
@@ -57,7 +57,7 @@
     <remoteRepository refid="apache.snapshot.repository" />
     <remoteRepository refid="m2.repository" />
 
-    <dependency groupId="org.apache.openejb" artifactId="openejb-core" version="3.0-SNAPSHOT"/>
+    <dependency groupId="org.apache.openejb" artifactId="openejb-core" version="3.1-SNAPSHOT"/>
     <dependency groupId="junit" artifactId="junit" version="4.3.1"/>
   </artifact:dependencies>
 

Modified: openejb/trunk/openejb3/examples/injection-of-env-entry/build.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/injection-of-env-entry/build.xml?rev=684069&r1=684068&r2=684069&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/injection-of-env-entry/build.xml (original)
+++ openejb/trunk/openejb3/examples/injection-of-env-entry/build.xml Fri Aug  8 12:53:07 2008
@@ -57,7 +57,7 @@
     <remoteRepository refid="apache.snapshot.repository" />
     <remoteRepository refid="m2.repository" />
 
-    <dependency groupId="org.apache.openejb" artifactId="openejb-core" version="3.0-SNAPSHOT"/>
+    <dependency groupId="org.apache.openejb" artifactId="openejb-core" version="3.1-SNAPSHOT"/>
     <dependency groupId="junit" artifactId="junit" version="4.3.1"/>
   </artifact:dependencies>
 

Modified: openejb/trunk/openejb3/examples/interceptors/build.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/interceptors/build.xml?rev=684069&r1=684068&r2=684069&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/interceptors/build.xml (original)
+++ openejb/trunk/openejb3/examples/interceptors/build.xml Fri Aug  8 12:53:07 2008
@@ -57,7 +57,7 @@
     <remoteRepository refid="apache.snapshot.repository" />
     <remoteRepository refid="m2.repository" />
 
-    <dependency groupId="org.apache.openejb" artifactId="openejb-core" version="3.0-SNAPSHOT"/>
+    <dependency groupId="org.apache.openejb" artifactId="openejb-core" version="3.1-SNAPSHOT"/>
     <dependency groupId="junit" artifactId="junit" version="4.3.1"/>
   </artifact:dependencies>
 

Modified: openejb/trunk/openejb3/examples/simple-mdb-with-descriptor/build.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/simple-mdb-with-descriptor/build.xml?rev=684069&r1=684068&r2=684069&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/simple-mdb-with-descriptor/build.xml (original)
+++ openejb/trunk/openejb3/examples/simple-mdb-with-descriptor/build.xml Fri Aug  8 12:53:07
2008
@@ -57,7 +57,7 @@
     <remoteRepository refid="apache.snapshot.repository" />
     <remoteRepository refid="m2.repository" />
 
-    <dependency groupId="org.apache.openejb" artifactId="openejb-core" version="3.0-SNAPSHOT"/>
+    <dependency groupId="org.apache.openejb" artifactId="openejb-core" version="3.1-SNAPSHOT"/>
     <dependency groupId="junit" artifactId="junit" version="4.3.1"/>
   </artifact:dependencies>
 

Modified: openejb/trunk/openejb3/examples/simple-mdb/build.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/simple-mdb/build.xml?rev=684069&r1=684068&r2=684069&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/simple-mdb/build.xml (original)
+++ openejb/trunk/openejb3/examples/simple-mdb/build.xml Fri Aug  8 12:53:07 2008
@@ -57,7 +57,7 @@
     <remoteRepository refid="apache.snapshot.repository" />
     <remoteRepository refid="m2.repository" />
 
-    <dependency groupId="org.apache.openejb" artifactId="openejb-core" version="3.0-SNAPSHOT"/>
+    <dependency groupId="org.apache.openejb" artifactId="openejb-core" version="3.1-SNAPSHOT"/>
     <dependency groupId="junit" artifactId="junit" version="4.3.1"/>
   </artifact:dependencies>
 

Modified: openejb/trunk/openejb3/examples/simple-singleton/build.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/simple-singleton/build.xml?rev=684069&r1=684068&r2=684069&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/simple-singleton/build.xml (original)
+++ openejb/trunk/openejb3/examples/simple-singleton/build.xml Fri Aug  8 12:53:07 2008
@@ -57,7 +57,7 @@
     <remoteRepository refid="apache.snapshot.repository" />
     <remoteRepository refid="m2.repository" />
 
-    <dependency groupId="org.apache.openejb" artifactId="openejb-core" version="3.0-SNAPSHOT"/>
+    <dependency groupId="org.apache.openejb" artifactId="openejb-core" version="3.1-SNAPSHOT"/>
     <dependency groupId="junit" artifactId="junit" version="4.3.1"/>
   </artifact:dependencies>
 

Modified: openejb/trunk/openejb3/examples/simple-stateful/build.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/simple-stateful/build.xml?rev=684069&r1=684068&r2=684069&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/simple-stateful/build.xml (original)
+++ openejb/trunk/openejb3/examples/simple-stateful/build.xml Fri Aug  8 12:53:07 2008
@@ -57,7 +57,7 @@
     <remoteRepository refid="apache.snapshot.repository" />
     <remoteRepository refid="m2.repository" />
 
-    <dependency groupId="org.apache.openejb" artifactId="openejb-core" version="3.0-SNAPSHOT"/>
+    <dependency groupId="org.apache.openejb" artifactId="openejb-core" version="3.1-SNAPSHOT"/>
     <dependency groupId="junit" artifactId="junit" version="4.3.1"/>
   </artifact:dependencies>
 

Modified: openejb/trunk/openejb3/examples/simple-stateless-with-descriptor/build.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/simple-stateless-with-descriptor/build.xml?rev=684069&r1=684068&r2=684069&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/simple-stateless-with-descriptor/build.xml (original)
+++ openejb/trunk/openejb3/examples/simple-stateless-with-descriptor/build.xml Fri Aug  8
12:53:07 2008
@@ -57,7 +57,7 @@
     <remoteRepository refid="apache.snapshot.repository" />
     <remoteRepository refid="m2.repository" />
 
-    <dependency groupId="org.apache.openejb" artifactId="openejb-core" version="3.0-SNAPSHOT"/>
+    <dependency groupId="org.apache.openejb" artifactId="openejb-core" version="3.1-SNAPSHOT"/>
     <dependency groupId="junit" artifactId="junit" version="4.3.1"/>
   </artifact:dependencies>
 

Modified: openejb/trunk/openejb3/examples/simple-stateless/build.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/simple-stateless/build.xml?rev=684069&r1=684068&r2=684069&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/simple-stateless/build.xml (original)
+++ openejb/trunk/openejb3/examples/simple-stateless/build.xml Fri Aug  8 12:53:07 2008
@@ -57,7 +57,7 @@
     <remoteRepository refid="apache.snapshot.repository" />
     <remoteRepository refid="m2.repository" />
 
-    <dependency groupId="org.apache.openejb" artifactId="openejb-core" version="3.0-SNAPSHOT"/>
+    <dependency groupId="org.apache.openejb" artifactId="openejb-core" version="3.1-SNAPSHOT"/>
     <dependency groupId="junit" artifactId="junit" version="4.3.1"/>
   </artifact:dependencies>
 

Modified: openejb/trunk/openejb3/examples/simple-webservice/build.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/simple-webservice/build.xml?rev=684069&r1=684068&r2=684069&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/simple-webservice/build.xml (original)
+++ openejb/trunk/openejb3/examples/simple-webservice/build.xml Fri Aug  8 12:53:07 2008
@@ -57,7 +57,7 @@
     <remoteRepository refid="apache.snapshot.repository" />
     <remoteRepository refid="m2.repository" />
 
-    <dependency groupId="org.apache.openejb" artifactId="openejb-cxf" version="3.0-SNAPSHOT"/>
+    <dependency groupId="org.apache.openejb" artifactId="openejb-cxf" version="3.1-SNAPSHOT"/>
     <dependency groupId="junit" artifactId="junit" version="4.3.1"/>
   </artifact:dependencies>
 

Modified: openejb/trunk/openejb3/examples/telephone-stateful/build.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/telephone-stateful/build.xml?rev=684069&r1=684068&r2=684069&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/telephone-stateful/build.xml (original)
+++ openejb/trunk/openejb3/examples/telephone-stateful/build.xml Fri Aug  8 12:53:07 2008
@@ -57,7 +57,7 @@
     <remoteRepository refid="apache.snapshot.repository" />
     <remoteRepository refid="m2.repository" />
 
-    <dependency groupId="org.apache.openejb" artifactId="openejb-ejbd" version="3.0-SNAPSHOT"/>
+    <dependency groupId="org.apache.openejb" artifactId="openejb-ejbd" version="3.1-SNAPSHOT"/>
     <dependency groupId="junit" artifactId="junit" version="4.3.1"/>
   </artifact:dependencies>
 

Modified: openejb/trunk/openejb3/examples/testing-security/build.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/testing-security/build.xml?rev=684069&r1=684068&r2=684069&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/testing-security/build.xml (original)
+++ openejb/trunk/openejb3/examples/testing-security/build.xml Fri Aug  8 12:53:07 2008
@@ -57,7 +57,7 @@
     <remoteRepository refid="apache.snapshot.repository" />
     <remoteRepository refid="m2.repository" />
 
-    <dependency groupId="org.apache.openejb" artifactId="openejb-core" version="3.0-SNAPSHOT"/>
+    <dependency groupId="org.apache.openejb" artifactId="openejb-core" version="3.1-SNAPSHOT"/>
     <dependency groupId="junit" artifactId="junit" version="4.3.1"/>
   </artifact:dependencies>
 

Modified: openejb/trunk/openejb3/examples/testing-transactions/build.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/testing-transactions/build.xml?rev=684069&r1=684068&r2=684069&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/testing-transactions/build.xml (original)
+++ openejb/trunk/openejb3/examples/testing-transactions/build.xml Fri Aug  8 12:53:07 2008
@@ -57,7 +57,7 @@
     <remoteRepository refid="apache.snapshot.repository" />
     <remoteRepository refid="m2.repository" />
 
-    <dependency groupId="org.apache.openejb" artifactId="openejb-core" version="3.0-SNAPSHOT"/>
+    <dependency groupId="org.apache.openejb" artifactId="openejb-core" version="3.1-SNAPSHOT"/>
     <dependency groupId="junit" artifactId="junit" version="4.3.1"/>
   </artifact:dependencies>
 

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=684069&r1=684068&r2=684069&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 12:53:07 2008
@@ -52,4 +52,44 @@
       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