Bump to sync to Ebean 12.1.1

This commit is contained in:
rob bygrave
2019-10-14 15:18:01 +13:00
parent 5e1aa47c05
commit c6f9d193be
3 changed files with 25 additions and 17 deletions
+10 -10
View File
@@ -4,12 +4,12 @@
<groupId>io.ebean</groupId>
<artifactId>ebean-postgis</artifactId>
<version>11.1.2-SNAPSHOT</version>
<version>12.1.1-SNAPSHOT</version>
<parent>
<groupId>org.avaje</groupId>
<artifactId>java8-parent</artifactId>
<version>1.3</version>
<artifactId>java8-oss</artifactId>
<version>2.1</version>
</parent>
<properties>
@@ -27,7 +27,7 @@
<dependency>
<groupId>io.ebean</groupId>
<artifactId>ebean</artifactId>
<version>11.19.1</version>
<version>12.1.1</version>
<scope>provided</scope>
</dependency>
@@ -41,7 +41,7 @@
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.2.2</version>
<version>42.2.8</version>
<scope>provided</scope>
</dependency>
@@ -62,9 +62,9 @@
</dependency>
<dependency>
<groupId>io.ebean.test</groupId>
<artifactId>ebean-test-config</artifactId>
<version>11.19.1</version>
<groupId>io.ebean</groupId>
<artifactId>ebean-test</artifactId>
<version>12.1.1</version>
<scope>test</scope>
</dependency>
@@ -91,11 +91,11 @@
<plugin>
<groupId>io.repaint.maven</groupId>
<artifactId>tiles-maven-plugin</artifactId>
<version>2.11</version>
<version>2.15</version>
<extensions>true</extensions>
<configuration>
<tiles>
<tile>io.ebean.tile:enhancement:5.6</tile>
<tile>io.ebean.tile:enhancement:12.1.1</tile>
</tiles>
</configuration>
</plugin>
@@ -53,5 +53,12 @@ public class TestInsertQuery {
p.setMpoly(mpoly);
Ebean.save(p);
List<String> content =
Ebean.find(MyBean.class)
.select("ST_AsText(lineString)::String")
.findSingleAttributeList();
System.out.println(content);
}
}
+8 -7
View File
@@ -5,12 +5,13 @@ ebean:
test:
# useDocker: false
# shutdown: stop # stop | remove
platform: postgres
platform: postgis
ddlMode: dropCreate # none | dropCreate | create | migration | createOnly | migrationDropCreate
dbName: mygisapp
postgres:
containerName: postgis10
image: mdillon/postgis
extensions: postgis
url: jdbc:postgresql_lwgis://127.0.0.1:6432/mygisapp
driver: org.postgis.DriverWrapperLW
# postgres:
# containerName: postgis10
# image: mdillon/postgis
# extensions: postgis
# url: jdbc:postgresql_lwgis://localhost:6432/mygisapp
# driver: org.postgis.DriverWrapperLW