Announcement Announcement Module
Collapse
No announcement yet.
DAO and data source Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • DAO and data source

    I have 3 different datasources that my application needs to connect to. I have designed a system based on domain model that requires a single DAO object to access 2 of those data sources as part of a single transaction. However, I am not sure how to have a DAO object access multiple data sources. Any pointers if its possible, and if not, what is a good way to design such a scneario (Have one DAO per data source??) ?

    Thanks

  • #2
    Yes, I think one dao per DataSource is a good way to go.

    Comment


    • #3
      Thanks wpoitras !

      Comment

      Working...
      X