Branch: refs/heads/master
Home:
https://github.com/hibernate/hibernate-orm
Commit: e2ba4105d36016379d0f428b8bfaf69e0e774cbd
https://github.com/hibernate/hibernate-orm/commit/e2ba4105d36016379d0f428...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2019-01-18 (Fri, 18 Jan 2019)
Changed paths:
R
hibernate-core/src/main/java/org/hibernate/query/criteria/internal/expression/CaseLiteralExpression.java
M
hibernate-core/src/main/java/org/hibernate/query/criteria/internal/expression/SearchedCaseExpression.java
M
hibernate-core/src/main/java/org/hibernate/query/criteria/internal/expression/SimpleCaseExpression.java
Log Message:
-----------
Revert "HHH-13016 Bring back CaseLiteralExpression"
This reverts commit 23153d5d559214652a6d40de25fd2367d163e301.
Commit: 7f71735e3b5f31d2ba176b599beb82e6919435fe
https://github.com/hibernate/hibernate-orm/commit/7f71735e3b5f31d2ba176b5...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2019-01-18 (Fri, 18 Jan 2019)
Changed paths:
M
hibernate-core/src/test/java/org/hibernate/jpa/test/criteria/simplecase/BasicSimpleCaseTest.java
Log Message:
-----------
HHH-13016 Test added in previous commit will now fail so add @FailureExpected
Reintroducing CaseLiteralExpression had some issues with databases other
than H2 as it tried to cast to binary even if the enum was stored as
enumerated. Unfortunately, we cannot really know if the enum is in the
end compared to a value stored as a string or a number.
Compare:
https://github.com/hibernate/hibernate-orm/compare/23153d5d5592...7f71735...
**NOTE:** This service has been marked for deprecation:
https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from
GitHub.com on January 31st, 2019.