I solve this problem adding to ‘application.properties’ this line:
spring.jpa.properties.hibernate.dialect=org.hibernate.spatial.dialect.postgis.PostgisDialect
More Related Contents:
- How does spring.jpa.hibernate.ddl-auto property exactly work in Spring?
- Spring Data JPA map the native query result to Non-Entity POJO
- Spring Hibernate – Could not obtain transaction-synchronized Session for current thread
- ${employee.id} from List in JSP throws java.lang.NumberFormatException: For input string: “id”
- Joining two table entities in Spring Data JPA
- Disable all Database related auto configuration in Spring Boot
- Hibernate configuring multiple datasources and multiple session factories
- Spring Data JPA – Multiple EnableJpaRepositories
- Spring Data optional parameter in query method
- How Do I Create Many to Many Hibernate Mapping for Additional Property from the Join Table?
- Spring and hibernate: No Session found for current thread
- Hibernate Transactions and Concurrency Using attachDirty (saveOrUpdate)
- @Autowired in static classes
- JPA / JTA / @Transactional Spring annotation
- Spring Transactions and hibernate.current_session_context_class
- Spring @Transactional with a transaction across multiple data sources
- Access to Session using Spring JPA and Hibernate in order to enable filters
- Could not build ClassFile – ArchiveException
- Spring Boot Data JPA – Modifying update query – Refresh persistence context
- LazyInitializationException in JPA and Hibernate
- Implementing Optimistic lock using Hibernate and Spring
- Multiple data source and schema creation in Spring Boot
- How can I log SQL statements in Spring Boot?
- How to write a custom filter in spring security?
- Access properties file programmatically with Spring?
- Inject and Resource and Autowired annotations
- Scope of a Spring-Controller and its instance-variables
- Hibernate, Java 9 and SystemException
- Spring: register advice programmatically at runtime
- Autowired Repository is Null in Custom Constraint Validator