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

View File

@ -112,7 +112,7 @@ public void setProperties(Set<UserValueBase> properties) {
@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() {