Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoberto E. Escobar2013-05-31 21:53:32 +0000
committerGerrit Code Review @ Eclipse.org2013-06-03 18:16:55 +0000
commit2d82502d4a36d9ad8ea144170cf11f625bff7dc2 (patch)
tree8a1d1e04084566c972732cd8bd6ebdf4aa7ff7e7 /plugins/org.eclipse.osee.x.server.p2/demo
parent6f27e929ef44dcc9f4f6b1728adffa4b23bbf88c (diff)
downloadorg.eclipse.osee-2d82502d4a36d9ad8ea144170cf11f625bff7dc2.tar.gz
org.eclipse.osee-2d82502d4a36d9ad8ea144170cf11f625bff7dc2.tar.xz
org.eclipse.osee-2d82502d4a36d9ad8ea144170cf11f625bff7dc2.zip
bug[ats_CPS1N]: Remove support for H2 database
H2 was replaced with Hyper SQL Java Database. Change-Id: Ic42c0af3120f9a22765122ef3bc8c453dce7a795
Diffstat (limited to 'plugins/org.eclipse.osee.x.server.p2/demo')
-rw-r--r--plugins/org.eclipse.osee.x.server.p2/demo/binary_data.zipbin316239 -> 317792 bytes
-rw-r--r--plugins/org.eclipse.osee.x.server.p2/demo/h2.zipbin510270 -> 0 bytes
-rw-r--r--plugins/org.eclipse.osee.x.server.p2/demo/hsql.zipbin0 -> 193353 bytes
-rw-r--r--plugins/org.eclipse.osee.x.server.p2/demo/osee.demo.db.connection.xml25
4 files changed, 13 insertions, 12 deletions
diff --git a/plugins/org.eclipse.osee.x.server.p2/demo/binary_data.zip b/plugins/org.eclipse.osee.x.server.p2/demo/binary_data.zip
index 1ce359d8b92..9c916b4ce66 100644
--- a/plugins/org.eclipse.osee.x.server.p2/demo/binary_data.zip
+++ b/plugins/org.eclipse.osee.x.server.p2/demo/binary_data.zip
Binary files differ
diff --git a/plugins/org.eclipse.osee.x.server.p2/demo/h2.zip b/plugins/org.eclipse.osee.x.server.p2/demo/h2.zip
deleted file mode 100644
index 13ac59e0cf1..00000000000
--- a/plugins/org.eclipse.osee.x.server.p2/demo/h2.zip
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.osee.x.server.p2/demo/hsql.zip b/plugins/org.eclipse.osee.x.server.p2/demo/hsql.zip
new file mode 100644
index 00000000000..def1c1fef9e
--- /dev/null
+++ b/plugins/org.eclipse.osee.x.server.p2/demo/hsql.zip
Binary files differ
diff --git a/plugins/org.eclipse.osee.x.server.p2/demo/osee.demo.db.connection.xml b/plugins/org.eclipse.osee.x.server.p2/demo/osee.demo.db.connection.xml
index aa2af7c9b28..a91bff73901 100644
--- a/plugins/org.eclipse.osee.x.server.p2/demo/osee.demo.db.connection.xml
+++ b/plugins/org.eclipse.osee.x.server.p2/demo/osee.demo.db.connection.xml
@@ -1,24 +1,25 @@
<DbConnection>
- <DatabaseInfo id="h2.db.info">
- <DatabaseHome key="#DBHOME#" value="demo/h2/" />
- <DatabaseName key="#DBNAME#" value="osee.h2.db" />
- <DatabaseType key="#TYPE#" value="h2" />
- <Prefix key="#PREFIX#" value="jdbc:h2:tcp" />
- <UserName key="#USERNAME#" value="osee" />
- <Password key="#PASSWORD#" value="osee" />
+ <DatabaseInfo id="hsql.db.info">
+ <DatabaseHome key="#DBHOME#" value="file:~/hsql/osee.hsql.db" />
+ <DatabaseName key="#DBNAME#" value="osee.hsql.db" />
+ <DatabaseType key="#TYPE#" value="hsql" />
+ <Prefix key="#PREFIX#" value="jdbc:hsqldb:hsql" />
+ <UserName key="#USERNAME#" value="public" />
+ <Password key="#PASSWORD#" value="" />
<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#://#HOST#:#PORT#/#DBHOME##DBNAME#;IGNORECASE=TRUE;SCHEMA_SEARCH_PATH=OSEE,PUBLIC;MVCC=TRUE;LOG=2</Url>
+ <ConnectionDescription id="hsql.db.connection">
+ <Driver>org.hsqldb.jdbc.JDBCDriver</Driver>
+ <Url>#PREFIX#://#HOST#:#PORT#/#DBNAME#</Url>
+ <Property key="hsqldb.tx" value="MVCC" />
</ConnectionDescription>
<AvailableDbServices>
- <Server id="osee.demo.h2" dbInfo="h2.db.info" hostAddress="127.0.0.1"
- port="8088" connectsWith="h2.db.connection" />
+ <Server id="hsql" dbInfo="hsql.db.info" hostAddress="127.0.0.1"
+ port="8088" connectsWith="hsql.db.connection" />
</AvailableDbServices>
</DbConnection>

Back to the top