Spring 2.5 Hibernate 3.5 NamedQuery

Posted by EugeneP on Stack Overflow See other posts from Stack Overflow or by EugeneP
Published on 2010-04-18T11:11:13Z Indexed on 2010/04/18 11:13 UTC
Read the original article Hit count: 463

Filed under:
|
|
|

I do not use HibernateTemplate, but work with getCurrentSession() in my DAO.

I would like to know how to declare Hibernate named queries in a beans.xml file (I do not use hbm.xml).

And maybe Spring has alternative means to declare Hibernate named queries?

© Stack Overflow or respective owner

Related posts about java

Related posts about spring