You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by db...@apache.org on 2008/04/19 21:43:57 UTC

svn commit: r649845 - /openejb/trunk/openejb3/examples/injection-of-entitymanager/src/main/resources/META-INF/persistence.xml

Author: dblevins
Date: Sat Apr 19 12:43:55 2008
New Revision: 649845

URL: http://svn.apache.org/viewvc?rev=649845&view=rev
Log:
Added snippet tags

Modified:
    openejb/trunk/openejb3/examples/injection-of-entitymanager/src/main/resources/META-INF/persistence.xml

Modified: openejb/trunk/openejb3/examples/injection-of-entitymanager/src/main/resources/META-INF/persistence.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/injection-of-entitymanager/src/main/resources/META-INF/persistence.xml?rev=649845&r1=649844&r2=649845&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/injection-of-entitymanager/src/main/resources/META-INF/persistence.xml (original)
+++ openejb/trunk/openejb3/examples/injection-of-entitymanager/src/main/resources/META-INF/persistence.xml Sat Apr 19 12:43:55 2008
@@ -16,15 +16,17 @@
     See the License for the specific language governing permissions and
     limitations under the License.
 -->
+<!-- START SNIPPET: code -->
 <persistence xmlns="http://java.sun.com/xml/ns/persistence" version="1.0">
 
   <persistence-unit name="movie-unit">
-    <jta-data-source>java:openejb/Resource/movieDatabase</jta-data-source>
-    <non-jta-data-source>java:openejb/Resource/movieDatabaseUnmanaged</non-jta-data-source>
+    <jta-data-source>movieDatabase</jta-data-source>
+    <non-jta-data-source>movieDatabaseUnmanaged</non-jta-data-source>
     <class>org.superbiz.injection.jpa.Movie</class>
 
     <properties>
       <property name="openjpa.jdbc.SynchronizeMappings" value="buildSchema(ForeignKeys=true)"/>
     </properties>
   </persistence-unit>
-</persistence>
\ No newline at end of file
+</persistence>
+<!-- END SNIPPET: code -->