I'm not sure since I adopted iBATIS, but have you tried with the following:

getHibernateTemplate().getSessionFactory().getCurrentSession() ?
(should do, at least in DAOs)

Vincenzo


On Tue, Aug 12, 2008 at 3:58 PM, krishgy <[EMAIL PROTECTED]> wrote:

>
> I want to execute native sql statement in Hibernate. How to do this? How to
> get the hibernate session into Dao and Action classes?
> --
> View this message in context:
> http://www.nabble.com/Hibernate-session-in-Struct-%2B-Spring-%2B-Hibernate-project-tp18944816s2369p18944816.html
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to