mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
add HibernateConnectionProvider
This commit is contained in:
@@ -24,7 +24,7 @@ public class WrapperAdapter implements Wrapper {
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isWrapperFor(Class<?> iface) throws SQLException {
|
||||
public boolean isWrapperFor(Class<?> iface) {
|
||||
if (iface == null) {
|
||||
return false;
|
||||
}
|
||||
@@ -38,7 +38,7 @@ public class WrapperAdapter implements Wrapper {
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@Override
|
||||
public <T> T unwrap(Class<T> iface) throws SQLException {
|
||||
public <T> T unwrap(Class<T> iface) {
|
||||
if (iface == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user