Deprecate ReflectionUtils.invokeJdbcMethod (for removal in 5.2)
Issue: SPR-17464
This commit is contained in:
@@ -257,7 +257,9 @@ public abstract class ReflectionUtils {
|
||||
* @return the invocation result, if any
|
||||
* @throws SQLException the JDBC API SQLException to rethrow (if any)
|
||||
* @see #invokeJdbcMethod(java.lang.reflect.Method, Object, Object[])
|
||||
* @deprecated as of 5.0.11, in favor of custom SQLException handling
|
||||
*/
|
||||
@Deprecated
|
||||
@Nullable
|
||||
public static Object invokeJdbcMethod(Method method, @Nullable Object target) throws SQLException {
|
||||
return invokeJdbcMethod(method, target, new Object[0]);
|
||||
@@ -272,7 +274,9 @@ public abstract class ReflectionUtils {
|
||||
* @return the invocation result, if any
|
||||
* @throws SQLException the JDBC API SQLException to rethrow (if any)
|
||||
* @see #invokeMethod(java.lang.reflect.Method, Object, Object[])
|
||||
* @deprecated as of 5.0.11, in favor of custom SQLException handling
|
||||
*/
|
||||
@Deprecated
|
||||
@Nullable
|
||||
public static Object invokeJdbcMethod(Method method, @Nullable Object target, @Nullable Object... args)
|
||||
throws SQLException {
|
||||
|
||||
Reference in New Issue
Block a user