Are you planning to generate DataMap from DTO's as well? Or do you have it already?

If you do, DataMap XML can be passed to Ant or Maven to generate classes:

http://cayenne.apache.org/doc30/ant-tasks.html
http://cayenne.apache.org/doc30/maven2-plugins.html

Andrus



On May 14, 2010, at 12:25 PM, Sudheer wrote:
Hi,

Is there a way to create Cayenne objects, which are usually created by
Modeler, from existing DTOs (Data Transfer Objects) that are having
annotations? Any third-party api for this?

To reduce dev effort and retain consistency in our project, we are looking
for ways to automate creation of cayenne objects from DTOs.

Thank you,
Sudheer
--
View this message in context: 
http://cayenne.195.n3.nabble.com/Creating-Cayenne-objects-from-DTO-annotations-tp816904p816904.html
Sent from the Cayenne - User mailing list archive at Nabble.com.


Reply via email to