From 3d556bfcad3eb3face9db986aa570d6e2a059448 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 4 Aug 2013 12:34:48 +0200 Subject: wip --- .../src/test/resources/io/trygvis/persistence/test/Person.java | 2 ++ .../src/test/resources/io/trygvis/persistence/test/package-info.java | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'container-compiler-plugin/src/test/resources/io/trygvis/persistence') 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; -- cgit v1.2.3