|
19 | 19 | #foreach ($jpaColumn in $jpaView.getColumns($jpaTable)) |
20 | 20 | { |
21 | 21 | name: '${jpaColumn.propertyName}' |
22 | | - } #if($velocityHasNext) , #end |
| 22 | + } #if($foreach.hasNext) , #end |
23 | 23 | #end |
24 | 24 | ] |
25 | | - } #if($velocityHasNext) , #end |
| 25 | + } #if($foreach.hasNext) , #end |
26 | 26 | #end |
27 | 27 | ] |
28 | 28 | , joins: [ |
|
36 | 36 | #foreach ($sourceColumn in $joinRelationship.sourceColumns) |
37 | 37 | ## column name |
38 | 38 | #if ($sourceColumn.jpaTable.hasFakePrimaryKey()|| ( $sourceColumn.jpaTable.hasCompositeKey() && $sourceColumn.isIdentifier())) |
39 | | - '${sourceColumn.jpaTable.compositeKeyPropertyName}.${sourceColumn.propertyName}'#if($velocityHasNext) , #end |
| 39 | + '${sourceColumn.jpaTable.compositeKeyPropertyName}.${sourceColumn.propertyName}'#if($foreach.hasNext) , #end |
40 | 40 | #else |
41 | | - '${sourceColumn.propertyName}'#if($velocityHasNext) , #end |
| 41 | + '${sourceColumn.propertyName}'#if($foreach.hasNext) , #end |
42 | 42 | #end |
43 | 43 | ## column name |
44 | 44 | #end |
|
51 | 51 | #foreach ($destinationColumn in $joinRelationship.destinationColumns) |
52 | 52 | ## column name |
53 | 53 | #if ($destinationColumn.jpaTable.hasFakePrimaryKey()|| ( $destinationColumn.jpaTable.hasCompositeKey() && $destinationColumn.isIdentifier())) |
54 | | - '${destinationColumn.jpaTable.compositeKeyPropertyName}.${destinationColumn.propertyName}'#if($velocityHasNext) , #end |
| 54 | + '${destinationColumn.jpaTable.compositeKeyPropertyName}.${destinationColumn.propertyName}'#if($foreach.hasNext) , #end |
55 | 55 | #else |
56 | | - '${destinationColumn.propertyName}'#if($velocityHasNext) , #end |
| 56 | + '${destinationColumn.propertyName}'#if($foreach.hasNext) , #end |
57 | 57 | #end |
58 | 58 | ## column name |
59 | 59 | #end |
60 | 60 | ] |
61 | | - } #if($velocityHasNext) , #end |
| 61 | + } #if($foreach.hasNext) , #end |
62 | 62 | #end |
63 | 63 | ] |
64 | 64 | , outbound: [ |
|
77 | 77 | , sourceColumns: [ |
78 | 78 | #foreach ($sourceColumn in $relationship.sourceColumns) |
79 | 79 | ## column name |
80 | | - '${sourceColumn}'#if($velocityHasNext) , #end |
| 80 | + '${sourceColumn}'#if($foreach.hasNext) , #end |
81 | 81 | ## column name |
82 | 82 | #end |
83 | 83 | ] |
84 | 84 | , destinationColumns: [ |
85 | 85 | #foreach ($destinationColumn in $relationship.destinationColumns) |
86 | 86 | ## column name |
87 | | - '${destinationColumn}'#if($velocityHasNext) , #end |
| 87 | + '${destinationColumn}'#if($foreach.hasNext) , #end |
88 | 88 | ## column name |
89 | 89 | #end |
90 | 90 | ] |
|
109 | 109 | , sourceColumns: [ |
110 | 110 | #foreach ($sourceColumn in $relationship.sourceColumns) |
111 | 111 | ## column name |
112 | | - '${sourceColumn}'#if($velocityHasNext) , #end |
| 112 | + '${sourceColumn}'#if($foreach.hasNext) , #end |
113 | 113 | ## column name |
114 | 114 | #end |
115 | 115 | ] |
116 | 116 | , destinationColumns: [ |
117 | 117 | #foreach ($destinationColumn in $relationship.destinationColumns) |
118 | 118 | ## column name |
119 | | - '${destinationColumn}'#if($velocityHasNext) , #end |
| 119 | + '${destinationColumn}'#if($foreach.hasNext) , #end |
120 | 120 | ## column name |
121 | 121 | #end |
122 | 122 | ] |
123 | 123 | } |
124 | 124 | #end |
125 | 125 | #end |
126 | 126 | ] |
127 | | - }#if($velocityHasNext) , #end |
| 127 | + }#if($foreach.hasNext) , #end |
128 | 128 | ################################################################################### |
129 | 129 | ##### VIEWS |
130 | 130 | ################################################################################### |
|
0 commit comments