We're updating the issue view to help you get more done. 

Postgis dialect uses Postgresql 8.2 dialect, support newer versions

Description

Currently, org.hibernate.spatial.dialect.postgis.PostgisDialect is defined as extending org.hibernate.dialect.PostgreSQL82Dialect, forcing users to create a copy of the dialect if features from PostgreSQL 8.2+ are required.

The Dialect could either be changed to extend org.hibernate.dialect.PostgreSQL94Dialect or several Postgis dialects for different PostgreSQL versions could be created. It would however be a good idea to not duplicate the definition of the spatial functions which do not change between the PostgreSQL versions.

Environment

PostgreSQL

Status

Assignee

Karel Maesen

Reporter

Vojtech Vondra

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

5.0.0.Final
5.2.2

Priority

Trivial