I am using play framework with jpa. I have a model Jobads with 2 functions to findall() findByLocation()
My Model
public class Job
Think about what is returned by your second query : you will have a table with two rows due to the join statement. However, I don't really know what will be the type of the output in this case, try using getClass on it to see.
join
getClass