diff options
author | nhauge | 2009-08-25 18:08:59 +0000 |
---|---|---|
committer | nhauge | 2009-08-25 18:08:59 +0000 |
commit | 076a0d296ebb30b6269e4e11ed4be4973d177a6b (patch) | |
tree | 881173815666c5895152330f4fc4215c6da8136c | |
parent | fb1be8b2ae72d4b6073a89acd2eca59400a118c0 (diff) | |
download | webtools.dali-076a0d296ebb30b6269e4e11ed4be4973d177a6b.tar.gz webtools.dali-076a0d296ebb30b6269e4e11ed4be4973d177a6b.tar.xz webtools.dali-076a0d296ebb30b6269e4e11ed4be4973d177a6b.zip |
287027 - remove extra comma on join table columns - patch from Danny.
-rw-r--r-- | jpa/plugins/org.eclipse.jpt.gen/templates/entities/join.vm | 12 |
1 files changed, 10 insertions, 2 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 8e211d3584..261892253c 100644 --- a/jpa/plugins/org.eclipse.jpt.gen/templates/entities/join.vm +++ b/jpa/plugins/org.eclipse.jpt.gen/templates/entities/join.vm @@ -30,15 +30,23 @@ #foreach ($column in $role.referrerColumns) #set ($referencedColumn = $role.getReferencedColumn(${column.name})) ##$referencedColumn is the column in the join table - #joinColumn($referencedColumn $column), + #joinColumn($referencedColumn $column) +#if ($velocityCount < $role.referrerColumns.size() ) +, +#end #end + } , inverseJoinColumns={ #foreach ($column in $role.referencedColumns) #set ($referencedColumn = $role.getReferrerColumn(${column.name})) ##$referencedColumn is the column in the join table - #joinColumn($referencedColumn $column), + #joinColumn($referencedColumn $column) +#if ($velocityCount < $role.referencedColumns.size() ) +, +#end #end + } ) #else |