summaryrefslogtreecommitdiff
path: root/container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/basic/Person.java
diff options
context:
space:
mode:
Diffstat (limited to 'container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/basic/Person.java')
-rw-r--r--container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/basic/Person.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/basic/Person.java b/container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/basic/Person.java
index 3cbdb84..6b1efb5 100644
--- a/container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/basic/Person.java
+++ b/container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/basic/Person.java
@@ -30,7 +30,8 @@ public class Person {
// @OrderBy("birthDate asc")
// private List<Person> children = new ArrayList<>();
- public Person(Long id, Date birthDate, Person mother, Gender gender) {
+ // The parameters is not in the same order as the fields.
+ public Person(Long id, Person mother, Date birthDate, Gender gender) {
this.id = id;
this.birthDate = birthDate;
this.mother = mother;