I'm trying to use Spring framework with Hibernate. Up until now I am using the HibernateTemplate to call Hibernate methods, and this works perfectly. I need now to have different user connections (db views are based on user access). How could I use HibernateTemplate then? could i use the same sessionfactory and create sessions using different connections?
thanks a lot