2 Replies Latest reply on Nov 1, 2001 11:20 PM by David Jencks

    How to specify DataSource when using multiple datasources..

    Kevin Duffey Newbie

      Hi there,

      We are using multiple data sources in our application. We work with a couple of different databases in one location. When using CMP, how do you specify what datasource to use? We want to pull queries using CMP from one datasource, and then stick them in another database using a different datasource. In some cases the same one entity bean is used in two (or more) different tables, so that the entity may need to specify what datasource it needs to be used with. How is this done?

      Thank you.