Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkmoore2009-04-14 12:36:32 -0400
committerkmoore2009-04-14 12:36:32 -0400
commit039a58d41ccdb9a6183dce97ab1508844121f1ba (patch)
treed8510166132f827cb8c280d4df75a1a7ac3307cf
parent0e28a2ca504a664ef325895a19d1b2749255cb00 (diff)
downloadwebtools.dali-039a58d41ccdb9a6183dce97ab1508844121f1ba.tar.gz
webtools.dali-039a58d41ccdb9a6183dce97ab1508844121f1ba.tar.xz
webtools.dali-039a58d41ccdb9a6183dce97ab1508844121f1ba.zip
268446 - patch from danny.ju@oracle.com - Entity Generation - Formatting issues
-rw-r--r--jpa/plugins/org.eclipse.jpt.gen/templates/entities/main.java.vm4
1 files changed, 1 insertions, 3 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.gen/templates/entities/main.java.vm b/jpa/plugins/org.eclipse.jpt.gen/templates/entities/main.java.vm
index 0eb6c4b312..d9e399aadd 100644
--- a/jpa/plugins/org.eclipse.jpt.gen/templates/entities/main.java.vm
+++ b/jpa/plugins/org.eclipse.jpt.gen/templates/entities/main.java.vm
@@ -63,12 +63,12 @@ public class ${table.className} ${table.generateExtendsImplements()} {
public ${table.className}() {
}
+
#####
##### simple properties getters and setters
#####
#if ($table.compositeKey)
#if ($table.access == "property")
-
@EmbeddedId
#end
public $table.compositeKeyClassName $customizer.propertyGetter($table.compositeKeyPropertyName)() {
@@ -82,7 +82,6 @@ public class ${table.className} ${table.generateExtendsImplements()} {
#end
#foreach ($column in $table.getSimpleColumns(true, true, false))
#if ($table.access == "property")
-
#parse("mappingKind.vm")
#parse("column.vm")
#end
@@ -100,7 +99,6 @@ public class ${table.className} ${table.generateExtendsImplements()} {
#####
#foreach ($role in $table.associationRoles)
#if ($table.access == "property")
-
//${role.description}
#if ($role.cardinality == "many-to-one")
#parse("manyToOne.vm")

Back to the top