Red Hat Bugzilla – Bug 1299842
[TEST] (6.4.x) Skip tests for HHH-10161 on Sybase
Last modified: 2017-01-17 07:36:48 EST
Tests for null value specified using javax.persistence.Parameter#getParameterType() (introduced via HHH-10161) fail on Sybase, because Sybase treats null as equal to null
insert into test values(null);
select * from test where id = null;
The SELECT will return the value added by the INSERT. This behavior is different from all other databases that we support. On other databases, you have to query whether "is null", not "= null".
I believe this is just a database-specific behavior that Hibernate can't really do anything about, so I suggest to skip these failing tests.
pull request to Hibernate: https://github.com/hibernate/hibernate-orm/pull/1227
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see email@example.com with any questions
Should this block the component upgrade BZ:
Verified with EAP 6.4.8.CP.CR2.
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.