Karel Maesen (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *commented* on HHH-16369 (
https://hibernate.atlassian.net/browse/HHH-16369?atlOrigin=eyJpIjoiNzJkOW...
)
Re: PostGIS function st_extent(geometry) does not work (
https://hibernate.atlassian.net/browse/HHH-16369?atlOrigin=eyJpIjoiNzJkOW...
)
I’ve looked into this.
There is a big difference between the st_extent() and st_envelope() functions. The former
is an aggregate function that returns the bounding box for a set of geometries. Whereas
the latter returns the bounding box of a single geometry.
The st_envelope() (a.ka. envelop()) function works correctly in HQL/JPQL. That it doesn’t
work in a native query is currently a limitation of how we handle type resolution
internally. I’ll need to investigate this a bit more to see if this can be solved.
There Is a problem that the st_extent() function has accidentally been removed in
Hibernate 6. I’m fixing this.
(
https://hibernate.atlassian.net/browse/HHH-16369#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16369#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100227- sha1:6a5b8c4 )