users@glassfish.java.net

Working with JPA and Database Views

From: <glassfish_at_javadesktop.org>
Date: Sat, 12 Sep 2009 19:52:33 PDT

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