Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'jpa/plugins/org.eclipse.jpt.gen/templates/entities/pk.java.vm')
-rw-r--r--jpa/plugins/org.eclipse.jpt.gen/templates/entities/pk.java.vm3
1 files changed, 2 insertions, 1 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.gen/templates/entities/pk.java.vm b/jpa/plugins/org.eclipse.jpt.gen/templates/entities/pk.java.vm
index 780037e8a9..1831098585 100644
--- a/jpa/plugins/org.eclipse.jpt.gen/templates/entities/pk.java.vm
+++ b/jpa/plugins/org.eclipse.jpt.gen/templates/entities/pk.java.vm
@@ -1,6 +1,7 @@
#if ($table.package != "")
package ${table.package};
#end
+
import java.io.Serializable;
import javax.persistence.*;
@@ -8,7 +9,7 @@ import javax.persistence.*;
* The primary key class for the ${table.name} database table.
*
*/
-@Embeddable()
+@Embeddable
public class ${table.compositeKeyClassName} implements Serializable {
//default serial version id, required for serializable classes.
private static final long serialVersionUID = 1L;

Back to the top