If you want custom Java code based on the Cayenne model, then yes, "cgen" + 
custom template is the way to go. 

Andrus

On May 3, 2011, at 4:25 PM, felix wrote:

> Hi,
> 
> We have created a new template pojo.vm in order to generate the pojos
> automatically, using the cayenne cgen goal of the cayenne maven plugin. It
> is more or less working but we developed it  on our own (not cayenne
> standard).
> 
> (We are trying to evaluate whether a DTO layer is suitable or not)
> 
> does anybody know other better way to generate those pojos?
> 
> 
> Thanks a lot in advance
> Felix
> 
> --
> View this message in context: 
> http://cayenne.195.n3.nabble.com/Pojos-generation-tp2894233p2894233.html
> Sent from the Cayenne - User mailing list archive at Nabble.com.
> 

Reply via email to