My application is going to use the following technologies:
- Postgresql
- Postgis
- JPA/Hibernate
- Spring
- Spring Data JPA
I understand (from the Hibernate Spatial documentation) that one has to use the following dialect: org.hibernate.spatial.dialect.postgis.PostgisDialect
What I don't understand though is how the above dialect relates to the standard Posgresql dialect, i.e. org.hibernate.dialect.PostgreSQLDialect
...
Is the Postgis dialect a superset of the standard Posgresql dialect?
Will all features of the latest standard Posgresql dialect be available in the Postgis dialect?
I guess I can't use several/multiple dialects on the same entityManager factory... Then what are the best practices to get the best of both dialects?