Fix Oracle test failure

This commit is contained in:
Andrea Boriero 2021-09-08 17:05:34 +02:00
parent e2a1ae27d7
commit 304af1c3a6
1 changed files with 3 additions and 0 deletions

View File

@ -9,6 +9,7 @@ package org.hibernate.orm.test.locking.warning;
import java.io.Serializable; import java.io.Serializable;
import java.util.HashSet; import java.util.HashSet;
import java.util.Set; import java.util.Set;
import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.FetchType; import javax.persistence.FetchType;
import javax.persistence.Id; import javax.persistence.Id;
@ -91,6 +92,7 @@ public class LockNoneWarmingTest extends BaseCoreFunctionalTestCase {
@Id @Id
String name; String name;
@Column(name = "i_comment")
String comment; String comment;
@OneToMany(mappedBy = "item", fetch = FetchType.EAGER) @OneToMany(mappedBy = "item", fetch = FetchType.EAGER)
@ -107,6 +109,7 @@ public class LockNoneWarmingTest extends BaseCoreFunctionalTestCase {
@ManyToOne @ManyToOne
Item item; Item item;
@Column(name = "b_comment")
String comment; String comment;
} }
} }