| java.lang.Object | ||
| ↳ | org.springframework.jdbc.support.nativejdbc.NativeJdbcExtractorAdapter | |
| ↳ | org.springframework.jdbc.support.nativejdbc.WebLogicNativeJdbcExtractor | |
Implementation of the NativeJdbcExtractor interface for WebLogic,
supporting WebLogic Server 8.1 and higher.
Returns the underlying native Connection to application code instead
of WebLogic's wrapper implementation; unwraps the Connection for native
statements. The returned JDBC classes can then safely be cast, e.g. to
oracle.jdbc.OracleConnection.
This NativeJdbcExtractor can be set just to allow working with a WebLogic DataSource: If a given object is not a WebLogic Connection wrapper, it will be returned as-is.
getNativeConnection(Connection)| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
This constructor retrieves the WebLogic JDBC extension interface,
so we can get the underlying vendor connection using reflection.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Return
true, as WebLogic returns wrapped CallableStatements. | |||||||||||
Return
true, as WebLogic returns wrapped PreparedStatements. | |||||||||||
Return
true, as WebLogic returns wrapped Statements. | |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Retrieve the Connection via WebLogic's
getVendorConnection method. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.jdbc.support.nativejdbc.NativeJdbcExtractorAdapter
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.jdbc.support.nativejdbc.NativeJdbcExtractor
| |||||||||||
This constructor retrieves the WebLogic JDBC extension interface, so we can get the underlying vendor connection using reflection.
Return true, as WebLogic returns wrapped CallableStatements.
Return true, as WebLogic returns wrapped PreparedStatements.
Return true, as WebLogic returns wrapped Statements.
Retrieve the Connection via WebLogic's getVendorConnection method.
| SQLException |
|---|