summaryrefslogtreecommitdiff
path: root/container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/basic/ChildEntity.java
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2013-08-19 19:45:28 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2013-08-19 19:45:28 +0200
commit8cca2127e0e11486cc45ae1a8198bd778301f935 (patch)
treee81daa9d333c4797fd2f14d3170f36fdc1bcbb60 /container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/basic/ChildEntity.java
parente78c0a1e4a4ebc71502dceccc9ae640862b7ce9e (diff)
downloadcontainer-playground-8cca2127e0e11486cc45ae1a8198bd778301f935.tar.gz
container-playground-8cca2127e0e11486cc45ae1a8198bd778301f935.tar.bz2
container-playground-8cca2127e0e11486cc45ae1a8198bd778301f935.tar.xz
container-playground-8cca2127e0e11486cc45ae1a8198bd778301f935.zip
o Dropping the Sequences class. Moving more stuff into SqlUnit to make it easier available in a generic form.HEADmaster
o Fixing the complicated cases where the generation got confused with both setter and constructor injection.
Diffstat (limited to 'container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/basic/ChildEntity.java')
-rw-r--r--container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/basic/ChildEntity.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/basic/ChildEntity.java b/container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/basic/ChildEntity.java
index 208ee9a..29ce1b2 100644
--- a/container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/basic/ChildEntity.java
+++ b/container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/basic/ChildEntity.java
@@ -1,5 +1,7 @@
package io.trygvis.persistence.test.basic;
+import io.trygvis.persistence.sql.SqlConstructor;
+
import javax.persistence.Entity;
@Entity
@@ -8,6 +10,7 @@ public class ChildEntity extends ParentEntity {
public final int favoriteNumber;
+ @SqlConstructor
public ChildEntity(Long id, String name, int favoriteNumber) {
super(id);
this.name = name;