spring.jpa.properties.hibernate.dialect=org.hibernate.spatial.dialect.postgis.PostgisDialect
I have a Spring Boot v1.5 application with Hibernate 5 running a Postgis database. However, I'm having issues with spatial queries, with the exception being Invalid endian flag value encountered.
. Searching that exception yields me solutions of adding the appropirate SQL Dialect to the properties file. Doing that, as above, yield me the error from the title.
Running the queries directly in psql
makes them work, so it's not an issue in my Postgis DB itself.
The theme of these questions is always a misspelling, but I can't find what it would be here.
PostgisDialect
if you haven't added that to your pom or build file it will not resolve to a class. – Antepast