How to return Collections and other Types in EJB QL ?

In this tutorial we will learn how to create new Type safe instances of an Objects simply using the EJB QL in your Query. By default, the select clause picks which objects and properties to return in the query result set. Check this example: select mate from Cat as cat inner join cat.mate as mate … Read more