« Return to Thread: Scaffolding Java Domain Classes mapped With JPA annotations ?

Re: Scaffolding Java Domain Classes mapped With JPA annotations ?

by Graeme Rocher-3 :: Rate this Message:

Reply to Author | View in Thread

Yeah should be possible with gorm-jpa, although haven't tried it. Just
set up your EntityManager then run

grails generate-all [CLASS_NAME]

GORM-JPA API is roughly the same as the Hibernate API so it should just work

Cheers

On Mon, Jun 22, 2009 at 5:26 PM, someone127<leito127@...> wrote:

>
> Hi all,
>
> I'd like to know if it's possible to scaffold Java classes mapped With JPA
> annotations (and not hibernate)?
> Do the plugins "gorm-jpa" and "jpa plugin" make that possible ?
>
> Thanks in advance.
> --
> View this message in context: http://www.nabble.com/Scaffolding-Java-Domain-Classes-mapped-With-JPA-annotations---tp24150720p24150720.html
> Sent from the grails - dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>



--
Graeme Rocher
Head of Grails Development
SpringSource - Weapons for the War on Java Complexity
http://www.springsource.com

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: Scaffolding Java Domain Classes mapped With JPA annotations ?