From Daniel Lopez
Logged In: YES user_id=382046
Here is the patch, I cannot submit a file so I have to add it here. Anyway, it's quite short:
Index: plugins/entitybean/src/middlegen/plugins/entitybean/entity-cmp-20.vm =================================================================== RCS file: /cvsroot/middlegen/middlegen/plugins/entitybean/src/middlegen/plugins/entitybean/entity-cmp-20.vm,v retrieving revision 1.59 diff -w -b -i -r1.59 entity-cmp-20.vm 129a130,132 > * > * @resin-ejb.entity-bean sql-table="$table.sqlName" > * 218a222 > * @resin-ejb.cmp-field sql-column="$column.sqlName" 298a303,304 > #set( $thisSideResinTag = "resin-ejb.relation" ) > #set( $otherSideResinTag = "resin-ejb.relation" ) 305a312,313 > #set( $thisSideResinTag = "resin-ejb.relation" ) > #set( $otherSideResinTag = "resin-ejb.relation" ) 316a325,328 > * @$thisSideResinTag > * sql-column="$columnMap.foreignKey" > * sql-table="$relationshipRole.relation.joinTable.sqlName" > *
Log in to post a comment.
Logged In: YES
user_id=382046
Here is the patch, I cannot submit a file so I have to add
it here. Anyway, it's quite short:
Index:
plugins/entitybean/src/middlegen/plugins/entitybean/entity-cmp-20.vm
===================================================================
RCS file:
/cvsroot/middlegen/middlegen/plugins/entitybean/src/middlegen/plugins/entitybean/entity-cmp-20.vm,v
retrieving revision 1.59
diff -w -b -i -r1.59 entity-cmp-20.vm
129a130,132
> *
> * @resin-ejb.entity-bean sql-table="$table.sqlName"
> *
218a222
> * @resin-ejb.cmp-field sql-column="$column.sqlName"
298a303,304
> #set( $thisSideResinTag = "resin-ejb.relation" )
> #set( $otherSideResinTag = "resin-ejb.relation" )
305a312,313
> #set( $thisSideResinTag = "resin-ejb.relation" )
> #set( $otherSideResinTag = "resin-ejb.relation" )
316a325,328
> * @$thisSideResinTag
> * sql-column="$columnMap.foreignKey"
> *
sql-table="$relationshipRole.relation.joinTable.sqlName"
> *