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 1b89defbb6
commit 4a3d6fbc0e
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() {