Downgrade H2
This commit is contained in:
parent
e48da8d52c
commit
f4909b7046
|
@ -39,7 +39,7 @@ sourceSets.test.resources {
|
|||
}
|
||||
|
||||
tasks.test {
|
||||
// for now we cannot run with 'h2' project.db due to compatability issues H2 requires 4.200 but H2GIS 1.5 needs 4.197
|
||||
|
||||
enabled = ['pgsql',
|
||||
'h2',
|
||||
'pgsql_ci',
|
||||
|
|
|
@ -34,6 +34,7 @@ public class GeometryLiteralFormatter<T> implements JdbcLiteralFormatter<T> {
|
|||
SqlAppender appender, T value, Dialect dialect, WrapperOptions wrapperOptions) {
|
||||
Geometry<?> geom = javaType.unwrap( value, Geometry.class, wrapperOptions );
|
||||
appender.appendSql( geomFromTextName );
|
||||
appender.appendSql("('");
|
||||
appender.appendSql( Wkt.toWkt( geom, wktDialect ) );
|
||||
appender.appendSql( "'," );
|
||||
appender.appendSql( ( Math.max( geom.getSRID(), 0 ) ) );
|
||||
|
|
Loading…
Reference in New Issue