Thanks for the info - I'll give that a try.
David
>From: Stephen Coy <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: [JBoss-user] Multiple datasources and a single bean...
>Date: Fri, 7 Jun 2002 12:07:31 +1000
>
>You need
use resource-ref to map a java:/comp/env/MyDS to the appropriate actual
datasource for each bean.
david jencks
On 2002.06.06 18:50:28 -0400 David Brady wrote:
>
> I have a live database which is kept up-to-date with system usage
> information from the last hour. Data older than an hour is mov
You need to do something like:
Add the following to your ejb-jar.xml for both beans:
...
Bean
jdbc/UsageDS
javax.sql.DataSource
Container
and this to jboss.xml, which maps the hardcoded logical name to a
physical
I have a live database which is kept up-to-date with system usage
information from the last hour. Data older than an hour is moved to a
warehouse database.
A stateless bean (call it UsageBean) already exists which reads data from
the live database. I'd like to be able to use the same bean (
I have a live database which is kept up-to-date with system usage
information from the last hour. Data older than an hour is moved to a
warehouse database.
A stateless bean (call it UsageBean) already exists which reads data from
the live database. I'd like to be able to use the same bean (