diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2013-08-04 18:50:18 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2013-08-04 18:50:18 +0200 |
commit | 6d4c6960e69b53c124bd84beb3d008bd5a4bb319 (patch) | |
tree | 1bd812b044d35b629ac2b49f4910b28cfdc29a12 /container-compiler-plugin/src/test/resources/io/trygvis | |
parent | 381c368b8907640bdd7cd81db2294724e082a119 (diff) | |
download | container-playground-6d4c6960e69b53c124bd84beb3d008bd5a4bb319.tar.gz container-playground-6d4c6960e69b53c124bd84beb3d008bd5a4bb319.tar.bz2 container-playground-6d4c6960e69b53c124bd84beb3d008bd5a4bb319.tar.xz container-playground-6d4c6960e69b53c124bd84beb3d008bd5a4bb319.zip |
wip
o Adding Joda time's DateTime and UUID.
o Registering @SequenceGenerator's on fields and getters.
o Skipping static methods.
o Generating SQL to drop sequences.
Diffstat (limited to 'container-compiler-plugin/src/test/resources/io/trygvis')
2 files changed, 21 insertions, 3 deletions
diff --git a/container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/ChildEntity.java b/container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/ChildEntity.java index d886fca..a341fd2 100644 --- a/container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/ChildEntity.java +++ b/container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/ChildEntity.java @@ -10,4 +10,22 @@ public class ChildEntity extends ParentEntity { super(id); this.name = name; } + + // ----------------------------------------------------------------------- + // These static versions shouldn't affect anything + // ----------------------------------------------------------------------- + + public static void setSetterOnly(int x) { + } + + public static int getAccessorPair() { + return 0; + } + + public static void setAccessorPair(int x) { + } + + public static int getGetterOnly() { + return 0; + } } diff --git a/container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/ParentEntity.java b/container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/ParentEntity.java index 4695739..9925f7e 100644 --- a/container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/ParentEntity.java +++ b/container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/ParentEntity.java @@ -4,14 +4,14 @@ import javax.persistence.Id; public class ParentEntity { @Id - public final Long id; + public Long id; + + private Integer age; public ParentEntity(Long id) { this.id = id; } - private Integer age; - public Integer getAge() { return age; } |