Branch: refs/heads/wip/6.0
Home:
https://github.com/hibernate/hibernate-orm
Commit: 62a14972bc522363f763bba71fc4738fea5a5127
https://github.com/hibernate/hibernate-orm/commit/62a14972bc522363f763bba...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-03-19 (Thu, 19 Mar 2020)
Changed paths:
M
hibernate-core/src/test/java/org/hibernate/jpa/test/query/TupleNativeQueryTest.java
M
hibernate-core/src/test/java/org/hibernate/test/fileimport/MultiLineImportFileTest.java
Log Message:
-----------
HHH-7318 Fix native queries incorrectly converting BIGINT results to BigInteger
Also fix existing tests with wrong expectations:
* TupleNativeQueryTest: there is no reason to expect a BigInteger in
results, since the ID of entity Users if of type Long.
* MultiLineImportFileTest: there is no reason to expect "COUNT(*)" to
return a BigInteger, since the SQL type of COUNT(*) is bigint, which
corresponds to Long in Java.
Commit: 3f95c2eadbe36c56a4a8f3bc063f7c4333a12570
https://github.com/hibernate/hibernate-orm/commit/3f95c2eadbe36c56a4a8f3b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-03-19 (Thu, 19 Mar 2020)
Changed paths:
A
hibernate-core/src/test/java/org/hibernate/jpa/test/query/NativeQueryResultTypeAutoDiscoveryTest.java
Log Message:
-----------
HHH-7318 Test auto-discovery of result types in native queries
Compare:
https://github.com/hibernate/hibernate-orm/compare/646221858755...3f95c2e...