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

AttributeConverter result ignored on extraction when ResultSet.wasNull

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.3.5
    • Fix Version/s: 4.3.9, 5.0.0.Beta1
    • Component/s: None
    • Labels:
      None
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Last commented by a user?:
      true
    • Sprint:

      Description

      I implemented an AttributeConverter which returned an empty string on all deserialized null values because Oracle stores null values instead of empty strings.

      Although the converter gets called by BasicExtractor.extract, the result is thrown away afterwards because the result set was flagged with wasNull().

      I think the bug is related to HHH-8697 Closed but it is more the other way round.

        Attachments

          Issue links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: