Fix some tests failing for older DBs
This commit is contained in:
parent
8564289c83
commit
e94d030458
|
@ -78,7 +78,7 @@ public class EnumeratedAndGenerics2Test {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Entity
|
@Entity(name="TestEntity")
|
||||||
public static class TestEntity extends GenericBaseEntity<TestEnum> {
|
public static class TestEntity extends GenericBaseEntity<TestEnum> {
|
||||||
|
|
||||||
@Id
|
@Id
|
||||||
|
@ -93,7 +93,7 @@ public class EnumeratedAndGenerics2Test {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Entity
|
@Entity(name="AnotherTestEntity")
|
||||||
public static class AnotherTestEntity extends GenericBaseEntity<AnotherTestEnum> {
|
public static class AnotherTestEntity extends GenericBaseEntity<AnotherTestEnum> {
|
||||||
|
|
||||||
@Id
|
@Id
|
||||||
|
|
|
@ -67,7 +67,7 @@ public class EnumeratedAndGenerics3Test {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Entity
|
@Entity(name="TestEntity")
|
||||||
public static class TestEntity extends GenericBaseEntity<TestEnum> {
|
public static class TestEntity extends GenericBaseEntity<TestEnum> {
|
||||||
|
|
||||||
@Id
|
@Id
|
||||||
|
|
|
@ -78,7 +78,7 @@ public class EnumeratedAndGenericsTest {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Entity
|
@Entity(name="TestEntity")
|
||||||
public static class TestEntity extends GenericBaseEntity<TestEnum> {
|
public static class TestEntity extends GenericBaseEntity<TestEnum> {
|
||||||
|
|
||||||
@Id
|
@Id
|
||||||
|
@ -93,7 +93,7 @@ public class EnumeratedAndGenericsTest {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Entity
|
@Entity(name="AnotherTestEntity")
|
||||||
public static class AnotherTestEntity extends GenericBaseEntity<AnotherTestEnum> {
|
public static class AnotherTestEntity extends GenericBaseEntity<AnotherTestEnum> {
|
||||||
|
|
||||||
@Id
|
@Id
|
||||||
|
|
|
@ -68,7 +68,7 @@ public class ReferencedJoinedSuperclassColumnTest {
|
||||||
@DiscriminatorColumn(name = "branch_type", discriminatorType = DiscriminatorType.STRING)
|
@DiscriminatorColumn(name = "branch_type", discriminatorType = DiscriminatorType.STRING)
|
||||||
public static class Branch {
|
public static class Branch {
|
||||||
@Id
|
@Id
|
||||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
@GeneratedValue
|
||||||
Long id;
|
Long id;
|
||||||
|
|
||||||
@Column(unique = true, name = "branch_id")
|
@Column(unique = true, name = "branch_id")
|
||||||
|
|
|
@ -54,7 +54,7 @@ public class ReferencedSuperclassColumnTest {
|
||||||
@DiscriminatorColumn(name = "branch_type", discriminatorType = DiscriminatorType.STRING)
|
@DiscriminatorColumn(name = "branch_type", discriminatorType = DiscriminatorType.STRING)
|
||||||
public static class Branch {
|
public static class Branch {
|
||||||
@Id
|
@Id
|
||||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
@GeneratedValue
|
||||||
Long id;
|
Long id;
|
||||||
|
|
||||||
@Column(unique = true, name = "branch_id")
|
@Column(unique = true, name = "branch_id")
|
||||||
|
|
|
@ -16,7 +16,7 @@ import java.util.UUID;
|
||||||
|
|
||||||
@SessionFactory
|
@SessionFactory
|
||||||
@DomainModel(annotatedClasses = PostgresUuidTest.It.class)
|
@DomainModel(annotatedClasses = PostgresUuidTest.It.class)
|
||||||
@RequiresDialect(PostgreSQLDialect.class)
|
@RequiresDialect(value = PostgreSQLDialect.class, majorVersion = 13)
|
||||||
public class PostgresUuidTest {
|
public class PostgresUuidTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
Loading…
Reference in New Issue