geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jb...@apache.org
Subject svn commit: r664381 - in /geronimo/samples/trunk/samples/myphonebook: myphonebook-jetty/src/main/plan/plan.xml myphonebook-tomcat/src/main/plan/plan.xml
Date Sat, 07 Jun 2008 20:30:54 GMT
Author: jbohn
Date: Sat Jun  7 13:30:54 2008
New Revision: 664381

URL: http://svn.apache.org/viewvc?rev=664381&view=rev
Log:
updates for myphonebook sample db initialization

Modified:
    geronimo/samples/trunk/samples/myphonebook/myphonebook-jetty/src/main/plan/plan.xml
    geronimo/samples/trunk/samples/myphonebook/myphonebook-tomcat/src/main/plan/plan.xml

Modified: geronimo/samples/trunk/samples/myphonebook/myphonebook-jetty/src/main/plan/plan.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/myphonebook/myphonebook-jetty/src/main/plan/plan.xml?rev=664381&r1=664380&r2=664381&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/myphonebook/myphonebook-jetty/src/main/plan/plan.xml (original)
+++ geronimo/samples/trunk/samples/myphonebook/myphonebook-jetty/src/main/plan/plan.xml Sat
Jun  7 13:30:54 2008
@@ -21,4 +21,12 @@
 <!-- $Rev: 497879 $ $Date: 2007-01-19 12:11:01 -0500 (Fri, 19 Jan 2007) $ -->
 <application xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-1.2">
 
+    <gbean name="DBInitialization" class="org.apache.geronimo.connector.DatabaseInitializationGBean">
+        <attribute name="testSQL">select * from phonebook</attribute>
+        <attribute name="path">PhoneBook.sql</attribute>
+        <reference name="DataSource">
+            <name>SampleTxDatasource</name>
+        </reference>
+    </gbean>
+
 </application>

Modified: geronimo/samples/trunk/samples/myphonebook/myphonebook-tomcat/src/main/plan/plan.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/myphonebook/myphonebook-tomcat/src/main/plan/plan.xml?rev=664381&r1=664380&r2=664381&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/myphonebook/myphonebook-tomcat/src/main/plan/plan.xml (original)
+++ geronimo/samples/trunk/samples/myphonebook/myphonebook-tomcat/src/main/plan/plan.xml Sat
Jun  7 13:30:54 2008
@@ -21,4 +21,12 @@
 <!-- $Rev: 497879 $ $Date: 2007-01-19 12:11:01 -0500 (Fri, 19 Jan 2007) $ -->
 <application xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-1.2">
 
+    <gbean name="DBInitialization" class="org.apache.geronimo.connector.DatabaseInitializationGBean">
+        <attribute name="testSQL">select * from phonebook</attribute>
+        <attribute name="path">PhoneBook.sql</attribute>
+        <reference name="DataSource">
+            <name>SampleTxDatasource</name>
+        </reference>
+    </gbean>
+
 </application>



Mime
View raw message