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.
This commit is contained in:
parent
e2ba4105d3
commit
7f71735e3b
|
@ -28,6 +28,7 @@ import javax.persistence.criteria.Path;
|
|||
import javax.persistence.criteria.Root;
|
||||
|
||||
import org.hibernate.jpa.test.BaseEntityManagerFunctionalTestCase;
|
||||
import org.hibernate.testing.FailureExpected;
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
import org.junit.Test;
|
||||
|
||||
|
@ -172,6 +173,7 @@ public class BasicSimpleCaseTest extends BaseEntityManagerFunctionalTestCase {
|
|||
|
||||
@Test
|
||||
@TestForIssue(jiraKey = "HHH-13016")
|
||||
@FailureExpected(jiraKey = "HHH-13016")
|
||||
public void testCaseEnumResult() {
|
||||
doInJPA( this::entityManagerFactory, em -> {
|
||||
// create entities
|
||||
|
|
Loading…
Reference in New Issue