【发布时间】:2019-09-08 00:23:08
【问题描述】:
异常
启动 spring-boot 应用程序时我收到了:
原因:java.sql.SQLFeatureNotSupportedException:方法 org.postgresql.jdbc.PgConnection.createClob() 尚未实现。
我知道这与我现在正在使用的 Postgresql 驱动程序的一些问题有关。
不成功的尝试
许多人解决了这个问题,只需将下面这行放在 application.properties 文件中:
spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults=true
我仍然有同样的问题。它还有其他提示吗?如果考虑使用当前配置查看我的项目: https://github.com/caliari77/hiRank
【问题讨论】:
标签: java spring postgresql hibernate