Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

converting an sql join query into hibernate named query

Avatar of prsubject
prsubjectFlag for India asked on
Java EE
13 Comments1 Solution641 ViewsLast Modified:
I have Three tables.
Equipment , Cost, City
Data is retrived from these three tables  using the following  SQL Query

Select e.modelName, c.Name from Eqipment e,City c, Cost co where e.column2=co.column1 and co.column2=c.column3
and c.name='London'

I have written Equipment , Cost and City Entity Classes .

I am  facing  problem  in writting an Hibernate Named Query for the above SQL Query.Please Guide me.

Thanks in advance for the Help.

Avatar of Adam Menkes
Adam MenkesFlag of United States of America imageC# ASP.NET Developer
This problem has been solved!
Unlock 1 Answer and 13 Comments.
See Answers