I have 2 tables say
Table1 and Table2
Now Table1 has 3 columns say t1, t2, t3 and Table2 has 2 columns t4 and t5.
I have to fetch data from both tables by join but there is no mapped association between two tables in annotation or xml.
Now main issue is I have to use hibernate projection to fetch selected columns from both tables say t1,t2 from Table1 and t4 from Table2.
I have gone through the internet but have found examples of tables with association.
Glad if there will be any guidance on this.