I cast to (DataSource), and then I get connection from a standard DataSource. Isn't it correct?

thanx

Stefano

Il mer, 2002-08-21 alle 15:20, David Jencks ha scritto:
Just a warning,  the xa wrapper in 3.0 does not wrap connection but the new
one I just wrote for 4.0 does.  I'm hoping it will get tested shortly and I
will back port it to 3.2.  With the local wrapper or the new xa wrapper you
need to call

(OracleConnection)c = (OracleConnection)((LocalConnection)ds.getConnection());

in 3.0 and 3.2 (current)

or

(OracleConnection)c = (OracleConnection)((WrappedConnection)ds.getConnection());

4.0 and 3.2 (future)

thanks
david jencks


On 2002.08.21 05:13:38 -0400 Stefano Maestri wrote:
> i tried with XA connection and it works. 
> 
> 
> Il mer, 2002-08-21 alle 10:00, Stefano Maestri ha scritto: 
>     Il mar, 2002-08-20 alle 18:49, David Jencks ha scritto: 
>         I think either you have 2 copies of the oracle driver deployed or
> you have
>         a version of jboss that has a bug where it creates 2 classloaders
> for each
>         deployed package.  If you have only one copy of Oracle, which
> exact jboss
>         are you using? AFAIK this was fixed several weeks ago in all
> jboss cvs
>         branches.
>         
>         david jencks
>         
>     Well, you are right. Yesterday  I understood the trouble, and I
>     solved (damn a developer pack in his jar the oracle driver !!). 
>     Now We have another exception when we try to cast a
>     conn.creatCallableStatement(...) to OracleCallableStatement. We get
>     a CastException runtime. We need the specific oracle callable
>     statement to use some of its feature (LOB mainly). In 2.4.x all
>     works ok. Why I get the error with 3.0.1. We have about 600 call
>     done in this way. I hope I can solve the trouble without touch our
>     code. Please help me!
>     
>     thanks in advance
>     
>     
>     --------------- all work and no play makes Jack a dull boy
>     --------------- 
>     
>     bye Stefano 
>     
>         [EMAIL PROTECTED]
>         www.javalinux.it
>         MSN messanger: [EMAIL PROTECTED] 
>         ICQ uin: 122192578 
>         #jedit IRC channel as <maeste> 
>         
>     
>     
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone?  Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

--------------- all work and no play makes Jack a dull boy ---------------

bye Stefano
[EMAIL PROTECTED]
www.javalinux.it
MSN messanger: [EMAIL PROTECTED]
ICQ uin: 122192578
#jedit IRC channel as <maeste>

Reply via email to