[seam-commits] Seam SVN: r14416 - branches/community/Seam_2_3/examples-ee6/ui/ui-ear/src/main/application/META-INF.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Fri Mar 16 04:08:10 EDT 2012


Author: manaRH
Date: 2012-03-16 04:08:09 -0400 (Fri, 16 Mar 2012)
New Revision: 14416

Added:
   branches/community/Seam_2_3/examples-ee6/ui/ui-ear/src/main/application/META-INF/jboss-seam-ui-ds.xml
Log:
added datasource directly in seam-ui.ear

Added: branches/community/Seam_2_3/examples-ee6/ui/ui-ear/src/main/application/META-INF/jboss-seam-ui-ds.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/ui/ui-ear/src/main/application/META-INF/jboss-seam-ui-ds.xml	                        (rev 0)
+++ branches/community/Seam_2_3/examples-ee6/ui/ui-ear/src/main/application/META-INF/jboss-seam-ui-ds.xml	2012-03-16 08:08:09 UTC (rev 14416)
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<datasources xmlns="http://www.jboss.org/ironjacamar/schema">
+    <datasource 
+        jndi-name="java:/uiDatasource" 
+        enabled="true" 
+        use-java-context="true" pool-name="uidb">
+        <connection-url>jdbc:h2:mem:uidb;DB_CLOSE_DELAY=-1</connection-url>
+        <driver>h2</driver>
+        <security>
+            <user-name>sa</user-name>
+            <password>sa</password>
+        </security>
+    </datasource>
+</datasources>
\ No newline at end of file



More information about the seam-commits mailing list