Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrescobar2010-09-28 22:24:10 -0400
committerRyan D. Brooks2010-09-28 22:24:10 -0400
commita7e8c79fe7385f5bceac77563b1bb9b607204432 (patch)
treee513acc1ce15a79ff347f7ce08de3672956bd2a1 /plugins/org.eclipse.osee.demo.db.connection
parent11392aa3f5f6a47439c0d92c27cabeac31c185df (diff)
downloadorg.eclipse.osee-a7e8c79fe7385f5bceac77563b1bb9b607204432.tar.gz
org.eclipse.osee-a7e8c79fe7385f5bceac77563b1bb9b607204432.tar.xz
org.eclipse.osee-a7e8c79fe7385f5bceac77563b1bb9b607204432.zip
feature[bgz_326568]: Add H2 Database support
Diffstat (limited to 'plugins/org.eclipse.osee.demo.db.connection')
-rw-r--r--plugins/org.eclipse.osee.demo.db.connection/support/osee.demo.db.connection.xml138
1 files changed, 70 insertions, 68 deletions
diff --git a/plugins/org.eclipse.osee.demo.db.connection/support/osee.demo.db.connection.xml b/plugins/org.eclipse.osee.demo.db.connection/support/osee.demo.db.connection.xml
index f86f76b5b8..e4b6d4df76 100644
--- a/plugins/org.eclipse.osee.demo.db.connection/support/osee.demo.db.connection.xml
+++ b/plugins/org.eclipse.osee.demo.db.connection/support/osee.demo.db.connection.xml
@@ -1,68 +1,70 @@
-<DbConnection>
-
- <DatabaseInfo id="h2.db.info">
- <DatabaseHome key="#DBHOME#" value="~/h2/"/>
- <DatabaseName key="#DBNAME#" value="osee.h2.db" />
- <DatabaseType key="#TYPE#" value="h2" />
- <Prefix key="#PREFIX#" value="jdbc:h2" />
- <UserName key="#USERNAME#" value="OSEE" />
- <Password key="#PASSWORD#" value="OSEE" />
- <Host key="#HOST#" value="@AvailableDbServices.hostAddress" />
- <Port key="#PORT#" value="@AvailableDbServices.port" />
- </DatabaseInfo>
-
- <ConnectionDescription id="h2.db.connection">
- <Driver>org.h2.Driver</Driver>
- <Url>#PREFIX#:tcp://#HOST#:#PORT#/#DBHOME##DBNAME#;MODE=PostgreSQL;IGNORECASE=TRUE</Url>
- </ConnectionDescription>
-
- <DatabaseInfo id="DerbyServer">
- <DatabaseHome key="#DBHOME#" />
- <DatabaseName key="#DBNAME#" value="DerbyDatabase" />
- <DatabaseType key="#TYPE#" value="derby" />
- <Prefix key="#PREFIX#" value="jdbc:derby" />
- <UserName key="#USERNAME#" value="osee" />
- <Password key="#PASSWORD#" value="oseeadmin" />
- <Host key="#HOST#" value="@AvailableDbServices.hostAddress" />
- <Port key="#PORT#" value="@AvailableDbServices.port" />
- </DatabaseInfo>
-
- <DatabaseInfo id="postgresqlInfo">
- <DatabaseHome key="#DBHOME#" />
- <DatabaseName key="#DBNAME#" value="OSEE" />
- <DatabaseType key="#TYPE#" value="postgresql" />
- <Prefix key="#PREFIX#" value="jdbc:postgresql" />
- <UserName key="#USERNAME#" value="osee" />
- <Password key="#PASSWORD#" value="osee" />
- <Host key="#HOST#" value="@AvailableDbServices.hostAddress" />
- <Port key="#PORT#" value="@AvailableDbServices.port" />
- </DatabaseInfo>
-
- <ConnectionDescription id="postgresql">
- <Driver>org.postgresql.Driver</Driver>
- <Url>#PREFIX#://#HOST#:#PORT#/#DBHOME##DBNAME#</Url>
- </ConnectionDescription>
-
- <ConnectionDescription id="NetDerbyClient">
- <Driver>org.apache.derby.jdbc.ClientDriver</Driver>
- <Url>#PREFIX#://#HOST#:#PORT#/#DBHOME##DBNAME#;</Url>
- <UrlAttributes>
- <Entry>create=true</Entry>
- </UrlAttributes>
- </ConnectionDescription>
-
- <AvailableDbServices>
-
- <Server id="h2" dbInfo="h2.db.info" hostAddress="127.0.0.1" port="1621" connectsWith="h2.db.connection" />
-
- <Server id="derby" dbInfo="DerbyServer" hostAddress="127.0.0.1" port="1621" connectsWith="NetDerbyClient" />
-
- <Server id="osee.microdoc" dbInfo="postgresqlInfo" hostAddress="78.46.71.230"
- port="5432" connectsWith="postgresql" applicationServer="http://osee.microdoc.com:8089/" />
-
- <Server id="postgresqlLocalhost" dbInfo="postgresqlInfo"
- hostAddress="localhost" port="5432" connectsWith="postgresql"
- applicationServer="http://localhost:8089/" />
-
- </AvailableDbServices>
-</DbConnection>
+<DbConnection>
+
+ <DatabaseInfo id="h2.db.info">
+ <DatabaseHome key="#DBHOME#" value="~/h2/" />
+ <DatabaseName key="#DBNAME#" value="osee.h2.db" />
+ <DatabaseType key="#TYPE#" value="h2" />
+ <Prefix key="#PREFIX#" value="jdbc:h2" />
+ <UserName key="#USERNAME#" value="osee" />
+ <Password key="#PASSWORD#" value="oseeadmin" />
+ <Host key="#HOST#" value="@AvailableDbServices.hostAddress" />
+ <Port key="#PORT#" value="@AvailableDbServices.port" />
+ </DatabaseInfo>
+
+ <ConnectionDescription id="h2.db.connection">
+ <Driver>org.h2.Driver</Driver>
+ <Url>#PREFIX#:tcp://#HOST#:#PORT#/#DBHOME##DBNAME#;IGNORECASE=TRUE;SCHEMA_SEARCH_PATH=OSEE, PUBLIC</Url>
+ </ConnectionDescription>
+
+ <DatabaseInfo id="DerbyServer">
+ <DatabaseHome key="#DBHOME#" />
+ <DatabaseName key="#DBNAME#" value="DerbyDatabase" />
+ <DatabaseType key="#TYPE#" value="derby" />
+ <Prefix key="#PREFIX#" value="jdbc:derby" />
+ <UserName key="#USERNAME#" value="osee" />
+ <Password key="#PASSWORD#" value="oseeadmin" />
+ <Host key="#HOST#" value="@AvailableDbServices.hostAddress" />
+ <Port key="#PORT#" value="@AvailableDbServices.port" />
+ </DatabaseInfo>
+
+ <DatabaseInfo id="postgresqlInfo">
+ <DatabaseHome key="#DBHOME#" />
+ <DatabaseName key="#DBNAME#" value="OSEE" />
+ <DatabaseType key="#TYPE#" value="postgresql" />
+ <Prefix key="#PREFIX#" value="jdbc:postgresql" />
+ <UserName key="#USERNAME#" value="osee" />
+ <Password key="#PASSWORD#" value="osee" />
+ <Host key="#HOST#" value="@AvailableDbServices.hostAddress" />
+ <Port key="#PORT#" value="@AvailableDbServices.port" />
+ </DatabaseInfo>
+
+ <ConnectionDescription id="postgresql">
+ <Driver>org.postgresql.Driver</Driver>
+ <Url>#PREFIX#://#HOST#:#PORT#/#DBHOME##DBNAME#</Url>
+ </ConnectionDescription>
+
+ <ConnectionDescription id="NetDerbyClient">
+ <Driver>org.apache.derby.jdbc.ClientDriver</Driver>
+ <Url>#PREFIX#://#HOST#:#PORT#/#DBHOME##DBNAME#;</Url>
+ <UrlAttributes>
+ <Entry>create=true</Entry>
+ </UrlAttributes>
+ </ConnectionDescription>
+
+ <AvailableDbServices>
+
+ <Server id="h2" dbInfo="h2.db.info" hostAddress="127.0.0.1"
+ port="1621" connectsWith="h2.db.connection" />
+
+ <Server id="derby" dbInfo="DerbyServer" hostAddress="127.0.0.1"
+ port="1621" connectsWith="NetDerbyClient" />
+
+ <Server id="osee.microdoc" dbInfo="postgresqlInfo" hostAddress="78.46.71.230"
+ port="5432" connectsWith="postgresql" applicationServer="http://osee.microdoc.com:8089/" />
+
+ <Server id="postgresqlLocalhost" dbInfo="postgresqlInfo"
+ hostAddress="localhost" port="5432" connectsWith="postgresql"
+ applicationServer="http://localhost:8089/" />
+
+ </AvailableDbServices>
+</DbConnection>

Back to the top