public Clob createClob() throws SQLException { checkTransaction(); registerDatabase(); return getConnection().createClob(); }
public String getClientInfo(String name) throws SQLException { return getConnection().getClientInfo(name); }
public Properties getClientInfo() throws SQLException { return getConnection().getClientInfo(); }
public boolean isValid(int timeout) throws SQLException { checkTransaction(); registerDatabase(); return getConnection().isValid(timeout); }
public boolean isWrapperFor(Class<?> iface) throws SQLException { if (iface != null) { if (iface.isInstance(this)) { return true; } else { Connection conn = getConnection(); if (conn != null) { if (iface.isInstance(conn)) { return true; } else { return conn.isWrapperFor(iface); } } } } return false; }
public Struct createStruct(String typeName, Object[] attributes) throws SQLException { checkTransaction(); registerDatabase(); return getConnection().createStruct(typeName, attributes); }
public void setClientInfo(Properties properties) throws SQLClientInfoException { try { getConnection().setClientInfo(properties); } catch(SQLException e) { throw new SQLClientInfoException("setClientInfo : getConnection failed", null, e); } }
public Blob createBlob() throws SQLException { checkTransaction(); registerDatabase(); return getConnection().createBlob(); }
public void setClientInfo(String name, String value) throws SQLClientInfoException { try { getConnection().setClientInfo(name, value); } catch(SQLException e) { throw new SQLClientInfoException("setClientInfo : getConnection failed", null, e); } }
public SQLXML createSQLXML() throws SQLException { checkTransaction(); registerDatabase(); return getConnection().createSQLXML(); }
public <T> T unwrap(Class<T> iface) throws SQLException { if (iface != null) { if (iface.isInstance(this)) { return (T) this; } else { Connection conn = getConnection(); if (conn != null) { if (iface.isInstance(conn)) { return (T) conn; } else if(conn.isWrapperFor(iface)) { return conn.unwrap(iface); } } } } return null; }
public Array createArrayOf(String typeName, Object[] elements) throws SQLException { checkTransaction(); registerDatabase(); return getConnection().createArrayOf(typeName, elements); }
public NClob createNClob() throws SQLException { checkTransaction(); registerDatabase(); return getConnection().createNClob(); }