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
Object Relational Mapping
Joined: Aug 05, 2010
Nov 20, 2012 23:55:57
how should I write the following query in HQL
SELECT * FROM Table1 T1,Table T2 WHERE T1."XYZ" = T2."XYZ"
I have 2 pojo classes for Table1 and Table2
Joined: Mar 07, 2010
Nov 22, 2012 09:38:54
when posting code or configuration.
The information you provided would be appropriate if you were asking us to help you write the SQL. HQL is based on objects, so for us to help you with this we need to see your objects and the hibernate relationships.
How To Ask Questions
Read before you PM me
I agree. Here's the link:
Need Hibernate Criteria help.
subquery sql to hql
Exception in Microsoft ODBC driver
Convert to hibernate simple SQL statement
DELETE using subquery
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015