(no commit message)
authorErik Brakkee <erik@brakkee.org>
Mon, 26 Apr 2010 20:16:06 +0000 (20:16 +0000)
committerErik Brakkee <erik@brakkee.org>
Mon, 26 Apr 2010 20:16:06 +0000 (20:16 +0000)
security/jpatest/src/test/resources/META-INF/persistence.xml [new file with mode: 0644]

diff --git a/security/jpatest/src/test/resources/META-INF/persistence.xml b/security/jpatest/src/test/resources/META-INF/persistence.xml
new file mode 100644 (file)
index 0000000..58704f7
--- /dev/null
@@ -0,0 +1,15 @@
+<persistence xmlns="http://java.sun.com/xml/ns/persistence"
+   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+   xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
+   version="2.0">
+   
+   <persistence-unit name="securitytest">
+      <jta-data-source>jdbc/security</jta-data-source>
+      
+      <class>org.wamblee.usermgt.User</class>
+      <class>org.wamblee.usermgt.Group</class>
+      
+      <exclude-unlisted-classes>true</exclude-unlisted-classes>
+    
+   </persistence-unit>
+</persistence>
\ No newline at end of file