hibernate join query
From: randiz (randiz_at_excite.com)
Date: 06/29/04
- Next message: Tod Landis: "Re: JDBC Event"
- Previous message: Dave Holland: "Re: connecting to an oracle db using the thick (oci) driver"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Jun 2004 06:36:24 -0700
hey guys
I have a newbie question :
I have two table
-table1
pk
iden
name
-table2
pk
iden
name
This is what I am trying to do in sql :
"Select * from table1 as A, table2 as B where A.iden = B.iden
and A.name isNull;"
what is HQL equivalent of the above sql query. And also what
changes are requires in th hbm.xml mapping files to enable the hql
query to work.
thanks and greatly appreciate the help
randiz
- Next message: Tod Landis: "Re: JDBC Event"
- Previous message: Dave Holland: "Re: connecting to an oracle db using the thick (oci) driver"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|