geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pra...@apache.org
Subject svn commit: r591494 - /geronimo/sandbox/jetspeed-integration/jetspeed-derby-database/src/main/plan/plan.xml
Date Fri, 02 Nov 2007 22:23:13 GMT
Author: prasad
Date: Fri Nov  2 15:23:05 2007
New Revision: 591494

URL: http://svn.apache.org/viewvc?rev=591494&view=rev
Log:
* check to see if table exists

Modified:
    geronimo/sandbox/jetspeed-integration/jetspeed-derby-database/src/main/plan/plan.xml

Modified: geronimo/sandbox/jetspeed-integration/jetspeed-derby-database/src/main/plan/plan.xml
URL: http://svn.apache.org/viewvc/geronimo/sandbox/jetspeed-integration/jetspeed-derby-database/src/main/plan/plan.xml?rev=591494&r1=591493&r2=591494&view=diff
==============================================================================
--- geronimo/sandbox/jetspeed-integration/jetspeed-derby-database/src/main/plan/plan.xml (original)
+++ geronimo/sandbox/jetspeed-integration/jetspeed-derby-database/src/main/plan/plan.xml Fri
Nov  2 15:23:05 2007
@@ -41,7 +41,7 @@
     </resourceadapter>
 
     <gbean name="Phase1SchemaInit" class="org.apache.geronimo.connector.DatabaseInitializationGBean">
-      <attribute name="testSQL"> </attribute>
+      <attribute name="testSQL">SELECT t.tablename FROM SYS.SYSTABLES t WHERE t.tablename='MEDIA_TYPE'
</attribute>
       <attribute name="path">META-INF/database/derby/phase1-schema.sql</attribute>
       <reference name="DataSource">
             <name>JetspeedDS</name>
@@ -49,7 +49,7 @@
     </gbean>
 
     <gbean name="Phase2SchemaInit" class="org.apache.geronimo.connector.DatabaseInitializationGBean">
-      <attribute name="testSQL"> </attribute>
+      <attribute name="testSQL">SELECT t.tablename FROM SYS.SYSTABLES t WHERE t.tablename='FOLDER'
</attribute>
       <attribute name="path">META-INF/database/derby/phase2-schema.sql</attribute>
       <reference name="DataSource">
             <name>JetspeedDS</name>
@@ -57,7 +57,7 @@
     </gbean>
 
     <gbean name="Phase3SchemaInit" class="org.apache.geronimo.connector.DatabaseInitializationGBean">
-      <attribute name="testSQL"> </attribute>
+      <attribute name="testSQL">SELECT t.tablename FROM SYS.SYSTABLES t WHERE t.tablename='OJB_HL_SEQ'
</attribute>
       <attribute name="path">META-INF/database/derby/phase3ojb-schema.sql</attribute>
       <reference name="DataSource">
             <name>JetspeedDS</name>
@@ -65,7 +65,7 @@
     </gbean>
 
     <gbean name="PrefsSchemaInit" class="org.apache.geronimo.connector.DatabaseInitializationGBean">
-      <attribute name="testSQL"> </attribute>
+      <attribute name="testSQL">SELECT t.tablename FROM SYS.SYSTABLES t WHERE t.tablename='PREFS_NODE'
</attribute>
       <attribute name="path">META-INF/database/derby/prefs-schema.sql</attribute>
       <reference name="DataSource">
             <name>JetspeedDS</name>
@@ -73,7 +73,7 @@
     </gbean>
 
     <gbean name="RegistrySchemaInit" class="org.apache.geronimo.connector.DatabaseInitializationGBean">
-      <attribute name="testSQL"> </attribute>
+      <attribute name="testSQL">SELECT t.tablename FROM SYS.SYSTABLES t WHERE t.tablename='PORTLET_DEFINITION'
</attribute>
       <attribute name="path">META-INF/database/derby/registry-schema.sql</attribute>
       <reference name="DataSource">
             <name>JetspeedDS</name>
@@ -81,7 +81,7 @@
     </gbean>
 
     <gbean name="SecuritySchemaInit" class="org.apache.geronimo.connector.DatabaseInitializationGBean">
-      <attribute name="testSQL"> </attribute>
+      <attribute name="testSQL">SELECT t.tablename FROM SYS.SYSTABLES t WHERE t.tablename='SECURITY_PRINCIPAL'
</attribute>
       <attribute name="path">META-INF/database/derby/security-schema.sql</attribute>
       <reference name="DataSource">
             <name>JetspeedDS</name>



Mime
View raw message