hibernate join query

From: randiz (randiz_at_excite.com)
Date: 06/29/04


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



Relevant Pages

  • Running updates reports automatically
    ... This might be a bit of a newbie question and I think I need a pointer ... Import which runs a SQL Query to a SQL server via ODBC. ... and do a refresh and then send out my worksheets. ... 2004 Programming book and skimmed through a few others but all the ...
    (microsoft.public.excel.programming)
  • Record Count??
    ... Hey guys, ... Is there a command I can use, or is there an SQL query that I could write ... Todd ...
    (borland.public.delphi.database.ado)