Uploaded image for project: 'Hibernate ORM'
  1. Hibernate ORM
  2. HHH-10345

Map byte[]/Byte[] to BLOB rather than LONG RAW in Oracle

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.4
    • Fix Version/s: 5.1.0, 5.0.8
    • Component/s: hibernate-core
    • Labels:
      None
    • Environment:
      oracle 12c
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Last commented by a user?:
      true

      Description

      HHH-3422 Closed is still a problem. It causes a ORA-01754 error on oracle. Fix is easy. change the oracle dialect to use clob which can be used more than once in a table on oracle:

      registerColumnType( Types.VARBINARY , "blob" );
      registerColumnType( Types.LONGVARCHAR, "clob" );

        Attachments

          Issue links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 3h 47m
                  3h 47m