bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public void writeLogRecord( int length, long instant, byte[] data, int data_offset, byte[] optional_data, int optional_data_offset, int optional_data_length) throws StandardException, IOException { int total_log_record_length = length + LOG_RECORD_FIXED_OV... | public void writeLogRecord( int length, long instant, byte[] data, int data_offset, byte[] optional_data, int optional_data_offset, int optional_data_length) throws StandardException, IOException { int total_log_record_length = length + LOG_RECORD_FIXED_OV... | 1,106,011 |
public void writeLogRecord( int length, long instant, byte[] data, int data_offset, byte[] optional_data, int optional_data_offset, int optional_data_length) throws StandardException, IOException { int total_log_record_length = length + LOG_RECORD_FIXED_OV... | public void writeLogRecord( int length, long instant, byte[] data, int data_offset, byte[] optional_data, int optional_data_offset, int optional_data_length) throws StandardException, IOException { int total_log_record_length = length + LOG_RECORD_FIXED_OV... | 1,106,012 |
public void writeLogRecord( int length, long instant, byte[] data, int data_offset, byte[] optional_data, int optional_data_offset, int optional_data_length) throws StandardException, IOException { int total_log_record_length = length + LOG_RECORD_FIXED_OV... | public void writeLogRecord( int length, long instant, byte[] data, int data_offset, byte[] optional_data, int optional_data_offset, int optional_data_length) throws StandardException, IOException { int total_log_record_length = length + LOG_RECORD_FIXED_OV... | 1,106,013 |
public void writeLogRecord( int length, long instant, byte[] data, int data_offset, byte[] optional_data, int optional_data_offset, int optional_data_length) throws StandardException, IOException { int total_log_record_length = length + LOG_RECORD_FIXED_OV... | public void writeLogRecord( int length, long instant, byte[] data, int data_offset, byte[] optional_data, int optional_data_offset, int optional_data_length) throws StandardException, IOException { int total_log_record_length = length + LOG_RECORD_FIXED_OV... | 1,106,014 |
public void writeLogRecord( int length, long instant, byte[] data, int data_offset, byte[] optional_data, int optional_data_offset, int optional_data_length) throws StandardException, IOException { int total_log_record_length = length + LOG_RECORD_FIXED_OV... | public void writeLogRecord( int length, long instant, byte[] data, int data_offset, byte[] optional_data, int optional_data_offset, int optional_data_length) throws StandardException, IOException { int total_log_record_length = length + LOG_RECORD_FIXED_OV... | 1,106,015 |
public void writeLogRecord( int length, long instant, byte[] data, int data_offset, byte[] optional_data, int optional_data_offset, int optional_data_length) throws StandardException, IOException { int total_log_record_length = length + LOG_RECORD_FIXED_OV... | public void writeLogRecord( int length, long instant, byte[] data, int data_offset, byte[] optional_data, int optional_data_offset, int optional_data_length) throws StandardException, IOException { int total_log_record_length = length + LOG_RECORD_FIXED_OV... | 1,106,016 |
public void writeLong(long l) throws IOException { if (currentBuffer.bytes_free < 8) switchLogBuffer(); byte[] b = currentBuffer.buffer; int p = currentBuffer.position; b[p++] = (byte) (((int)(l >>> 56)) & 0xff); b[p++] = (byte) (((int)(l >>> 48)) & 0xff); b[p++] = (byte) (((in... | public void writeLong(long l) throws IOException { if (currentBuffer.bytes_free < 8) switchLogBuffer(); byte[] b = currentBuffer.buffer; int p = currentBuffer.position; b[p++] = (byte) (((int)(l >>> 56)) & 0xff); b[p++] = (byte) (((int)(l >>> 48)) & 0xff); b[p++] = (byte) (((in... | 1,106,017 |
public void writeLong(long l) throws IOException { if (currentBuffer.bytes_free < 8) switchLogBuffer(); byte[] b = currentBuffer.buffer; int p = currentBuffer.position; b[p++] = (byte) (((int)(l >>> 56)) & 0xff); b[p++] = (byte) (((int)(l >>> 48)) & 0xff); b[p++] = (byte) (((in... | public void writeLong(long l) throws IOException { if (currentBuffer.bytes_free < 8) switchLogBuffer(); byte[] b = currentBuffer.buffer; int p = currentBuffer.position; b[p++] = (byte) (((int)(l >>> 56)) & 0xff); b[p++] = (byte) (((int)(l >>> 48)) & 0xff); b[p++] = (byte) (((in... | 1,106,018 |
public void setAsciiStream(int parameterIndex, java.io.InputStream x, int length) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntr... | public void setAsciiStream(int parameterIndex, java.io.InputStream x, long length) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEnt... | 1,106,019 |
public void setAsciiStream(int parameterIndex, java.io.InputStream x, int length) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntr... | public void setAsciiStream(int parameterIndex, java.io.InputStream x, int length) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntr... | 1,106,020 |
public void setAsciiStream(int parameterIndex, java.io.InputStream x, int length) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntr... | public void setAsciiStream(int parameterIndex, java.io.InputStream x, int length) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntr... | 1,106,021 |
public void setBinaryStream(int parameterIndex, java.io.InputStream x, int length) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceE... | public void setBinaryStream(int parameterIndex, java.io.InputStream x, long length) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.trace... | 1,106,022 |
public void setBinaryStream(int parameterIndex, java.io.InputStream x, int length) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceE... | public void setBinaryStream(int parameterIndex, java.io.InputStream x, int length) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceE... | 1,106,023 |
public void setBinaryStream(int parameterIndex, java.io.InputStream x, int length) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceE... | public void setBinaryStream(int parameterIndex, java.io.InputStream x, int length) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceE... | 1,106,024 |
public void setCharacterStream(int parameterIndex, java.io.Reader x, int length) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.tr... | public void setCharacterStream(int parameterIndex, java.io.Reader x, long length) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.t... | 1,106,025 |
public void setCharacterStream(int parameterIndex, java.io.Reader x, int length) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.tr... | public void setCharacterStream(int parameterIndex, java.io.Reader x, int length) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.tr... | 1,106,026 |
public void setCharacterStream(int parameterIndex, java.io.Reader x, int length) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.tr... | public void setCharacterStream(int parameterIndex, java.io.Reader x, int length) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.tr... | 1,106,027 |
public void setUp() throws SQLException { con = getConnection(); stmt = con.createStatement(); rs = stmt.executeQuery("SELECT * FROM SYS.SYSTABLES"); // Position on first result. rs.next(); } | public void setUp() throws SQLException { con = getConnection(); stmt = con.createStatement(ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_UPDATABLE); rs = stmt.executeQuery("SELECT * FROM SYS.SYSTABLES"); // Position on first result. rs.next(); } | 1,106,028 |
public static Test suite() { return new TestSuite(ResultSetTest.class, "ResultSetTest suite"); } | public static Test suite() { return new TestSuite(ResultSetTest.class, "ResultSetTest suite"); } | 1,106,029 |
public java.sql.Array getArray(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getArray", parameterIndex); } super.checkForClosedSt... | public java.sql.Array getArray(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getArray", parameterIndex); } super.checkForClosedSt... | 1,106,030 |
public java.math.BigDecimal getBigDecimal(int parameterIndex, int scale) throws SQLException, ArithmeticException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceDeprecatedEntry(this, "getBigDecimal", parameterInde... | public java.math.BigDecimal getBigDecimal(int parameterIndex, int scale) throws SQLException, ArithmeticException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceDeprecatedEntry(this, "getBigDecimal", parameterInde... | 1,106,031 |
public java.math.BigDecimal getBigDecimal(int parameterIndex, int scale) throws SQLException, ArithmeticException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceDeprecatedEntry(this, "getBigDecimal", parameterInde... | public java.math.BigDecimal getBigDecimal(int parameterIndex, int scale) throws SQLException, ArithmeticException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceDeprecatedEntry(this, "getBigDecimal", parameterInde... | 1,106,032 |
public java.sql.Blob getBlob(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getBlob", parameterIndex); } super.checkForClosedState... | public java.sql.Blob getBlob(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getBlob", parameterIndex); } super.checkForClosedState... | 1,106,033 |
public boolean getBoolean(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getBoolean", parameterIndex); } super.checkForClosedState... | public boolean getBoolean(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getBoolean", parameterIndex); } super.checkForClosedState... | 1,106,034 |
public boolean getBoolean(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getBoolean", parameterIndex); } super.checkForClosedState... | public boolean getBoolean(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getBoolean", parameterIndex); } super.checkForClosedState... | 1,106,035 |
public byte getByte(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getByte", parameterIndex); } super.checkForClosedStatement(); ... | public byte getByte(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getByte", parameterIndex); } super.checkForClosedStatement(); ... | 1,106,036 |
public byte getByte(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getByte", parameterIndex); } super.checkForClosedStatement(); ... | public byte getByte(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getByte", parameterIndex); } super.checkForClosedStatement(); ... | 1,106,037 |
public byte[] getBytes(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getBytes", parameterIndex); } super.checkForClosedStatement(... | public byte[] getBytes(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getBytes", parameterIndex); } super.checkForClosedStatement(... | 1,106,038 |
public Reader getCharacterStream(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getCharacterStream", parameterIndex); } super.chec... | public Reader getCharacterStream(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getCharacterStream", parameterIndex); } super.chec... | 1,106,039 |
public java.sql.Clob getClob(int parameterIndex) throws SQLException { try { synchronized (connection_) { super.checkForClosedStatement(); parameterIndex = checkForEscapedCallWithResult(parameterIndex); if (parameterIndex == 0 && escapedProcedure... | public java.sql.Clob getClob(int parameterIndex) throws SQLException { try { synchronized (connection_) { super.checkForClosedStatement(); parameterIndex = checkForEscapedCallWithResult(parameterIndex); if (parameterIndex == 0 && escapedProcedure... | 1,106,040 |
public java.sql.Date getDate(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getDate", parameterIndex); } super.checkForClosedState... | public java.sql.Date getDate(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getDate", parameterIndex); } super.checkForClosedState... | 1,106,041 |
public double getDouble(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getDouble", parameterIndex); } super.checkForClosedStatemen... | public double getDouble(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getDouble", parameterIndex); } super.checkForClosedStatemen... | 1,106,042 |
public double getDouble(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getDouble", parameterIndex); } super.checkForClosedStatemen... | public double getDouble(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getDouble", parameterIndex); } super.checkForClosedStatemen... | 1,106,043 |
public float getFloat(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getFloat", parameterIndex); } super.checkForClosedStatement()... | public float getFloat(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getFloat", parameterIndex); } super.checkForClosedStatement()... | 1,106,044 |
public float getFloat(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getFloat", parameterIndex); } super.checkForClosedStatement()... | public float getFloat(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getFloat", parameterIndex); } super.checkForClosedStatement()... | 1,106,045 |
int getIntX(int parameterIndex) throws SqlException { super.checkForClosedStatement(); parameterIndex = checkForEscapedCallWithResult(parameterIndex); if (parameterIndex == 0 && escapedProcedureCallWithResult_) { this.wasNull_ = this.WAS_NOT_NULL; return returnValueFromPro... | int getIntX(int parameterIndex) throws SqlException { super.checkForClosedStatement(); parameterIndex = checkForEscapedCallWithResult(parameterIndex); if (parameterIndex == 0 && escapedProcedureCallWithResult_) { this.wasNull_ = this.WAS_NOT_NULL; return returnValueFromPro... | 1,106,046 |
public long getLong(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getLong", parameterIndex); } super.checkForClosedStatement(); ... | public long getLong(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getLong", parameterIndex); } super.checkForClosedStatement(); ... | 1,106,047 |
public long getLong(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getLong", parameterIndex); } super.checkForClosedStatement(); ... | public long getLong(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getLong", parameterIndex); } super.checkForClosedStatement(); ... | 1,106,048 |
public Object getObject(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getObject", parameterIndex); } super.checkForClosedStatemen... | public Object getObject(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getObject", parameterIndex); } super.checkForClosedStatemen... | 1,106,049 |
public Object getObject(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getObject", parameterIndex); } super.checkForClosedStatemen... | public Object getObject(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getObject", parameterIndex); } super.checkForClosedStatemen... | 1,106,050 |
public java.sql.Ref getRef(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getRef", parameterIndex); } super.checkForClosedStatemen... | public java.sql.Ref getRef(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getRef", parameterIndex); } super.checkForClosedStatemen... | 1,106,051 |
public short getShort(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getShort", parameterIndex); } super.checkForClosedStatement()... | public short getShort(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getShort", parameterIndex); } super.checkForClosedStatement()... | 1,106,052 |
public short getShort(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getShort", parameterIndex); } super.checkForClosedStatement()... | public short getShort(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getShort", parameterIndex); } super.checkForClosedStatement()... | 1,106,053 |
String getStringX(int parameterIndex) throws SqlException { super.checkForClosedStatement(); parameterIndex = checkForEscapedCallWithResult(parameterIndex); if (parameterIndex == 0 && escapedProcedureCallWithResult_) { this.wasNull_ = this.WAS_NOT_NULL; return Integer.toSt... | String getStringX(int parameterIndex) throws SqlException { super.checkForClosedStatement(); parameterIndex = checkForEscapedCallWithResult(parameterIndex); if (parameterIndex == 0 && escapedProcedureCallWithResult_) { this.wasNull_ = this.WAS_NOT_NULL; return Integer.toSt... | 1,106,054 |
public java.sql.Time getTime(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getTime", parameterIndex); } super.checkForClosedState... | public java.sql.Time getTime(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getTime", parameterIndex); } super.checkForClosedState... | 1,106,055 |
public java.sql.Timestamp getTimestamp(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getTimestamp", parameterIndex); } super.chec... | public java.sql.Timestamp getTimestamp(int parameterIndex) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getTimestamp", parameterIndex); } super.chec... | 1,106,056 |
private int guessScaleForDecimalOrNumeric(int parameterIndex) throws SqlException { parameterIndex = checkForEscapedCallWithResult(parameterIndex); // Types.DECIMAL with no supplied scale will use the scale supplied by the setter method if input BigDecimal is not null if (parameterMetaData_.typ... | private int guessScaleForDecimalOrNumeric(int parameterIndex) throws SqlException { // Types.DECIMAL with no supplied scale will use the scale supplied by the setter method if input BigDecimal is not null if (parameterMetaData_.types_[parameterIndex - 1] == Types.DECIMAL && para... | 1,106,057 |
public ResultSetNode modifyAccessPaths(PredicateList predList) throws StandardException { // Take the received list of predicates and propagate them to the // predicate list for this node's optimizer. Then, when we call // optimizer.modifyAccessPaths(), the optimizer will have the // predicates and can push them... | public ResultSetNode modifyAccessPaths(PredicateList predList) throws StandardException { // Take the received list of predicates and propagate them to the // predicate list for this node's optimizer. Then, when we call // optimizer.modifyAccessPaths(), the optimizer will have the // predicates and can push them... | 1,106,058 |
public ResultSetNode optimize(DataDictionary dataDictionary, PredicateList predicateList, double outerRows) throws StandardException { Optimizer optimizer; /* Optimize any subquerys before optimizing the underlying result set */ /* selectSubquerys is always allocated at bind() time */ if (S... | public ResultSetNode optimize(DataDictionary dataDictionary, PredicateList predicateList, double outerRows) throws StandardException { Optimizer optimizer; /* Optimize any subquerys before optimizing the underlying result set */ /* selectSubquerys is always allocated at bind() time */ if (S... | 1,106,059 |
public void cancel() throws SQLException { try { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "cancel"); } checkForClosedStatement(); // Per jdbc spec (see java.sql.Statement.close() javadoc) throw new SqlException(agent_.... | public void cancel() throws SQLException { try { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "cancel"); } checkForClosedStatement(); // Per jdbc spec (see java.sql.Statement.close() javadoc) throw new SqlException(agent_.... | 1,106,061 |
void checkAutoGeneratedKeysParameters() throws SqlException { if (autoGeneratedKeys_ != java.sql.Statement.NO_GENERATED_KEYS && autoGeneratedKeys_ != java.sql.Statement.RETURN_GENERATED_KEYS) { throw new SqlException(agent_.logWriter_, "Invalid argument: " + "Stat... | void checkAutoGeneratedKeysParameters() throws SqlException { if (autoGeneratedKeys_ != java.sql.Statement.NO_GENERATED_KEYS && autoGeneratedKeys_ != java.sql.Statement.RETURN_GENERATED_KEYS) { throw new SqlException(agent_.logWriter_, "Invalid argument: " + "Stat... | 1,106,062 |
void checkAutoGeneratedKeysParameters() throws SqlException { if (autoGeneratedKeys_ != java.sql.Statement.NO_GENERATED_KEYS && autoGeneratedKeys_ != java.sql.Statement.RETURN_GENERATED_KEYS) { throw new SqlException(agent_.logWriter_, "Invalid argument: " + "Stat... | void checkAutoGeneratedKeysParameters() throws SqlException { if (autoGeneratedKeys_ != java.sql.Statement.NO_GENERATED_KEYS && autoGeneratedKeys_ != java.sql.Statement.RETURN_GENERATED_KEYS) { throw new SqlException(agent_.logWriter_, "Invalid argument: " + "Stat... | 1,106,063 |
void checkExecuteQueryPostConditions(String jdbcStatementInterfaceName) throws SqlException { // We'll just rely on finalizers to close the dangling result sets. if (resultSetList_ != null && resultSetList_.length != 1) { throw new SqlException(agent_.logWriter_, jdbcStatementInterfaceName ... | void checkExecuteQueryPostConditions(String jdbcStatementInterfaceName) throws SqlException { // We'll just rely on finalizers to close the dangling result sets. if (resultSetList_ != null && resultSetList_.length != 1) { throw new SqlException(agent_.logWriter_, jdbcStatementInterfaceName ... | 1,106,064 |
void checkExecuteQueryPostConditions(String jdbcStatementInterfaceName) throws SqlException { // We'll just rely on finalizers to close the dangling result sets. if (resultSetList_ != null && resultSetList_.length != 1) { throw new SqlException(agent_.logWriter_, jdbcStatementInterfaceName ... | void checkExecuteQueryPostConditions(String jdbcStatementInterfaceName) throws SqlException { // We'll just rely on finalizers to close the dangling result sets. if (resultSetList_ != null && resultSetList_.length != 1) { throw new SqlException(agent_.logWriter_, jdbcStatementInterfaceName ... | 1,106,065 |
void checkExecuteUpdatePostConditions(String jdbcStatementInterfaceName) throws SqlException { // We'll just rely on finalizers to close the dangling result sets. if (resultSetList_ != null) { throw new SqlException(agent_.logWriter_, jdbcStatementInterfaceName + ".executeUpdate() cannot be... | void checkExecuteUpdatePostConditions(String jdbcStatementInterfaceName) throws SqlException { // We'll just rely on finalizers to close the dangling result sets. if (resultSetList_ != null) { throw new SqlException(agent_.logWriter_, jdbcStatementInterfaceName + ".executeUpdate() cannot be... | 1,106,066 |
void checkExecuteUpdatePostConditions(String jdbcStatementInterfaceName) throws SqlException { // We'll just rely on finalizers to close the dangling result sets. if (resultSetList_ != null) { throw new SqlException(agent_.logWriter_, jdbcStatementInterfaceName + ".executeUpdate() cannot be... | void checkExecuteUpdatePostConditions(String jdbcStatementInterfaceName) throws SqlException { // We'll just rely on finalizers to close the dangling result sets. if (resultSetList_ != null) { throw new SqlException(agent_.logWriter_, jdbcStatementInterfaceName + ".executeUpdate() cannot be... | 1,106,067 |
void checkForAppropriateSqlMode(int executeType, int sqlMode) throws SqlException { if (executeType == executeQueryMethod__ && sqlMode == isUpdate__) { throw new SqlException(agent_.logWriter_, "executeQuery method cannot be used for update."); } if (executeType == executeUpdateMetho... | void checkForAppropriateSqlMode(int executeType, int sqlMode) throws SqlException { if (executeType == executeQueryMethod__ && sqlMode == isUpdate__) { throw new SqlException(agent_.logWriter_, new MessageId(SQLState.CANT_USE_EXEC_QUERY_FOR_UPDATE)); } if (executeType == executeUpdat... | 1,106,068 |
void checkForAppropriateSqlMode(int executeType, int sqlMode) throws SqlException { if (executeType == executeQueryMethod__ && sqlMode == isUpdate__) { throw new SqlException(agent_.logWriter_, "executeQuery method cannot be used for update."); } if (executeType == executeUpdateMetho... | void checkForAppropriateSqlMode(int executeType, int sqlMode) throws SqlException { if (executeType == executeQueryMethod__ && sqlMode == isUpdate__) { throw new SqlException(agent_.logWriter_, "executeQuery method cannot be used for update."); } if (executeType == executeUpdateMetho... | 1,106,069 |
void checkForClosedStatement() throws SqlException { // For some odd reason, there was a JVM hotspot error with Sun's 1.4 JDK // when the code was written like this: // agent_checkForDeferredExceptions(); // if (!openOnClient_) // throw new SqlException (agent_.logWriter_, "Inva... | void checkForClosedStatement() throws SqlException { // For some odd reason, there was a JVM hotspot error with Sun's 1.4 JDK // when the code was written like this: // agent_checkForDeferredExceptions(); // if (!openOnClient_) // throw new SqlException (agent_.logWriter_, "Inva... | 1,106,070 |
void checkForInvalidBatchedSql(String sql) throws SqlException { if (sql == null) { throw new SqlException(agent_.logWriter_, "Null batched SQL string passed."); } if (sqlMode_ != isCall__ && !(sqlMode_ == isUpdate__ && (sqlUpdateMode_ == isInsertSql__ ... | void checkForInvalidBatchedSql(String sql) throws SqlException { if (sql == null) { throw new SqlException(agent_.logWriter_, new MessageId(SQLState.NULL_SQL_TEXT)); } if (sqlMode_ != isCall__ && !(sqlMode_ == isUpdate__ && (sqlUpdateMode_ == isInsertSql... | 1,106,071 |
void checkForInvalidBatchedSql(String sql) throws SqlException { if (sql == null) { throw new SqlException(agent_.logWriter_, "Null batched SQL string passed."); } if (sqlMode_ != isCall__ && !(sqlMode_ == isUpdate__ && (sqlUpdateMode_ == isInsertSql__ ... | void checkForInvalidBatchedSql(String sql) throws SqlException { if (sql == null) { throw new SqlException(agent_.logWriter_, "Null batched SQL string passed."); } if (sqlMode_ != isCall__ && !(sqlMode_ == isUpdate__ && (sqlUpdateMode_ == isInsertSql__ ... | 1,106,072 |
private void flowExecute(int executeType, String sql) throws SqlException { checkForClosedStatement(); // Per jdbc spec (see java.sql.Statement.close() javadoc) checkAutoGeneratedKeysParameters(); clearWarningsX(); // Per jdbc spec 0.7, and getWarnings() javadoc sql = escape(sql); ... | private void flowExecute(int executeType, String sql) throws SqlException { checkForClosedStatement(); // Per jdbc spec (see java.sql.Statement.close() javadoc) checkAutoGeneratedKeysParameters(); clearWarningsX(); // Per jdbc spec 0.7, and getWarnings() javadoc sql = escape(sql); ... | 1,106,073 |
private void flowExecute(int executeType, String sql) throws SqlException { checkForClosedStatement(); // Per jdbc spec (see java.sql.Statement.close() javadoc) checkAutoGeneratedKeysParameters(); clearWarningsX(); // Per jdbc spec 0.7, and getWarnings() javadoc sql = escape(sql); ... | private void flowExecute(int executeType, String sql) throws SqlException { checkForClosedStatement(); // Per jdbc spec (see java.sql.Statement.close() javadoc) checkAutoGeneratedKeysParameters(); clearWarningsX(); // Per jdbc spec 0.7, and getWarnings() javadoc sql = escape(sql); ... | 1,106,074 |
void flowExecuteBatch(int[] updateCounts) throws SqlException, BatchUpdateException { SqlException chainBreaker = null; boolean isCallCataloguedBestGuess = true; agent_.beginBatchedWriteChain(this); for (int i = 0; i < batch_.size(); i++) { boolean flowSQL = true; S... | void flowExecuteBatch(int[] updateCounts) throws SqlException, BatchUpdateException { SqlException chainBreaker = null; boolean isCallCataloguedBestGuess = true; agent_.beginBatchedWriteChain(this); for (int i = 0; i < batch_.size(); i++) { boolean flowSQL = true; S... | 1,106,075 |
String getProcedureName(String sql) throws SqlException { java.util.StringTokenizer tokenizer = new java.util.StringTokenizer(sql, "\t\n\r\f= (?"); if (!tokenizer.hasMoreTokens()) { throw new SqlException(agent_.logWriter_, "bugcheck"); } String firstToken = tokenizer.nextToke... | String getProcedureName(String sql) throws SqlException { java.util.StringTokenizer tokenizer = new java.util.StringTokenizer(sql, "\t\n\r\f= (?"); if (!tokenizer.hasMoreTokens()) { throw new SqlException(agent_.logWriter_, new MessageId(SQLState.NO_TOKENS_IN_SQL_TEXT), sql); } ... | 1,106,076 |
String getProcedureName(String sql) throws SqlException { java.util.StringTokenizer tokenizer = new java.util.StringTokenizer(sql, "\t\n\r\f= (?"); if (!tokenizer.hasMoreTokens()) { throw new SqlException(agent_.logWriter_, "bugcheck"); } String firstToken = tokenizer.nextToke... | String getProcedureName(String sql) throws SqlException { java.util.StringTokenizer tokenizer = new java.util.StringTokenizer(sql, "\t\n\r\f= (?"); if (!tokenizer.hasMoreTokens()) { throw new SqlException(agent_.logWriter_, new MessageId(SQLState.LANG_INVALID_CALL_STATEMENT)); } ... | 1,106,077 |
String getProcedureName(String sql) throws SqlException { java.util.StringTokenizer tokenizer = new java.util.StringTokenizer(sql, "\t\n\r\f= (?"); if (!tokenizer.hasMoreTokens()) { throw new SqlException(agent_.logWriter_, "bugcheck"); } String firstToken = tokenizer.nextToke... | String getProcedureName(String sql) throws SqlException { java.util.StringTokenizer tokenizer = new java.util.StringTokenizer(sql, "\t\n\r\f= (?"); if (!tokenizer.hasMoreTokens()) { throw new SqlException(agent_.logWriter_, "bugcheck"); } String firstToken = tokenizer.nextToke... | 1,106,078 |
protected SQLException jdbc3FeatureNotSupported(boolean checkStatement) throws SQLException { try { if ( checkStatement ) checkForClosedStatement(); throw new SqlException(agent_.logWriter_, "JDBC 3 method called - not yet supported"); ... | protected SQLException jdbc3FeatureNotSupported(boolean checkStatement) throws SQLException { try { if ( checkStatement ) checkForClosedStatement(); throw new SqlException(agent_.logWriter_, new MessageId(SQLState.JDBC_METHOD_NOT_IMPLEMENTED))... | 1,106,079 |
void parseSqlAndSetSqlModes(String sql) throws SqlException { String delims = "\t\n\r\f=? ("; java.util.StringTokenizer tokenizer = null; String firstToken = null; // See if the statement starts with a comment; if so, move // past the comment and get the first token of the actual ... | void parseSqlAndSetSqlModes(String sql) throws SqlException { String delims = "\t\n\r\f=? ("; java.util.StringTokenizer tokenizer = null; String firstToken = null; // See if the statement starts with a comment; if so, move // past the comment and get the first token of the actual ... | 1,106,080 |
public void setCursorName(String name) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setCursorName", name); } checkForClosedStatement(); // Per jdbc ... | public void setCursorName(String name) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setCursorName", name); } checkForClosedStatement(); // Per jdbc ... | 1,106,081 |
public void setCursorName(String name) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setCursorName", name); } checkForClosedStatement(); // Per jdbc ... | public void setCursorName(String name) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setCursorName", name); } checkForClosedStatement(); // Per jdbc ... | 1,106,082 |
public void setCursorName(String name) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setCursorName", name); } checkForClosedStatement(); // Per jdbc ... | public void setCursorName(String name) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setCursorName", name); } checkForClosedStatement(); // Per jdbc ... | 1,106,083 |
public void setFetchDirection(int direction) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setFetchDirection", direction); } checkForClosedStatement(... | public void setFetchDirection(int direction) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setFetchDirection", direction); } checkForClosedStatement(... | 1,106,084 |
public void setFetchSize(int rows) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setFetchSize", rows); } checkForClosedStatement(); // Per jdbc spec ... | public void setFetchSize(int rows) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setFetchSize", rows); } checkForClosedStatement(); // Per jdbc spec ... | 1,106,085 |
public void setMaxFieldSize(int max) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setMaxFieldSize", max); } checkForClosedStatement(); ... | public void setMaxFieldSize(int max) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setMaxFieldSize", max); } checkForClosedStatement(); ... | 1,106,086 |
public void setMaxRows(int maxRows) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setMaxRows", maxRows); } checkForClosedStatement(); // Per jdbc spe... | public void setMaxRows(int maxRows) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setMaxRows", maxRows); } checkForClosedStatement(); // Per jdbc spe... | 1,106,087 |
public void setQueryTimeout(int seconds) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setQueryTimeout", seconds); } checkForClosedStatement(); // Pe... | public void setQueryTimeout(int seconds) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setQueryTimeout", seconds); } checkForClosedStatement(); // Pe... | 1,106,088 |
public void prepareToInvalidate(Provider p, int action, LanguageConnectionContext lcc) throws StandardException { switch ( action ) { /* * We don't care about creating or dropping indexes or * alter table on an underlying table. */ case DependencyManager.CREATE_INDEX: case DependencyManage... | public void prepareToInvalidate(Provider p, int action, LanguageConnectionContext lcc) throws StandardException { switch ( action ) { /* * We don't care about creating or dropping indexes or * alter table on an underlying table. */ case DependencyManager.CREATE_INDEX: case DependencyManage... | 1,106,090 |
private void generateDistinctScan ( ExpressionClassBuilder acb, MethodBuilder mb ) throws StandardException { ConglomerateDescriptor cd = getTrulyTheBestAccessPath().getConglomerateDescriptor(); CostEstimate costEstimate = getFinalCostEstimate(); int colRefItem = (referencedCols == null) ? -1 : acb.addI... | private void generateDistinctScan ( ExpressionClassBuilder acb, MethodBuilder mb ) throws StandardException { ConglomerateDescriptor cd = getTrulyTheBestAccessPath().getConglomerateDescriptor(); CostEstimate costEstimate = getFinalCostEstimate(); int colRefItem = (referencedCols == null) ? -1 : acb.addI... | 1,106,091 |
private void generateMaxSpecialResultSet ( ExpressionClassBuilder acb, MethodBuilder mb ) throws StandardException { ConglomerateDescriptor cd = getTrulyTheBestAccessPath().getConglomerateDescriptor(); CostEstimate costEstimate = getFinalCostEstimate(); int colRefItem = (referencedCols == null) ? -1 : a... | private void generateMaxSpecialResultSet ( ExpressionClassBuilder acb, MethodBuilder mb ) throws StandardException { ConglomerateDescriptor cd = getTrulyTheBestAccessPath().getConglomerateDescriptor(); CostEstimate costEstimate = getFinalCostEstimate(); int colRefItem = (referencedCols == null) ? -1 : a... | 1,106,092 |
public ColumnInfo(Connection conn, String sName, String tName, String insertColumnList, String vtiColumnIndexes, String vtiColumnPrefix) throws SQLException { vtiColumnNames = new ArrayList(1); insertColumnNames = new ArrayList(1); columnTypes = new ArrayList(1); noOfColumns = 0; ... | public ColumnInfo(Connection conn, String sName, String tName, String insertColumnList, String vtiColumnIndexes, String vtiColumnPrefix) throws SQLException { vtiColumnNames = new ArrayList(1); insertColumnNames = new ArrayList(1); columnTypes = new ArrayList(1); noOfColumns = 0; ... | 1,106,094 |
private boolean initializeColumnInfo(String columnPattern) throws SQLException { DatabaseMetaData dmd = conn.getMetaData(); ResultSet rs = dmd.getColumns(null, schemaName, tableName, (columnPattern !=null ? columnPattern.toUpperCase(java.util.Locale.ENGLISH):columnPattern)); boolean ... | private boolean initializeColumnInfo(String columnPattern) throws SQLException { DatabaseMetaData dmd = conn.getMetaData(); ResultSet rs = dmd.getColumns(null, schemaName, tableName, columnPattern); boolean foundTheColumn=false; while (rs.next()) { // 4.COLUMN_NAME String => colu... | 1,106,096 |
private void chainDeferredExceptionsToAgentOrAsConnectionWarnings(SqlException e) { SqlException current = e; while (current != null) { SqlException next = (SqlException) current.getNextException(); current = current.copyAsUnchainedSQLException(agent_.logWriter_); if (... | private void chainDeferredExceptionsToAgentOrAsConnectionWarnings(SqlException e) { SqlException current = e; while (current != null) { SqlException next = (SqlException) current.getNextException(); current = current.copyAsUnchainedSQLException(agent_.logWriter_); if (... | 1,106,097 |
private void chainDeferredExceptionsToAgentOrAsConnectionWarnings(SqlException e) { SqlException current = e; while (current != null) { SqlException next = (SqlException) current.getNextException(); current = current.copyAsUnchainedSQLException(agent_.logWriter_); if (... | private void chainDeferredExceptionsToAgentOrAsConnectionWarnings(SqlException e) { SqlException current = e; while (current != null) { SqlException next = (SqlException) current.getNextException(); current = current.copyAsUnchainedSQLException(agent_.logWriter_); if (... | 1,106,098 |
private void checkSufficientData() throws IOException { // now that we finished reading from the stream; the amount // of data that we can insert,start check for trailing spaces if (charsToTruncate > 0) { reader.setLimit(charsToTruncate); int c = 0; for (;;) ... | private void checkSufficientData() throws IOException { // now that we finished reading from the stream; the amount // of data that we can insert,start check for trailing spaces if (charsToTruncate > 0) { reader.setLimit(charsToTruncate); int c = 0; for (;;) ... | 1,106,099 |
private void checkSufficientData() throws IOException { // now that we finished reading from the stream; the amount // of data that we can insert,start check for trailing spaces if (charsToTruncate > 0) { reader.setLimit(charsToTruncate); int c = 0; for (;;) ... | private void checkSufficientData() throws IOException { // now that we finished reading from the stream; the amount // of data that we can insert,start check for trailing spaces if (charsToTruncate > 0) { reader.setLimit(charsToTruncate); int c = 0; for (;;) ... | 1,106,100 |
private void checkSufficientData() throws IOException { // now that we finished reading from the stream; the amount // of data that we can insert,start check for trailing spaces if (charsToTruncate > 0) { reader.setLimit(charsToTruncate); int c = 0; for (;;) ... | private void checkSufficientData() throws IOException { // now that we finished reading from the stream; the amount // of data that we can insert,start check for trailing spaces if (charsToTruncate > 0) { reader.setLimit(charsToTruncate); int c = 0; for (;;) ... | 1,106,101 |
public static Test suite() { TestSuite suite = new TestSuite( "PreparedStatementTest and SetObjectUnsupportedTest suite"); suite.addTestSuite(PreparedStatementTest.class); suite.addTest(SetObjectUnsupportedTest.suite(false)); return new BaseJDBCTestSetup(suite) { ... | public static Test suite() { TestSuite suite = new TestSuite( "PreparedStatementTest and SetObjectUnsupportedTest suite"); suite.addTestSuite(PreparedStatementTest.class); suite.addTest(SetObjectUnsupportedTest.suite(false)); return new BaseJDBCTestSetup(suite) { ... | 1,106,102 |
public String toString() { if (SanityManager.DEBUG) { return "referencedSet: " + referencedSet + "\n" + "pushable: " + pushable + "\n" + super.toString(); } else { return ""; } } | public String toString() { if (SanityManager.DEBUG) { return "referencedSet: " + referencedSet + "\n" + "pushable: " + pushable + "\n" + super.toString(); } else { return ""; } } | 1,106,104 |
public ExecRow makeRow(TupleDescriptor td, TupleDescriptor parent) throws StandardException { DataValueDescriptor grantee = null; DataValueDescriptor grantor = null; String tableID = null; String selectPriv = null; String deletePriv = null; String insertPriv = null; Str... | public ExecRow makeRow(TupleDescriptor td, TupleDescriptor parent) throws StandardException { DataValueDescriptor grantee = null; DataValueDescriptor grantor = null; String tableID = null; String selectPriv = null; String deletePriv = null; String insertPriv = null; Str... | 1,106,107 |
public SystemColumn[] buildColumnList() { SystemColumn[] columnList = new SystemColumn[SYSALIASES_COLUMN_COUNT]; // describe columns columnList[0] = new SystemColumnImpl( convertIdCase( "ALIASID"), // column name 1, // column number 0, // precision 0, // scale false, ... | public SystemColumn[] buildColumnList() { SystemColumn[] columnList = new SystemColumn[SYSALIASES_COLUMN_COUNT]; // describe columns columnList[0] = new SystemColumnImpl( convertIdCase( "ALIASID"), // column name 1, // column number 0, // precision 0, // scale false, ... | 1,106,109 |
final void writeScalarStream(boolean chained, boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte, ... | final void writeScalarStream(boolean chained, boolean chainedWithSameCorrelator, int codePoint, java.io.InputStream in, boolean writeNullByte, ... | 1,106,110 |
final void writeScalarStream(boolean chained, boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte, ... | final void writeScalarStream(boolean chained, boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte, ... | 1,106,111 |
public void updateAsciiStream(int columnIndex, java.io.InputStream x, int length) throws SQLException { checksBeforeUpdateXXX("updateAsciiStream", columnIndex); int colType = getColumnType(columnIndex); switch (colType) { case Types.CHAR: case Types.VARCHAR: case Types.LONGVARCHAR: case Types.CLOB: bre... | public void updateAsciiStream(int columnIndex, java.io.InputStream x, long length) throws SQLException { checksBeforeUpdateXXX("updateAsciiStream", columnIndex); int colType = getColumnType(columnIndex); switch (colType) { case Types.CHAR: case Types.VARCHAR: case Types.LONGVARCHAR: case Types.CLOB: br... | 1,106,112 |
public void updateBinaryStream(int columnIndex, java.io.InputStream x, int length) throws SQLException { checksBeforeUpdateXXX("updateBinaryStream", columnIndex); int colType = getColumnType(columnIndex); switch (colType) { case Types.BINARY: case Types.VARBINARY: case Types.LONGVARBINARY: case Types.BLOB... | public void updateBinaryStream(int columnIndex, java.io.InputStream x, long length) throws SQLException { checksBeforeUpdateXXX("updateBinaryStream", columnIndex); int colType = getColumnType(columnIndex); switch (colType) { case Types.BINARY: case Types.VARBINARY: case Types.LONGVARBINARY: case Types.BLO... | 1,106,113 |
public void updateCharacterStream(int columnIndex, java.io.Reader x, int length) throws SQLException { //If the column type is the right datatype, this method will eventually call getDVDforColumnToBeUpdated which will check for //the read only resultset. But for other datatypes, we want to catch if this updateChar... | public void updateCharacterStream(int columnIndex, java.io.Reader x, long length) throws SQLException { //If the column type is the right datatype, this method will eventually call getDVDforColumnToBeUpdated which will check for //the read only resultset. But for other datatypes, we want to catch if this updateCha... | 1,106,114 |
public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println... | public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println... | 1,106,115 |
public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println... | public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println... | 1,106,116 |
public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println... | public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println... | 1,106,117 |
public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println... | public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println... | 1,106,118 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.