Remove identity generation strategy from entity in tests that doesn't need it

This commit is contained in:
Christian Beikov 2023-02-10 14:59:18 +01:00
parent 68f50c26e7
commit 8e0e4caa61
1 changed files with 1 additions and 1 deletions

View File

@ -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() {