Re: [JBoss-user] different datasources for differnet entity beans

2001-04-19 Thread Franco Biaggi
Hi, if I'm right on the discussion, the datasource is defined at ejb-jar.xml, for instance if you need more that one datasource, build a jar file for each datasource that contain the correct xml files and eventually the EBs. With this approach we are able to connet to mySQL for the new applicati

Re: [JBoss-user] different datasources for differnet entity beans

2001-04-19 Thread Toby Allsopp
On Thu, Apr 19, 2001 at 08:07:15PM +0100, Ijonas Kisselbach wrote: > Yeah no problem what so ever. The following works for BMP as well as CMP > beans. > > Basically, all you need to do is specify different datasource resource > references in your ejb-jar.xml and jboss.xml files, e.g.: I'm fairly

Re: [JBoss-user] different datasources for differnet entity beans

2001-04-19 Thread Ijonas Kisselbach
Message - From: "Carles Pi-Sunyer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 19, 2001 7:25 PM Subject: [JBoss-user] different datasources for differnet entity beans > Is it possible to configure the datasource that an > entity bean uses on

[JBoss-user] different datasources for differnet entity beans

2001-04-19 Thread Carles Pi-Sunyer
Is it possible to configure the datasource that an entity bean uses on a per-bean basis? I have entity beans (container managed) that represent tables in different databases. I would like to avoid packaging them in different jar files. Is there any way to do this? Thanks, Carles ___