Caused by: java.sql.SQLFeatureNotSupportedException: Method org.postgresql.jdbc.PgConnection.createClob() is not yet implemented.

Spring Boot: 2.1.3.RELEASE
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










No comments:

 Python Basics How to check the version of Python interpreter mac terminal

Popular in last 30 days