users@glassfish.java.net

Re: Glassfish, JPA, and an IBM AS/400

From: <glassfish_at_javadesktop.org>
Date: Fri, 09 Nov 2007 05:46:41 PST

When you say there are no primary keys do you mean there are no uniqueness constraints on the database or that the data rows are not unique from each other? Is this for all of your data or just some of it. If the data rows are unique but there are just no unique constraints on the database then you can still use the tables as entities.

Yes, entities can be mapped to views just as if the views were tables. If you are mapping relationships some databases may have issues performing joins from views or to views
--Gordon
[Message sent by forum member 'gyorke' (gyorke)]

http://forums.java.net/jive/thread.jspa?messageID=244730