• Post Reply Bookmark Topic Watch Topic
  • New Topic

paging using spring display tag

Saikiran Madhavan
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am using hibernate criteria

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
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!