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

Unit test failures due to DB problems interpreting proper type for null value when bound to a query

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.4
    • Fix Version/s: 5.0.5
    • Component/s: testsuite
    • Labels:
      None
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

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

      Description

      The following fail on Postgres because bytea type cannot be cast to bigint:

      • org.hibernate.test.annotations.query.QueryAndSQLTest.testNativeQueryWithNullParameter
      • org.hibernate.test.annotations.query.QueryAndSQLTest.testQueryWithNullParameter
      • org.hibernate.jpa.test.query.QueryTest.testNativeQueryNullNamedParameter
      • org.hibernate.jpa.test.query.QueryTest.testNativeQueryNullPositionalParameter
        These tests need to be skipped.

      Fixes pushed to master and 5.0.

      I'll leave this issue open in case there are other unit tests failing for the same reason.

        Attachments

          Activity

            People

            • Assignee:
              gbadner Gail Badner
              Reporter:
              gbadner Gail Badner
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: