提交 2e4f1bd7 authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 158b3d44
...@@ -30,6 +30,8 @@ import javax.sql.ConnectionEventListener; ...@@ -30,6 +30,8 @@ import javax.sql.ConnectionEventListener;
import javax.sql.ConnectionPoolDataSource; import javax.sql.ConnectionPoolDataSource;
import javax.sql.PooledConnection; import javax.sql.PooledConnection;
import org.h2.message.Message;
/** /**
* A simple standalone JDBC connection pool. * A simple standalone JDBC connection pool.
* It is based on the * It is based on the
...@@ -293,4 +295,30 @@ public class JdbcConnectionPool implements DataSource { ...@@ -293,4 +295,30 @@ public class JdbcConnectionPool implements DataSource {
this.logWriter = logWriter; this.logWriter = logWriter;
} }
/**
* [Not supported] Return an object of this class if possible.
*
* @param iface the class
*/
//#ifdef JDK16
/*
public <T> T unwrap(Class<T> iface) throws SQLException {
throw Message.getUnsupportedException();
}
*/
//#endif
/**
* [Not supported] Checks if unwrap can return an object of this class.
*
* @param iface the class
*/
//#ifdef JDK16
/*
public boolean isWrapperFor(Class< ? > iface) throws SQLException {
throw Message.getUnsupportedException();
}
*/
//#endif
} }
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论