tag:blogger.com,1999:blog-6527688743456205256.post4574495359794911222..comments2023-12-18T09:38:33.215+11:00Comments on The Blas from Pas: ClassCastException casting to OracleConnection from a Data Source Connection in OAS 10.1.3.xPas Apicellahttp://www.blogger.com/profile/09389663166398991762noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-6527688743456205256.post-60318424511576684672009-11-09T21:31:00.160+11:002009-11-09T21:31:00.160+11:00Thanks, thats really helpful.Thanks, thats really helpful.Mahendrahttps://www.blogger.com/profile/08761443601810012115noreply@blogger.comtag:blogger.com,1999:blog-6527688743456205256.post-62210340545020887642009-09-11T22:43:29.559+10:002009-09-11T22:43:29.559+10:00You more then likely are using a managed data sour...You more then likely are using a managed data source which itself refers to a connection pool which is what we recommend in OAS 10.1.3.x, it's the connection pool you need to alter , most will use one of the following.<br /><br />A) factory-class="oracle.jdbc.OracleDriver"<br /><br />OR<br /><br />B) factory-class="oracle.jdbc.pool.OracleDataSource"<br /><br />Note: The managed data source will reference the connection pool it's using so you know which connection pool to edit as shown below.<br /><br />More information can be found here.<br /><br />http://download-uk.oracle.com/docs/cd/B31017_01/web.1013/b28958/datasrc.htm#CHDJIHBHPas Apicellahttps://www.blogger.com/profile/09389663166398991762noreply@blogger.comtag:blogger.com,1999:blog-6527688743456205256.post-87015501077158192092009-09-10T10:15:54.213+10:002009-09-10T10:15:54.213+10:00My name is Alex Meza from Mexico and I’m an Oracle...My name is Alex Meza from Mexico and I’m an Oracle Implementer for a client that is @On Demand. I had a call with you about two year ago about another issue, so it’s good to know from you again.<br /><br />Right now we’re trying to upgrade our jdbc driver and getting this class cast exception error. We are using j2ee applications developed on ADF Faces BC4J Framework and we recently update jdbc driver as per metalink note: 420303.1, but after upgrading driver all applications stop working and in the log files we’re getting this errors.<br /><br /> Our applications connect to database using BC4J Modules configured to use datasources. It seems that somewhere in the server side we need to change class oracle.jdbc.driver.OracleConnection for oracle.jdbc.OracleConnection. On OAS 10.1.2 you can do it on the datasource configuration but it don’t see it on OAS 10.1.3.<br /> <br />Where is this class located on datasources configuration using OAS 10.1.3? <br /><br /><br /> Best Regards<br /> Alex MezaUnknownhttps://www.blogger.com/profile/04858004980412833478noreply@blogger.comtag:blogger.com,1999:blog-6527688743456205256.post-82344681003734893972009-04-22T19:11:00.000+10:002009-04-22T19:11:00.000+10:00It is for a good reason here:
OracleConnection ex...It is for a good reason here:<br /><br />OracleConnection extends standard JDBC connection functionality to create and return Oracle statement objects, set flags and options for Oracle performance extensions, and support type maps for Oracle objects.Pas Apicellahttps://www.blogger.com/profile/09389663166398991762noreply@blogger.comtag:blogger.com,1999:blog-6527688743456205256.post-71396384437002516412009-04-22T04:26:00.000+10:002009-04-22T04:26:00.000+10:00Thanks for the tip. Oracle loves to move away from...Thanks for the tip. Oracle loves to move away from the standard.Alanhttps://www.blogger.com/profile/04661881652565121167noreply@blogger.comtag:blogger.com,1999:blog-6527688743456205256.post-53720835628562009472008-10-13T14:53:00.000+11:002008-10-13T14:53:00.000+11:00Thanks, I found that useful. Helped me resolve an ...Thanks, I found that useful. Helped me resolve an error.Anonymousnoreply@blogger.com