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.

Activity

Show:

Former userDecember 2, 2015 at 10:55 PM

No more found.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created November 20, 2015 at 11:35 PM
Updated December 3, 2015 at 12:49 AM
Resolved December 2, 2015 at 10:55 PM

Flag notifications