Skip to content

Oracle jdbc 12 support#539

Merged
javornikolov merged 1 commit intomasterfrom
topic/ojdbc-12-support
Feb 3, 2017
Merged

Oracle jdbc 12 support#539
javornikolov merged 1 commit intomasterfrom
topic/ojdbc-12-support

Conversation

@javornikolov
Copy link
Copy Markdown
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
Copy Markdown
Contributor

MMatten commented Jan 28, 2017

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

@javornikolov
Copy link
Copy Markdown
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 force-pushed the topic/ojdbc-12-support branch from a0999b7 to 00ba2ca Compare February 3, 2017 18:03
@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
Copy Markdown

#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