How i can map an entity using Hibernate for columns which have been collected from joining different tables. I have a pre build query, not used hibernate to make join. So now the result need to be collected and mapped to the entity from result set. But in the results i don't have any primary key and neither a specific table from where i have fetched the data. So my entity should be without @id and @Table. |