add HibernateConnectionProvider

This commit is contained in:
wenshao
2012-11-29 01:02:40 +08:00
parent fcf33e8308
commit 251a295847
3 changed files with 64 additions and 3 deletions
@@ -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;
}