Reading from multiple tables and populating multiple entities using JPA SqlResultSetMapping
I have been building a JSF application using JPA to access the DB. There are a number of entities. I want to create a search results screen that shows columns from more than one entity in a table. These entities do not have foreign key relationships. To achieve this I have used a EnttityManager.createNativeQuery and specified an Entity...