Logged In: NO

An additional bug occurs using the
'getColumnAndRelationSignature'-method in class
middlegen.javax.JavaTable. If one wants to get
$allCreateSignature using 'getColumnAndRelationSignature'
any TOMANY relationship is serialized to the create
signature in a wrong way:

In the submethod 'getRelationSignature' targetType is always
the interface name, but should be a collection when the
relationship is TOMANY.

sb.append(targetType).append(" ").append(targetName);

THE CODEFRAGMENT

String targetType = target.getDestinationClassName();
String targetName = origin.getVariableName(role);
sb.append(targetType).append(" ").append(targetName);

SHOULD BE SOMETHING LIKE THIS
String targetName = origin.getVariableName(role);
String targetType = null;
if (role.isTargetMany())
{
targetType = "java.util.Collection";

} else {
targetType = target.getDestinationClassName();
}
sb.append(targetType).append(" ").append(targetName);