Skip to content

Commit 304af1c

Browse files
committed
Fix Oracle test failure
1 parent e2a1ae2 commit 304af1c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

hibernate-core/src/test/java/org/hibernate/orm/test/locking/warning/LockNoneWarmingTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import java.io.Serializable;
1010
import java.util.HashSet;
1111
import java.util.Set;
12+
import javax.persistence.Column;
1213
import javax.persistence.Entity;
1314
import javax.persistence.FetchType;
1415
import javax.persistence.Id;
@@ -91,6 +92,7 @@ public static class Item implements Serializable {
9192
@Id
9293
String name;
9394

95+
@Column(name = "i_comment")
9496
String comment;
9597

9698
@OneToMany(mappedBy = "item", fetch = FetchType.EAGER)
@@ -107,6 +109,7 @@ public static class Bid implements Serializable {
107109
@ManyToOne
108110
Item item;
109111

112+
@Column(name = "b_comment")
110113
String comment;
111114
}
112115
}

0 commit comments

Comments
 (0)