Announcement Announcement Module
Collapse
No announcement yet.
Need to dynamically swap datasources with Spring/Hibernate Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Need to dynamically swap datasources with Spring/Hibernate

    Hi there,
    In our current project we need to save some of object in one database and some in the other database(within one transaction). We use Hibernate for persistence.
    Is there some possibility to use Spring to dynamily swap at runtime datasources used by Hibernate based on some criteria.

    Thanks
    Rostislav
Working...
X