Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Lob in Postgres #1663

Open
DavideD opened this issue Jun 12, 2023 · 2 comments
Open

Support Lob in Postgres #1663

DavideD opened this issue Jun 12, 2023 · 2 comments
Labels
regression Something that was working before. A test that we have disabled waiting We are waiting for another PR or issue to be solved before merging this one

Comments

@DavideD
Copy link
Member

DavideD commented Jun 12, 2023

Postgres Vert.x SQL client doesn't seem to support the OID type.
See eclipse-vertx/vertx-sql-client#1328

Marking this as regression, because it used to work before the Upgrade to ORM 6.2

@dkostakev
Copy link

Is there any clarity when the LOB is going to be supported in Postgres?

@gavinking
Copy link
Member

Is there any clarity when the LOB is going to be supported in Postgres?

There is no BLOB or CLOB type in Postgres so you need to be much more specific about what you mean by this.

  • If you mean OID, then no, that depends on support from the Vert.x driver, as noted in the linked issue.
  • If you mean BYTEA, which you almost certainly do, then that is already supported and has been for a very long time.

Of course, you should follow the advice in the Hibernate documentation and not use the useless @Lob annotation when mapping BYTEA columns:

https://docs.jboss.org/hibernate/orm/6.5/introduction/html_single/Hibernate_Introduction.html#lobs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regression Something that was working before. A test that we have disabled waiting We are waiting for another PR or issue to be solved before merging this one
Projects
None yet
Development

No branches or pull requests

3 participants