]> git.aero2k.de Git - tmp/jakarta-migration.git/commit
CSPACE-5978: RunSqlScript init handler now reads and executes SQL script files from...
authorAron Roberts <aron@socrates.berkeley.edu>
Tue, 23 Apr 2013 03:07:12 +0000 (20:07 -0700)
committerAron Roberts <aron@socrates.berkeley.edu>
Tue, 23 Apr 2013 03:07:12 +0000 (20:07 -0700)
commit736ce635ae02a497ded89647c6736130cbe8014e
treee31b2e780fa9234b388a17735ceea99aa3ea2f3b
parented0442878e3e724b5637a13d8c38d873a697a782
CSPACE-5978: RunSqlScript init handler now reads and executes SQL script files from within a server directory, as well as from within its own JAR-packaged resources directory. SQL scripts in its own resources directory are run first, in the order they are specified in the services tenant bindings file. Thereafter, SQL scripts in the server directory are run in ascending filename order.
services/common-api/src/main/java/org/collectionspace/services/common/api/FileTools.java
services/common/src/main/cspace/config/services/resources/db/mysql/.gitignore [new file with mode: 0644]
services/common/src/main/cspace/config/services/resources/db/postgresql/.gitignore [new file with mode: 0644]
services/common/src/main/java/org/collectionspace/services/common/ServiceMain.java
services/common/src/main/java/org/collectionspace/services/common/init/RunSqlScripts.java