jsp - how to fetch records from more than two different tables using hibernate which are not mapped -
I am new to hibernate, I have a code called question and
blog There are two tables. Both of these tables are not mapped to each other. I want to get the record from these two tables and they are made in hibernation.
Is there a solution to this ??? I will feel very grateful for this kind of action of your kind.
If the hibernation unit is available then the query may be formed as below. The list will return.
Choose qst.question, question qst to blg.link, blog blg where qst.createDate = blg.createDate command blg.createDate
If the hibernate unit If not available then the original SQL can be used.
Comments
Post a Comment