java.lang.reflect.InvocationTargetException: null

Root problem

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

Looks like bug https://hibernate.atlassian.net/browse/HHH-12368

They recommended set property (I believe it’s the best workaround):

as workaround is to disable hibernate to detect this function by setting flag hibernate.jdbc.lob.non_contextual_creation=true

The other solution described here: http://vkuzel.blogspot.com.cy/2016/03/spring-boot-jpa-hibernate-atomikos.html

Disable feature detection by this undocumented parameter. Check the org.hibernate.engine.jdbc.internal.JdbcServiceImpl.configure method for more details. spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults = false

So you can also try to add to your Spring boot properties file

spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults = false

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)