Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oracle jdbc 12 support #539

Merged
merged 1 commit into from
Feb 3, 2017
Merged

Oracle jdbc 12 support #539

merged 1 commit into from
Feb 3, 2017

Conversation

javornikolov
Copy link
Contributor

@javornikolov javornikolov commented Jan 28, 2017

Drop reference to an internal oracle class oracle.jdbc.driver.OracleResultSetImpl which is not present in latest jdbc version any more. Use standard java.sql.ResultSet instead.

resolves #164

@javornikolov javornikolov added this to the Next milestone Jan 28, 2017
@MMatten
Copy link
Contributor

MMatten commented Jan 28, 2017

Looks good to me. Any idea why it was built like that?

@javornikolov
Copy link
Contributor Author

Looks good to me. Any idea why it was built like that?

Type mappings used to be by exact class name - at that point it wouldn't work to map an interface when concrete class is expected. At some point we extended the lookup to check for mappings of parents too - which allows the patch I did now (perhaps with some performance overhead on the 1st lookup, hopefully negligible).

Drop reference of internal oracle class oracle.jdbc.driver.OracleResultSetImpl
which is not present in latest jdbc version any more. Use standard
java.sql.ResultSet instead.
@javornikolov javornikolov merged commit 9a8b1a5 into master Feb 3, 2017
@javornikolov javornikolov deleted the topic/ojdbc-12-support branch February 3, 2017 20:08
@indianidol
Copy link

#164 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Initialization of OracleEnvironment fails to initialize if Oracle 12c JDBC driver is used
3 participants