I'm using AOP with classes that are to be persisted EJB3 style and/or with Hibernate annotations using field access. The EJB3 spec says all fields not annotated with @Transient will be persisted.
As far as I can tell, fields added by the AOP compiler are not annotated as Transient. Is this correct for version 1.3.4?
This causes all sorts of problems when trying to use those persistence mechanisms. Is there a condition where those fields should be persisted? At least in my case, they should not and an @Transient annotation would be appropriate. The workaround for now is to stick with the xml mapping files.
I see what you're saying, but for now I think this is too specific a use case to handle from AOP right now.
If loads of you shout I'll take a look :-)