Announcement Announcement Module
Collapse
No announcement yet.
OpenSessionInViewFilter with multiple factories? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • OpenSessionInViewFilter with multiple factories?

    I have a new project that will require connectivity to four Hibernate-fronted databases, each on a different server using different technologies (Oracle, Informix, MS SQL and MySQL). I assume that I'll need to create a separate uniquely-named SessionFactory for each and then wire the correct factory up to its relevant transaction managers, etc.

    Does this mean that I'll also need a separate OpenSessionInViewFilter for each SessonFactory?

    Thanks,
    Scott

  • #2
    I have a new project that will require connectivity to four Hibernate-fronted databases, each on a different server using different technologies (Oracle, Informix, MS SQL and MySQL). I assume that I'll need to create a separate uniquely-named SessionFactory for each and then wire the correct factory up to its relevant transaction managers, etc.
    Yes
    Does this mean that I'll also need a separate OpenSessionInViewFilter for each SessonFactory?
    Yes

    Comment


    • #3
      Thanks!

      Comment

      Working...
      X