HHH-13658 fix failing test on Oracle

This commit is contained in:
Andrea Boriero 2021-02-03 10:11:53 +01:00
parent 22f858c68b
commit d213d675ce
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@
*/
package org.hibernate.orm.test.mapping.lazytoone;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
@ -24,6 +25,7 @@ import static org.hibernate.annotations.LazyToOneOption.NO_PROXY;
public class Flight {
@Id
private Integer id;
@Column(name = "flight_number")
private String number;
@ManyToOne( fetch = LAZY )