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")
public static class CourseEnrollment {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@GeneratedValue(strategy = GenerationType.AUTO)
private Long id;
@Column(name = "course")

View File

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

View File

@ -144,7 +144,7 @@ public class PolymorphicQueriesWithJoinTest {
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 class PolymorphicQueriesWithJoinTest {
public static class Dog implements Animal {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@GeneratedValue(strategy = GenerationType.AUTO)
private long id;
private String name;