Skip to content

Commit 89e36cf

Browse files
berndhoppmaesenka
authored andcommitted
HHH-13083 Add support for st_makeenvelope in PostGIS dialect
https://postgis.net/docs/ST_MakeEnvelope.html
1 parent dc89e71 commit 89e36cf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

hibernate-spatial/src/main/java/org/hibernate/spatial/dialect/postgis/PostgisFunctions.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ class PostgisFunctions extends SpatialFunctionsRegistry {
4545
"st_envelope"
4646
)
4747
);
48+
put(
49+
"makeenvelope", new StandardSQLFunction(
50+
"st_makeenvelope"
51+
)
52+
);
4853
put(
4954
"astext", new StandardSQLFunction(
5055
"st_astext",

0 commit comments

Comments
 (0)