users@glassfish.java.net

Re: Working with JPA and Database Views

From: Felipe Gaścho <fgaucho_at_gmail.com>
Date: Sun, 13 Sep 2009 08:35:32 +0200

the best is to use NamedQueries.....

On Sun, Sep 13, 2009 at 4:52 AM, <glassfish_at_javadesktop.org> wrote:
> Hi all,
>
> What's the best approach to work with JPA and Database VIEWS ?
>
> Mapping my Views with @Entity is the best way ?
>
> Is there any way to tell to the persistence provider to don't try to create or drop the entities that I use to map my database views ?
> [Message sent by forum member 'arissonleal' (arissonleal_at_gmail.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=363787
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>



-- 
Looking for a client application for this service:
http://fgaucho.dyndns.org:8080/footprint-service/wadl