Skip to content

Commit a019d8b

Browse files
committed
HHH-17049 Avoid use of reserved word 'open' for column name
(cherry picked from commit e248379)
1 parent ef06020 commit a019d8b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/ConstructorInitializationTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
import org.junit.runner.RunWith;
1616

1717
import jakarta.persistence.CascadeType;
18+
import jakarta.persistence.Column;
1819
import jakarta.persistence.Entity;
1920
import jakarta.persistence.FetchType;
2021
import jakarta.persistence.GeneratedValue;
@@ -281,6 +282,7 @@ public static class AccountPreferences {
281282
@GeneratedValue
282283
private long id;
283284

285+
@Column(name = "is_open")
284286
private boolean open = false;
285287
}
286288

0 commit comments

Comments
 (0)