RE: Casting a Connection as an OracleConnection in Tomcat 7

2011-12-02 Thread Martin Gainty
obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > From: jason.perr...@blueskytech.com > To: users@tomcat.apache.org > Date: Fri, 2 Dec 2011 14:39:11 -0600 > Subject: RE: C

Re: Casting a Connection as an OracleConnection in Tomcat 7

2011-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jason, On 12/2/11 3:54 PM, Jason Perrone wrote: > Yep, screw casting as an Oracle connection. That would be my recommendation. People used to cast to OracleConnection because JDBC didn't have support for LOB types way back in the day. Some old online

RE: Casting a Connection as an OracleConnection in Tomcat 7

2011-12-02 Thread Jason Perrone
se(); Thanks Christopher, for getting me to think outside the box :) -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Friday, December 02, 2011 3:29 PM To: Tomcat Users List Subject: Re: Casting a Connection as an OracleConnection in Tomcat 7

RE: Casting a Connection as an OracleConnection in Tomcat 7

2011-12-02 Thread Jason Perrone
I might be able to do it as an SQL statement instead of using this driver method... -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Friday, December 02, 2011 3:29 PM To: Tomcat Users List Subject: Re: Casting a Connection as an OracleConnection

RE: Casting a Connection as an OracleConnection in Tomcat 7

2011-12-02 Thread Jason Perrone
z.net] Sent: Friday, December 02, 2011 3:29 PM To: Tomcat Users List Subject: Re: Casting a Connection as an OracleConnection in Tomcat 7 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jason, On 12/2/11 3:23 PM, Jason Perrone wrote: > So, I can't cast the connection Tomcat returns

Re: Casting a Connection as an OracleConnection in Tomcat 7

2011-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jason, On 12/2/11 3:23 PM, Jason Perrone wrote: > So, I can't cast the connection Tomcat returns as a > DelegatingConnection. DelegatingConnection is from Commons DBCP > and this connection is > org.apache.tomcat.dbcp.dbcp.PoolableConnection. I do

RE: Casting a Connection as an OracleConnection in Tomcat 7

2011-12-02 Thread Jason Perrone
Any suggestions would be greatly appreciated. Thank you. -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, November 29, 2011 5:08 PM To: Tomcat Users List Subject: Re: Casting a Connection as an OracleConnection in Tomcat 7 -BEGI

RE: Casting a Connection as an OracleConnection in Tomcat 7

2011-11-29 Thread Jason Perrone
: Tomcat Users List Subject: Re: Casting a Connection as an OracleConnection in Tomcat 7 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jason, On 11/29/11 2:34 PM, Jason Perrone wrote: > Has anyone yet figured out how to cast the PoolableConnection that > Tomcat 7 now returns when you

Re: Casting a Connection as an OracleConnection in Tomcat 7

2011-11-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jason, On 11/29/11 2:34 PM, Jason Perrone wrote: > Has anyone yet figured out how to cast the PoolableConnection that > Tomcat 7 now returns when you get a Connection from a DataSource > as an OracleConnection? If you are using the standard pool (wh

Casting a Connection as an OracleConnection in Tomcat 7

2011-11-29 Thread Jason Perrone
Hello everyone, Has anyone yet figured out how to cast the PoolableConnection that Tomcat 7 now returns when you get a Connection from a DataSource as an OracleConnection? In Tomcat 6 the connection was returned as T4CConnection and had no problem being cast as an OracleConnection. Now, I jus