From a019d8b05b31f5430cb7e9f1d2dbd7c36d03b7e3 Mon Sep 17 00:00:00 2001 From: Christian Beikov Date: Wed, 6 Sep 2023 15:13:03 +0200 Subject: [PATCH] HHH-17049 Avoid use of reserved word 'open' for column name (cherry picked from commit e248379b0aacb6cceea4b58cf416d4ce06509400) --- .../enhancement/lazy/ConstructorInitializationTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/ConstructorInitializationTest.java b/hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/ConstructorInitializationTest.java index f87a9c4b40..422d20c29b 100644 --- a/hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/ConstructorInitializationTest.java +++ b/hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/ConstructorInitializationTest.java @@ -15,6 +15,7 @@ import org.junit.Test; import org.junit.runner.RunWith; import jakarta.persistence.CascadeType; +import jakarta.persistence.Column; import jakarta.persistence.Entity; import jakarta.persistence.FetchType; import jakarta.persistence.GeneratedValue; @@ -281,6 +282,7 @@ public class ConstructorInitializationTest extends BaseCoreFunctionalTestCase { @GeneratedValue private long id; + @Column(name = "is_open") private boolean open = false; }