File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Aug 04, 2008
Aug 07, 2008 05:57:00
I am using three tables USER,ROLE and USERROLELINK.
USER and ROLE table is not directly linked , it has been linked with USERROLELINK table through linkid, it is been mapped through Hibernate.
I cant able to get the HQL for this, can you give me the HQL for userlist based on the role selection.
Joined: Jun 06, 2007
Aug 07, 2008 06:15:00
Hi vinoth raj welcome to Javaranch
This question is by no means related to
one of the moderators will move it to its proper place.
"Regarding Query " is is less descriptive.
And take some time to read the ask good question link below.
[ August 07, 2008: Message edited by: Amit Ghorpade ]
Asking Good Questions
Author and ninkuma
Joined: Jan 10, 2002
Aug 07, 2008 12:41:00
Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please
for more information.
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: Regarding Query
outer join in HQL
Regarding fetching query
Hibernate: association refers to an unmapped class
many-to-many bidirectional relationship query
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014