Hi,
I have an sql similar to the one given below. I am trying to figure out how to acheive this in hibernate 3.
I am a beginner to hibernate and I could succesfully do the CRUD operations when the query is something like this: 'select * from table'.
SELECT
i.id,
i.sa,
i.curr,
i.num,
i._line_id,
acc.cd,
FROM
ITEM i,
ACCOUNT acc
WHERE
i.cd = 'ACT' AND
i.type_cd = 'LINE' AND
acc.type_cd = 'S'
How do I acheive the CRUD operations in hibernate 3 with something similar to the above query.
Any help will be greatly appreciated.
Thanks
|