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
commit11392aa3f5f6a47439c0d92c27cabeac31c185df (patch)
tree260787424a5fb9663ae63b126fd27668fd65c664 /plugins
parent78e6c20da733d3f98d32c1758f5733e0e0bdbf85 (diff)
downloadorg.eclipse.osee-11392aa3f5f6a47439c0d92c27cabeac31c185df.tar.gz
org.eclipse.osee-11392aa3f5f6a47439c0d92c27cabeac31c185df.tar.xz
org.eclipse.osee-11392aa3f5f6a47439c0d92c27cabeac31c185df.zip
feature[bgz_326568]: Add H2 Demo Connection Info
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.osee.demo.db.connection/support/osee.demo.db.connection.xml20
1 files changed, 19 insertions, 1 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 3d678398ff..f86f76b5b8 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,5 +1,21 @@
<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" />
@@ -36,6 +52,8 @@
</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" />
@@ -47,4 +65,4 @@
applicationServer="http://localhost:8089/" />
</AvailableDbServices>
-</DbConnection> \ No newline at end of file
+</DbConnection>

Back to the top