HHH-11147 - Fix Oracle failing test

This commit is contained in:
Andrea Boriero 2019-06-17 11:16:03 +01:00
parent e6401ca4c4
commit e8993eb688
1 changed files with 3 additions and 0 deletions

View File

@ -15,6 +15,7 @@ import javax.persistence.GeneratedValue;
import javax.persistence.Id; import javax.persistence.Id;
import javax.persistence.ManyToOne; import javax.persistence.ManyToOne;
import javax.persistence.OneToMany; import javax.persistence.OneToMany;
import javax.persistence.Table;
import org.hibernate.Hibernate; import org.hibernate.Hibernate;
import org.hibernate.ScrollMode; import org.hibernate.ScrollMode;
@ -314,6 +315,7 @@ public class StatelessQueryScrollingTest extends BaseNonConfigCoreFunctionalTest
// Entity fetch scrolling // Entity fetch scrolling
@Entity( name = "Resource" ) @Entity( name = "Resource" )
@Table(name = "resources")
public static class Resource { public static class Resource {
@Id @Id
@GeneratedValue( generator = "increment" ) @GeneratedValue( generator = "increment" )
@ -356,6 +358,7 @@ public class StatelessQueryScrollingTest extends BaseNonConfigCoreFunctionalTest
} }
@Entity( name = "User" ) @Entity( name = "User" )
@Table(name = "users")
public static class User { public static class User {
@Id @Id
@GeneratedValue( generator = "increment" ) @GeneratedValue( generator = "increment" )