diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2013-08-04 12:34:48 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2013-08-04 12:34:48 +0200 |
commit | 3d556bfcad3eb3face9db986aa570d6e2a059448 (patch) | |
tree | 6b1b47390c16edd24a6f23d5183f6a0301043dcb /container-compiler-plugin/src/test/resources/io/trygvis/persistence | |
parent | c0c9c358e8703c1af917d7270adbb04160ad34b3 (diff) | |
download | container-playground-3d556bfcad3eb3face9db986aa570d6e2a059448.tar.gz container-playground-3d556bfcad3eb3face9db986aa570d6e2a059448.tar.bz2 container-playground-3d556bfcad3eb3face9db986aa570d6e2a059448.tar.xz container-playground-3d556bfcad3eb3face9db986aa570d6e2a059448.zip |
wip
Diffstat (limited to 'container-compiler-plugin/src/test/resources/io/trygvis/persistence')
-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; |