I think regenerating all classes for a given DataMap is a good start. Tracing individual entity changes is a bit more tricky. We don't have existing code to detect which entities need to be regenerated. One possible approach is to register a listener for EntityEvents/AttributeEvents/RelationshipEvents and trace all entities involved, and then use that list on save to figure out which classes need to be updated.
Andrus On Jun 21, 2011, at 8:33 PM, Eshan Sudharaka wrote: > Hi , > When we do some modifications cayenne-eclipse-editor (after save action > performed) it should regenerate required java classes.(with out regenerating > all java classes). For this matter i am referring CodeGeneratorController > class and there what is does is run a full Java class generation ( in > generateAction ) . Now I am working on this. > -- > *~Thanks & Regards~* > *** > * > P.A.Eshan Sudharaka > Dept of Computer Science and Engineering > University of Moratuwa > Sri Lanka > http://esudharaka.blogspot.com/
