You don't mention what version you are using.  If 2.4.x, there are some bugs
in the pooling code that prevent obtaining a connection for a specified
userid and password.  I have a fix (that I never submitted) that I've given
to David Jencks.  I can send it to you as well.

----- Original Message -----
From: "Maris Orbidans" <[EMAIL PROTECTED]>
To: "JBoss user list (E-mail)" <[EMAIL PROTECTED]>
Sent: Wednesday, February 27, 2002 10:56 AM
Subject: [JBoss-user] can I connect to databese with specified user


>
> Hi all
>
> Can I find this datasource and do  getConnection(java.lang.String
> username, java.lang.String password)?
>
> I use session beans + JDBC.
>
> <mbean code="org.jboss.jdbc.XADataSourceLoader"
> name="DefaultDomain:service=XADataSource,name=inetbankDB">
> <attribute name="PoolName">inetbankDB</attribute>
> <attribute
> name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourc
> eImpl</attribute>
> <attribute
> name="URL">jdbc:cloudscape:rmi:CloudscapeDB;create=true</attribute>
> <attribute name="JDBCUser"></attribute>
> <attribute name="Password"></attribute>
> </mbean>
>
> Actually I' ll use Oracle, but I need to connect to DB with specified
> user each time I make a connection.
>
> thanx
> Maris Orbidans
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to