We're updating the issue view to help you get more done. 

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

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.

Environment

None

Status

Assignee

Gail Badner

Reporter

Gail Badner

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

5.0.4

Priority

Major