Results 1 to 2 of 2

Thread: Hibernate, Spring and multiple data soruces.

  1. #1
    Join Date
    Sep 2005
    Posts
    4

    Default Hibernate, Spring and multiple data soruces.

    Using hibernate 2.1 I'm trying to set up a sessionFactory that can use multiple data sources. Is this possible?

  2. #2
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    5,403

    Default

    Not directly - you have to create multiple session factories and then create some sort of multiplexor/switch on top them. There have been some discussions before in the forum - do a search.
    Costin Leau
    SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
    http://twitter.com/costinl
    Please use [ c o d e ] [ / c o d e ] tags

Similar Threads

  1. Multiple Data Sources + Hibernate + Spring
    By joeserel in forum Data
    Replies: 2
    Last Post: May 18th, 2005, 09:22 AM
  2. Multiple data sources in Spring
    By Yeshaswi in forum Data
    Replies: 1
    Last Post: May 4th, 2005, 04:34 AM
  3. Replies: 2
    Last Post: Mar 10th, 2005, 02:38 PM
  4. Replies: 2
    Last Post: Nov 12th, 2004, 05:23 AM
  5. Replies: 7
    Last Post: Aug 21st, 2004, 03:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •