This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Servlets and the fly likes Regarding Query Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Servlets
Reply locked New topic

Regarding Query

vinoth raj

Joined: Aug 04, 2008
Posts: 5

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.

Amit Ghorpade

Joined: Jun 06, 2007
Posts: 2716

Hi vinoth raj welcome to Javaranch ,

Please CarefullyChooseOneForum.
This question is by no means related to servlets
one of the moderators will move it to its proper place.
And also UseAMeaningfulSubjectLine.
"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|
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 61315

Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please read this for more information.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
It is sorta covered in the JavaRanch Style Guide.
subject: Regarding Query