mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-07 11:48:18 +00:00
Fix tests for Oracle 11
This commit is contained in:
parent
c7541cf06a
commit
3df56ac794
@ -87,7 +87,7 @@ public void testIt(EntityManagerFactoryScope scope) {
|
||||
@Table(name = "course_enrollment")
|
||||
public static class CourseEnrollment {
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@GeneratedValue(strategy = GenerationType.AUTO)
|
||||
private Long id;
|
||||
|
||||
@Column(name = "course")
|
||||
|
@ -59,7 +59,7 @@ public void testIt(EntityManagerFactoryScope scope) {
|
||||
public static class Child {
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@GeneratedValue(strategy = GenerationType.AUTO)
|
||||
private Long id;
|
||||
|
||||
@Basic
|
||||
@ -86,7 +86,7 @@ public String getName() {
|
||||
public static class Dog {
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@GeneratedValue(strategy = GenerationType.AUTO)
|
||||
private Long id;
|
||||
|
||||
@Basic
|
||||
|
@ -144,7 +144,7 @@ public interface Animal {
|
||||
public static class Cat implements Animal {
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@GeneratedValue(strategy = GenerationType.AUTO)
|
||||
private long id;
|
||||
|
||||
private String name;
|
||||
@ -169,7 +169,7 @@ public void addToOwners(Person person) {
|
||||
public static class Dog implements Animal {
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@GeneratedValue(strategy = GenerationType.AUTO)
|
||||
private long id;
|
||||
|
||||
private String name;
|
||||
|
Loading…
x
Reference in New Issue
Block a user