Method org.postgresql.jdbc.PgConnection.createClob() is not yet implemented

前端 未结 8 2156
迷失自我
迷失自我 2020-12-12 23:25

How can I solve this error:

java.lang.reflect.InvocationTargetException: null
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_1         


        
8条回答
  •  误落风尘
    2020-12-12 23:54

    Solved by adding hibernate.properties with

    hibernate.jdbc.lob.non_contextual_creation=true
    

    Other solutions with application.properties didn't work. This can be also done via XML hibernate.cfg.xml

    Spring Boot version: 2.0.2.RELEASE

提交回复
热议问题