• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

paging using spring display tag

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic