diff --git a/hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/discriminator/associations/OneToManyEagerDiscriminatorTest.java b/hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/discriminator/associations/OneToManyEagerDiscriminatorTest.java index cfb8d21b1a..158a36e281 100644 --- a/hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/discriminator/associations/OneToManyEagerDiscriminatorTest.java +++ b/hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/discriminator/associations/OneToManyEagerDiscriminatorTest.java @@ -112,7 +112,7 @@ public class OneToManyEagerDiscriminatorTest { @DiscriminatorColumn(name = "target_type", discriminatorType = DiscriminatorType.INTEGER) public abstract static class ValueBase implements Serializable { @Id - @GeneratedValue(strategy = GenerationType.IDENTITY) + @GeneratedValue private Long id; public Long getId() {