NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
WhiteTea27
Joined: 23 Dec 2009 Posts: 5
|
Posted: Thu Feb 11, 2010 9:58 pm Post subject: use jsf and jpa to show data from multiple tables (join) |
|
|
I am attempting to learn about the java persistence API and java server faces and just completed the "Generating a JavaServer Faces 2.0 CRUD Application from a Database" tutorial and would like to know how to display information from multiple tables on the "View.xhtml" pages.
Should this be done by adding multiple @SecondaryTable annotations and altering the named queries in the entity classes?
Should i use the entity classes generated by netbeans and just alter the "prepareView()" method in one or more of the controllers?
How would I translate any of this to the View.xhtml pages?
Any help would be greatly appreciated.
Thank you |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|