File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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: 2851

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: 63852

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] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Regarding Query
It's not a secret anymore!