« Return to Thread: Displaying related data from JPA query in JSF table component

RE: Displaying related data from JPA query in JSF table component

by xcallejas :: Rate this Message:

Reply to Author | View in Thread

Futaleufu_John wrote:

> (1) Use data providers for queries involving more than one DB table.
> Display the results in a table component. Select the row I want to edit
> with and use simple JPA queries to get the specific row from the related
> tables. Display that information in editable fields and use JPA to update
> those tables.

Hi,

I use this option in my VW project.

Queries for visual tables use data providers for visual web components.

Write (insert/update) operations are done by JPA.

rgds.

--
Xavier Callejas

 « Return to Thread: Displaying related data from JPA query in JSF table component