Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version: 3.0
Hi Guys,
I need to translate the following Oracle query into Hibernate.
select a.column1, b.column2 from table1 b, table2 a
where a.id (+) = b.id and
and a.student_id (+) = 1
I used createSQLQuery , and am succesfully getting the list of rows. but the object[] for each row is of length 0, i.e the row data is not getting populated.
Am I missing something, or is there a better way of expressing this
Thanks in advance
Gopi