Skip to content

Support Lob in Postgres #1663

@DavideD

Description

@DavideD
Member

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

Activity

added
waitingWe are waiting for another PR or issue to be solved before merging this one
regressionSomething that was working before. A test that we have disabled
on Jun 12, 2023
dkostakev

dkostakev commented on Jun 24, 2024

@dkostakev

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

gavinking

gavinking commented on Jun 24, 2024

@gavinking
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    regressionSomething that was working before. A test that we have disabledwaitingWe are waiting for another PR or issue to be solved before merging this one

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @DavideD@gavinking@dkostakev

        Issue actions

          Support Lob in Postgres · Issue #1663 · hibernate/hibernate-reactive