【问题标题】:How to resolve "Method org.postgresql.jdbc.PgConnection.createBlob() is not yet implemented"如何解决“方法 org.postgresql.jdbc.PgConnection.createBlob() 尚未实现”
【发布时间】:2021-03-13 15:10:04
【问题描述】:

我已经看到有关如何解决 org.postgresql.jdbc.PgConnection.createClob() is not yet implemented 的帖子,并且我已按照有关 createClob() 问题的帖子的建议应用了 spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true。我的问题是我收到了 is not yet implemented 消息,但特别参考了 createBlob() 方法。

对于 createBlob() 方法,我该如何解决这个问题?

休眠核心 5.4.20

Postgre 42.2.18

Spring Boot 2.3.3

【问题讨论】:

    标签: java postgresql spring-boot hibernate


    【解决方案1】:

    我最终使用了https://jdbc.postgresql.org/documentation/head/binary-data.html 指定的字节数组。该页面还讨论了如何使用大对象 (BLOB) 功能。

    【讨论】:

      【解决方案2】:

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2019-09-08
        • 2018-08-13
        • 1970-01-01
        • 1970-01-01
        • 2014-10-25
        • 1970-01-01
        • 2016-09-30
        • 1970-01-01
        相关资源
        最近更新 更多