diff --git a/h2.sh b/h2.sh new file mode 100755 index 0000000..6af14b2 --- /dev/null +++ b/h2.sh @@ -0,0 +1,4 @@ +#!/bin/bash +# This script will give you H2 database shell + +java -cp lib/default/h2*.jar org.h2.tools.Shell -url 'jdbc:h2:.simple-java;AUTO_SERVER=TRUE' -user sa -password sa diff --git a/ivy.xml b/ivy.xml index e462bc8..ef69d67 100644 --- a/ivy.xml +++ b/ivy.xml @@ -12,6 +12,11 @@ + + + + + diff --git a/src/ee/devclub/model/PhotoSpot.java b/src/ee/devclub/model/PhotoSpot.java index c0162b5..c97627e 100644 --- a/src/ee/devclub/model/PhotoSpot.java +++ b/src/ee/devclub/model/PhotoSpot.java @@ -1,6 +1,7 @@ package ee.devclub.model; public class PhotoSpot { + Long id; String name; String description; Location location; diff --git a/webapp/WEB-INF/jetty-web.xml b/webapp/WEB-INF/jetty-web.xml new file mode 100644 index 0000000..c96c629 --- /dev/null +++ b/webapp/WEB-INF/jetty-web.xml @@ -0,0 +1,22 @@ + + + + / + + + jdbc/ds + + + true + jdbc:h2:.simple-java;AUTO_SERVER=TRUE;USER=sa;PASSWORD=sa + 5 + 5 + false + + + + + + Processed jetty-web.xml + + \ No newline at end of file diff --git a/webapp/WEB-INF/liquibase.xml b/webapp/WEB-INF/liquibase.xml new file mode 100644 index 0000000..afe7701 --- /dev/null +++ b/webapp/WEB-INF/liquibase.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + diff --git a/webapp/WEB-INF/spring.xml b/webapp/WEB-INF/spring.xml index 6cab14f..56d9a04 100644 --- a/webapp/WEB-INF/spring.xml +++ b/webapp/WEB-INF/spring.xml @@ -6,4 +6,15 @@ + + + + + + + + + + +