public boolean isPoolable() throws SQLException { checkClosed(); return poolable; }
public void setPoolable(boolean poolable) throws SQLException { checkClosed(); this.poolable = poolable; }
public SQLXML getSQLXML(int parameterIndex) throws SQLException { checkClosed(); checkIndex(parameterIndex, Types.SQLXML, "SQLXML"); return (SQLXML)callResult[parameterIndex - 1]; }
public void setNull(int parameterIndex, int targetSqlType) throws SQLException { checkClosed(); int oid; switch (targetSqlType) { case Types.SQLXML: oid = Oid.XML; break; default: super.setNull(parameterIndex, targetSqlType); return; } if (adjustIndex) parameterIndex--; preparedParameters.setNull(parameterIndex, oid); }
public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException { checkClosed(); if (xmlObject == null || xmlObject.getString() == null) setNull(parameterIndex, Types.SQLXML); else setString(parameterIndex, xmlObject.getString(), Oid.XML); }
public void setObject(int parameterIndex, Object x, int targetSqlType, int scale) throws SQLException { checkClosed(); if (x == null) { setNull(parameterIndex, targetSqlType); return; } switch (targetSqlType) { case Types.SQLXML: if (x instanceof SQLXML) { setSQLXML(parameterIndex, (SQLXML)x); } else { setSQLXML(parameterIndex, new Jdbc4SQLXML(connection, x.toString())); } break; default: super.setObject(parameterIndex, x, targetSqlType, scale); } }
public boolean isPoolable() throws SQLException { checkClosed(); return poolable; }
public void setPoolable(boolean poolable) throws SQLException { checkClosed(); this.poolable = poolable; }
public void setPoolable(boolean poolable) throws SQLException { checkClosed(); this.poolable = poolable; }
public boolean isPoolable() throws SQLException { checkClosed(); return poolable; }
public SQLXML getSQLXML(int parameterIndex) throws SQLException { checkClosed(); checkIndex(parameterIndex, Types.SQLXML, "SQLXML"); return (SQLXML)callResult[parameterIndex - 1]; }
public SQLXML getSQLXML(int parameterIndex) throws SQLException { checkClosed(); checkIndex(parameterIndex, Types.SQLXML, "SQLXML"); return (SQLXML)callResult[parameterIndex - 1]; }
public void setNull(int parameterIndex, int targetSqlType) throws SQLException { checkClosed(); int oid; switch (targetSqlType) { case Types.SQLXML: oid = Oid.XML; break; default: super.setNull(parameterIndex, targetSqlType); return; } if (adjustIndex) parameterIndex--; preparedParameters.setNull(parameterIndex, oid); }
public void setNull(int parameterIndex, int targetSqlType) throws SQLException { checkClosed(); int oid; switch (targetSqlType) { case Types.SQLXML: oid = Oid.XML; break; default: super.setNull(parameterIndex, targetSqlType); return; } if (adjustIndex) parameterIndex--; preparedParameters.setNull(parameterIndex, oid); }
public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException { checkClosed(); if (xmlObject == null || xmlObject.getString() == null) setNull(parameterIndex, Types.SQLXML); else setString(parameterIndex, xmlObject.getString(), Oid.XML); }
public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException { checkClosed(); if (xmlObject == null || xmlObject.getString() == null) setNull(parameterIndex, Types.SQLXML); else setString(parameterIndex, xmlObject.getString(), Oid.XML); }
public void setObject(int parameterIndex, Object x, int targetSqlType, int scale) throws SQLException { checkClosed(); if (x == null) { setNull(parameterIndex, targetSqlType); return; } switch (targetSqlType) { case Types.SQLXML: if (x instanceof SQLXML) { setSQLXML(parameterIndex, (SQLXML)x); } else { setSQLXML(parameterIndex, new Jdbc4SQLXML(connection, x.toString())); } break; default: super.setObject(parameterIndex, x, targetSqlType, scale); } }
public void setObject(int parameterIndex, Object x, int targetSqlType, int scale) throws SQLException { checkClosed(); if (x == null) { setNull(parameterIndex, targetSqlType); return; } switch (targetSqlType) { case Types.SQLXML: if (x instanceof SQLXML) { setSQLXML(parameterIndex, (SQLXML)x); } else { setSQLXML(parameterIndex, new Jdbc4SQLXML(connection, x.toString())); } break; default: super.setObject(parameterIndex, x, targetSqlType, scale); } }