[jboss-jira] [JBoss JIRA] (AS7-3303) org.jboss.jca.adapters.jdbc.jdk6.WrappedConnectionJDK6 cannot be cast to oracle.jdbc.OracleConnection
sekar sekar (JIRA)
jira-events at lists.jboss.org
Fri Jan 13 09:03:28 EST 2012
sekar sekar created AS7-3303:
--------------------------------
Summary: org.jboss.jca.adapters.jdbc.jdk6.WrappedConnectionJDK6 cannot be cast to oracle.jdbc.OracleConnection
Key: AS7-3303
URL: https://issues.jboss.org/browse/AS7-3303
Project: Application Server 7
Issue Type: Bug
Components: Web
Environment: JSP, SPRING, Oracle 10g,
Reporter: sekar sekar
Assignee: Remy Maucherat
Priority: Critical
Fix For: 7.0.2.Final
Not Able to get Oracle Connection When Calling CLOB.CreateTamporary Function.
Tried the Following Example given in the Oracle Forum
//get the wrapped JBOSS connection
if(conn instanceof org.jboss.resource.adapter.jdbc.WrappedConnection){
WrappedConnection wc=(WrappedConnection)conn;
//with getUnderlying connection method , cast it to Oracle Connection
Connection oracleConnection=wc.getUnderlyingConnection();
}
If possible then please add some Example in details or upload example source code
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list