@Override public Connection getConnection(String username, String password) throws SQLException { return obtainTargetDataSource().getConnection(username, password); }
@Override public Connection getConnection() throws SQLException { return obtainTargetDataSource().getConnection(); }
@Override public PrintWriter getLogWriter() throws SQLException { return obtainTargetDataSource().getLogWriter(); }
@Override @SuppressWarnings("unchecked") public <T> T unwrap(Class<T> iface) throws SQLException { if (iface.isInstance(this)) { return (T) this; } return obtainTargetDataSource().unwrap(iface); }
@Override public void setLoginTimeout(int seconds) throws SQLException { obtainTargetDataSource().setLoginTimeout(seconds); }
@Override public void setLogWriter(PrintWriter out) throws SQLException { obtainTargetDataSource().setLogWriter(out); }
@Override public int getLoginTimeout() throws SQLException { return obtainTargetDataSource().getLoginTimeout(); }
@Override public boolean isWrapperFor(Class<?> iface) throws SQLException { return (iface.isInstance(this) || obtainTargetDataSource().isWrapperFor(iface)); }