Is there any way to get roo to ignore a field? Sort of like commenting it out from roos point of view? @Transient doesn't do this, roo still complains about the field.
Is there any way to get roo to ignore a field? Sort of like commenting it out from roos point of view? @Transient doesn't do this, roo still complains about the field.
You could do every thing but the field, then push in refactor the class and put the field in.
Try the "transient" access modifier instead of the annotation. If your JPA provider has knowledge of "transient" modifier, you can remove the annotation.
Code:private transient Date lastAccessed;
sweet- thanks for the replies, the transient access modifier does the trick. i've been stuck on this for a couple weeks. i had designed around this because i couldn't figure out how to get non-entity beans in an entity....