• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

paging using spring display tag

 
Saikiran Madhavan
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic