Spring Boot: 2.1.3.RELEASE
JDK : 1.8
PostgresSQL: 12.3
I am getting the following exception while starting the application
JDK : 1.8
PostgresSQL: 12.3
I am getting the following exception while starting the application
Caused by: java.sql.SQLFeatureNotSupportedException: Method org.postgresql.jdbc.PgConnection.createClob() is not yet implemented.
This is an issue with hibernate library. This has been fixed in the following version and available in Spring boot v2.2.0.Mx
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>5.4.2.Final</version>
</dependency>
Since I cannot upgrade Spring Boot i need to disable the Large Object creation by the following entry in application.properties
spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true
For more info refer : https://stackoverflow.com/questions/49110818/method-org-postgresql-jdbc-pgconnection-createclob-is-not-yet-implemented
No comments:
Post a Comment