Hi,
I've developed my dao layer using Hibernate 3, HibernateDaoSupport and transaction/session managed by Spring at the service layer (I do have services that do use daos, but only services are wrapped to automatically open transactions and sessions).
Now, for a very few calls I'd need to work with StatelessSessions, basically to improve performance since I have to load a ton of objects that I need to send directly to a rich client without modifications.
Is there a suggested approach to use stateless sessions in daos that otherwise would use HibernateTemplate?


Reply With Quote
