Problem with Hibernate join query -
I have a problem typing a JOIN query in Hibernate, though I can write it in SQL. It looks like:
Select from z * y, where z.id = y.id and t.id = z.id and z.id = 2
What will be the Hibernate equivalent? I went through the documentation but the examples were not very useful in my situation or I was getting strange results. Thanks for any help.
You can use SQLQuery to use the same query. User SQL client that executes the query class. You can use the method of creating the user.
Comments
Post a Comment