UUID mapped as GEOMETRY with PostGisDialect

Description

When using PostgreSQL95Dialect, 'UUID' fields are correctly mapped to native 'uuid' types. But, when using PostgisPG95Dialect, UUIDs are treated as GEOMETRY.

Explicitly using "@Type("pg-uuid")" on the UUID fields seems to have no effect.

Environment

Hibernate 5.2.7, PostgreSQL 9.5

Status

Assignee

Karel Maesen

Reporter

Sérgio Pace

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.2.7
5.0.12

Priority

Major