Skip to content

Enable ability to specify interface types in Jdbc4NativeJdbcExtractor [SPR-7613] #12269

@spring-projects-issues

Description

@spring-projects-issues

Mike Youngstrom opened SPR-7613 and commented

Many connection pool providers return proxies from the .unwrap() method. They use the proxy to block various methods "dangerous" to their pool like close(), etc. One such implementation is Websphere's. This renders the current Jdbc4NativeJdbcExtractor mostly useless as it will simply return a proxy of type Connection. I think it would be more useful and more semantically correct to support specifying the interface type to be returned by the getNative() methods.


Affects: 3.0.4

Referenced from: commits ccded10

Metadata

Metadata

Assignees

Labels

in: dataIssues in data modules (jdbc, orm, oxm, tx)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions