Fix tests for Oracle 11
This commit is contained in:
parent
ae238d3032
commit
6861290978
|
@ -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")
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue