public SQLXML createSQLXML() throws SQLException { checkClosed(); return new Jdbc4SQLXML(this); }
public SQLXML getSQLXML(int columnIndex) throws SQLException { String data = getString(columnIndex); if (data == null) return null; return new Jdbc4SQLXML(connection, data); }
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 SQLXML createSQLXML() throws SQLException { return new Jdbc4SQLXML(this); }
public SQLXML createSQLXML() throws SQLException { checkClosed(); return new Jdbc4SQLXML(this); }
public SQLXML getSQLXML(int columnIndex) throws SQLException { String data = getString(columnIndex); if (data == null) return null; return new Jdbc4SQLXML(connection, data); }
public SQLXML getSQLXML(int columnIndex) throws SQLException { String data = getString(columnIndex); if (data == null) return null; return new Jdbc4SQLXML(connection, data); }
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); } }