Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkmoore2009-11-17 14:38:18 -0500
committerkmoore2009-11-17 14:38:18 -0500
commit01c013d19462e26f125d19cb8a51882445132be2 (patch)
tree68ca1d69a38a908f2d4e8eea6ec0bd5befc74e99
parent0057a47c0c6973380743cb7c8daa3d6450063a86 (diff)
downloadwebtools.dali-01c013d19462e26f125d19cb8a51882445132be2.tar.gz
webtools.dali-01c013d19462e26f125d19cb8a51882445132be2.tar.xz
webtools.dali-01c013d19462e26f125d19cb8a51882445132be2.zip
294798 - removed extra comma on joinColumns generation - patch from daniel nawrocki
-rw-r--r--jpa/plugins/org.eclipse.jpt.gen/templates/entities/join.vm7
1 files changed, 6 insertions, 1 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.gen/templates/entities/join.vm b/jpa/plugins/org.eclipse.jpt.gen/templates/entities/join.vm
index 261892253c..6c39b037b5 100644
--- a/jpa/plugins/org.eclipse.jpt.gen/templates/entities/join.vm
+++ b/jpa/plugins/org.eclipse.jpt.gen/templates/entities/join.vm
@@ -67,7 +67,12 @@
@JoinColumns({
#foreach ($column in $role.referrerColumns)
#set ($referencedColumn = $role.getReferencedColumn(${column.name}))
- #joinColumn($column $referencedColumn),
+ #joinColumn($column $referencedColumn)
+#if ($velocityCount < $role.referrerColumns.size() )
+,
+#else
+
+#end
#end
})
#end

Back to the top