I've had to used Hibernate annotations in order to create a weird mapping for a legacy database.
Now it works, but I canīt add more fields using Roo:
@ManyToOne(fetch = FetchType.EAGER)
private Code code;
I can cut the annotation, execute the Roo command, and copy the annotation again, but it's a little bit annoying.
roo> field number --fieldName newCode --notNull --type java.lang.Integer --column C_NEW_CODE
Cannot present nested annotations unless created by this class
Could you give me any suggestion on this regard?