Re: Generate DTO from JPA annotated class

Konstantin Priblouda <[email protected]> Thu, 2 Jul 2009 06:32:48 -0700 (PDT)
Newsgroups gmane.comp.java.xdoclet.user
Message-ID <[email protected]>
XDoclet s the right tool to do this, but it does not process 
anotations,  but xdoclet ( kind-of javadoc ) tags instead.

To achieve your task you can start from existing hibernate plugin,
reuse its tag definitions and create your own velocity template.

regars,


----[ Konstantin Pribluda http://www.pribluda.de ]----------------
JTec quality components: http://www.pribluda.de/projects/


--- On Thu, 7/2/09, Shay Matasaro <[email protected]> wrote:

> From: Shay Matasaro <[email protected]>
> Subject: [Xdoclet-user] Generate DTO from JPA annotated class
> To: [email protected]
> Date: Thursday, July 2, 2009, 3:21 PM
> Hi All,
> 
> I am looking for a utility that can take a JPA annotated 
> class(hibernate) and generate a DTO(Value object) class
> from it.
> 
> while doing my research i ran into the Value Object
> implementation of 
> XDoclet which looks great.
> 
> my question is, Is there an XDoclet implementation that can
> handle a JPA 
> class in a similar manner to the way that Value Object
> handles EJB classes?
> 
> Thanks,
> Shay
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> xdoclet-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> 


      

------------------------------------------------------------------------------