问题描述
我看过有关如何解决org.postgresql.jdbc.PgConnection.createClob() 尚未实现
的帖子,我已经应用了spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true
正如那些关于 createClob() 问题的帖子所建议的那样.我的问题是我收到了 尚未实现
消息,但特别参考了 createBlob() 方法.
I have seen posts on how to resolve org.postgresql.jdbc.PgConnection.createClob() is not yet implemented
and I have applied spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true
as suggested by those posts on the createClob() issue. My issue is I am getting the is not yet implemented
message but in reference to the createBlob() method in particular.
我该如何解决 createBlob() 方法的问题?
How do I resolve this for the createBlob() method in particular?
休眠核心 5.4.20
Hibernate Core 5.4.20
Postgre 42.2.18
Postgre 42.2.18
Spring Boot 2.3.3
Spring Boot 2.3.3
推荐答案
我最终使用了 https://jdbc.postgresql.org/documentation/head/binary-data.html.该页面还讨论了如何使用大对象 (BLOB) 功能.
I ended up using a byte array as specified at https://jdbc.postgresql.org/documentation/head/binary-data.html. That page also discusses how to use Large Object (BLOB) functionality.
这篇关于如何解决“方法 org.postgresql.jdbc.PgConnection.createBlob() 尚未实现"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!