Announcement Announcement Module
Collapse
No announcement yet.
How do i use SessionFactory for different user connections Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How do i use SessionFactory for different user connections

    Hello,

    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

  • #2
    You posted to the wrong forum :oops:

    The right one is http://forum.springframework.org/viewforum.php?f=5

    Comment

    Working...
    X