Affects Version/s: 3.0.0
Fix Version/s: None
Security Level: public (Regular issues)
System is running Geronimo v3.0 (release) and uses Spring 3.0.5, Oracle11g JDBC driver ojdb6.jar v220.127.116.11.0 which supports JDBC4
This post covers the problem and temporary solution.
I put this as a blocker, because I believe is common that people will be using the latest Oracle drivers (thin) which implement JDBC4 and the TranQL 1.7 stack doesn't support it.
I am using Spring (v3.0.5) JdbcTemplate functionality to execute stored procedures in Oracle 11g database. For some of the calls I need the native connection, but the unwrap failed with the following errors:
After working with David from TranQL, it was determined the issue is the Geronimo v.3.0 stack is using TranQL v.1.7 which doesn't support JDBC4 and causes the error during unwrapping the OracleConnection.
Geronimo will probably not have this fix until next fix pack. For people who are having the same issue as I, you can use the temporary solution described at the end of this post:
This consist of importing a cooked "1.8" RAR into your project which includes new tranql-connector and tranql-connector-oracle-local. And deploying the plan as part of your project to create the JDBC connector.
If you need further help, I open a link in my blog at:
Suggestion for Geronimo
I don't know if you have CI servers, but at least i didn't notice I wasn't using the OracleConnection until hitting an specific store procedure which requires the native connection. I think is an important test unit to have.