Mercurial > dive4elements > framework
annotate README @ 181:116482169b44
Adapted the sql statements for fetching all collections and all user collections from database.
artifacts/trunk@1407 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 07 Mar 2011 11:10:45 +0000 |
parents | 9449f296cd54 |
children | aa9f2f5ff032 |
rev | line source |
---|---|
3
b1ec257e9d8d
Added dependencies to H2 and restlet.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
1 |
b1ec257e9d8d
Added dependencies to H2 and restlet.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
2 Create a new H2 database for usage in the artifact database: |
b1ec257e9d8d
Added dependencies to H2 and restlet.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
3 |
30
88972c6daa4f
Added a cleanup thread which periodically removes
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
3
diff
changeset
|
4 $ java -cp `find ~/.m2/ -name h2\*.jar` org.h2.tools.RunScript \ |
3
b1ec257e9d8d
Added dependencies to H2 and restlet.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
5 -user USER \ |
b1ec257e9d8d
Added dependencies to H2 and restlet.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
6 -password PASSWORD \ |
30
88972c6daa4f
Added a cleanup thread which periodically removes
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
3
diff
changeset
|
7 -url jdbc:h2:artifact-database/doc/example-conf/artifacts.db \ |
45
9449f296cd54
Fixed inconsistencies in documentation after changes in h2-config
Hans Plum <hans.plum@intevation.de>
parents:
30
diff
changeset
|
8 -script artifact-database/doc/schema-h2.sql |
9449f296cd54
Fixed inconsistencies in documentation after changes in h2-config
Hans Plum <hans.plum@intevation.de>
parents:
30
diff
changeset
|
9 |