diff --git a/hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/group/LGMB_From.java b/hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/group/LGMB_From.java index 5a8e33de53..8499fff7e7 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/group/LGMB_From.java +++ b/hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/group/LGMB_From.java @@ -11,6 +11,7 @@ import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.OneToOne; +import javax.persistence.Table; import org.hibernate.annotations.LazyGroup; import org.hibernate.annotations.LazyToOne; @@ -22,6 +23,7 @@ import org.hibernate.annotations.LazyToOneOption; * @author Jan-Oliver Lustig, Sebastian Viefhaus */ @Entity +@Table(name = "LGMB_FROM") @Access(AccessType.FIELD) public class LGMB_From { diff --git a/hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/group/LGMB_To.java b/hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/group/LGMB_To.java index ab341f53f7..37b5b97dbd 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/group/LGMB_To.java +++ b/hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/group/LGMB_To.java @@ -6,6 +6,7 @@ import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.OneToOne; +import javax.persistence.Table; import org.hibernate.annotations.AccessType; @@ -15,6 +16,7 @@ import org.hibernate.annotations.AccessType; * @author Jan-Oliver Lustig, Sebastian Viefhaus */ @Entity +@Table(name = "LGMB_TO") public class LGMB_To { @Id private static final long serialVersionUID = 1L;