Fix tests for Oracle 11

This commit is contained in:
Christian Beikov 2023-02-06 10:10:14 +01:00
parent ae238d3032
commit 6861290978
3 changed files with 5 additions and 5 deletions

View File

@ -87,7 +87,7 @@ public class IdClassAndAssociationsTest {
@Table(name = "course_enrollment") @Table(name = "course_enrollment")
public static class CourseEnrollment { public static class CourseEnrollment {
@Id @Id
@GeneratedValue(strategy = GenerationType.IDENTITY) @GeneratedValue(strategy = GenerationType.AUTO)
private Long id; private Long id;
@Column(name = "course") @Column(name = "course")

View File

@ -59,7 +59,7 @@ class EmbeddablePersistAndQueryInSameTransactionTest {
public static class Child { public static class Child {
@Id @Id
@GeneratedValue(strategy = GenerationType.IDENTITY) @GeneratedValue(strategy = GenerationType.AUTO)
private Long id; private Long id;
@Basic @Basic
@ -86,7 +86,7 @@ class EmbeddablePersistAndQueryInSameTransactionTest {
public static class Dog { public static class Dog {
@Id @Id
@GeneratedValue(strategy = GenerationType.IDENTITY) @GeneratedValue(strategy = GenerationType.AUTO)
private Long id; private Long id;
@Basic @Basic

View File

@ -144,7 +144,7 @@ public class PolymorphicQueriesWithJoinTest {
public static class Cat implements Animal { public static class Cat implements Animal {
@Id @Id
@GeneratedValue(strategy = GenerationType.IDENTITY) @GeneratedValue(strategy = GenerationType.AUTO)
private long id; private long id;
private String name; private String name;
@ -169,7 +169,7 @@ public class PolymorphicQueriesWithJoinTest {
public static class Dog implements Animal { public static class Dog implements Animal {
@Id @Id
@GeneratedValue(strategy = GenerationType.IDENTITY) @GeneratedValue(strategy = GenerationType.AUTO)
private long id; private long id;
private String name; private String name;