Skip to main content



      Home
Home » Eclipse Projects » EclipseLink » Support for views in eclipse link
Support for views in eclipse link [message #387443] Wed, 29 April 2009 23:01 Go to next message
Eclipse UserFriend
Hi,

A question regarding the support of views in eclipse link.

1) As the way we have the support for creation of the tables, do we have
the same support to create the view in database?

2) If not than what is the best way to support the view in eclipse link.
i) Create view using native sql
ii) Than create a mapped entity with that view? In that case does the view
is treated like any other table in eclipse link?

Any other way to support view using eclipse link.

Additional info: This view I wish to create out of a table which is
created using eclipse link (not in orm.xml)

Thx
Ajay
Re: Support for views in eclipse link [message #387446 is a reply to message #387443] Thu, 30 April 2009 09:15 Go to previous message
Eclipse UserFriend
You can map an object to a view the same as you map an object to a table.
EclipseLink will not create the view for you, you will need to create the
view yourself, either through a native query, or using any DBA or database
schema tool.

---
James
http://www.nabble.com/EclipseLink---Users-f26658.html
Previous Topic:Problem while executing the stored procedure
Next Topic:Can we dosover the fields in a table using eclipse link?
Goto Forum:
  


Current Time: Sat Jul 05 12:15:19 EDT 2025

Powered by FUDForum. Page generated in 0.18041 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top