fix test for case-sensitive databases

This commit is contained in:
Gavin 2022-12-26 01:14:11 +01:00 committed by Gavin King
parent 01d608ca84
commit ca4474159e
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ import static jakarta.persistence.DiscriminatorType.INTEGER;
@Table(name = " INHERITANCE_TAB")
//@DiscriminatorColumn(name = "DISC")
@DiscriminatorFormula(discriminatorType = INTEGER,
value = "case when value1 is not null then 1 when value2 is not null then 2 end")
value = "CASE WHEN VALUE1 IS NOT NULL THEN 1 WHEN VALUE2 IS NOT NULL THEN 2 END")
public abstract class AbstractChild {
@Id
@GeneratedValue