diff options
Diffstat (limited to 'container-compiler-plugin/src/test/resources/io/trygvis')
-rw-r--r-- | container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/Person.java | 2 | ||||
-rw-r--r-- | container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/package-info.java | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/Person.java b/container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/Person.java index 43a0c78..755042b 100644 --- a/container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/Person.java +++ b/container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/Person.java @@ -3,9 +3,11 @@ package io.trygvis.persistence.test; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.ManyToOne; +import javax.persistence.SequenceGenerator; import java.util.Date; @Entity +@SequenceGenerator(name = "id_seq") public class Person { @Id public Long id; diff --git a/container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/package-info.java b/container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/package-info.java index 9ca5e93..b211cd3 100644 --- a/container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/package-info.java +++ b/container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/package-info.java @@ -1,3 +1,4 @@ -@SqlEntitySet package io.trygvis.persistence.test; +@SqlEntitySet +package io.trygvis.persistence.test; import io.trygvis.persistence.SqlEntitySet; |