Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Mapping a Database View

It's the exact same way as for a table, no different. Though you may
want to make your columns read only obviously.

Also make sure your view has a primary key that is unique.

./tch



On Fri, Sep 11, 2009 at 9:54 AM, RogerV <roger.varley@xxxxxxxxxxxxxx> wrote:
>
> Could someone point me to an example of how to map to a database view please.
> I've been googling all day and found loads of sites that imply that it can
> be done but I haven't found an example of how to do it.
>
> Regards
> --
> View this message in context: http://www.nabble.com/Mapping-a-Database-View-tp25401383p25401383.html
> Sent from the EclipseLink - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> eclipselink-users mailing list
> eclipselink-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/eclipselink-users
>


Back to the top