Merge pull request #1205 from marschall:SPR-14810

* pr/1205:
  Fix NativeJdbcExtractors documentation
This commit is contained in:
Stephane Nicoll
2016-10-15 11:57:34 +03:00
2 changed files with 2 additions and 5 deletions

View File

@@ -42,9 +42,8 @@ package org.springframework.jdbc.support.nativejdbc;
* <li>Use a SimpleNativeJdbcExtractor with all "nativeConnectionNecessaryForXxx"
* flags set to "true" for C3P0 (all JDBC Statement objects are wrapped,
* but none of the wrappers allow for unwrapping).
* <li>Use a CommonsDbcpNativeJdbcExtractor for Apache Commons DBCP or a
* JBossNativeJdbcExtractor for JBoss (all JDBC Statement objects are wrapped,
* but all of them can be extracted by casting to implementation classes).
* <li>Use a JBossNativeJdbcExtractor for JBoss (all JDBC Statement objects are
* wrapped, but all of them can be extracted by casting to implementation classes).
* </ul>
*
* @author Juergen Hoeller

View File

@@ -3237,11 +3237,9 @@ environment:
* SimpleNativeJdbcExtractor
* C3P0NativeJdbcExtractor
* CommonsDbcpNativeJdbcExtractor
* JBossNativeJdbcExtractor
* WebLogicNativeJdbcExtractor
* WebSphereNativeJdbcExtractor
* XAPoolNativeJdbcExtractor
Usually the `SimpleNativeJdbcExtractor` is sufficient for unwrapping a `Connection`
object in most environments. See the javadocs for more details.