posted 17 years ago
i am using hibernate criteria
hibernateCriteria.add(
Restrictions.eq("folderId", criteria.getfolderId()));
is it possible to call method from hbm.xml whose query like
select m.* FROM xyz m, abc f
where m.message_id = f.message_id
and f.folder_id = ?
beacuase in general criteria auto append the where clause
Is it possible to use criteria in above sql query in .hbm