bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public String toString() { try { return getRealConnection().toString(); } catch ( SQLException e ) { return "<no connection>"; } }
public String toString() { try { return getRealConnection().toString(); } catch ( SQLException e ) { return "<no connection>"; } }
1,106,538
public void setProperties() { // Set required server properties. System.setProperty("database", "jdbc:derby:net://localhost:" + NETWORKSERVER_PORT + "/wombat;create=true"); System.setProperty("ij.user", "EDWARD"); System.setProperty("ij.password", "noodle"); }
public void setProperties() { // Set required server properties. System.setProperty("database", "jdbc:derby:net://localhost:" + NETWORKSERVER_PORT + "/wombat;create=true"); System.setProperty("ij.user", "EDWARD"); System.setProperty("ij.password", "noodle"); }
1,106,540
public void shutdown() { try { DriverManager.getConnection("jdbc:derby:net://localhost:" + NETWORKSERVER_PORT + "/wombat;shutdown=true", "EDWARD", "noodle"); System.out.println("FAIL - Shutdown returned connection"); } catch (SQLException sqle) { System.out.println("EXPECTED SHUTDOWN " + sqle.getMessage(...
public void shutdown() { try { DriverManager.getConnection("jdbc:derby:net://localhost:" + NETWORKSERVER_PORT + "/wombat;shutdown=true", "EDWARD", "noodle"); System.out.println("FAIL - Shutdown returned connection"); } catch (SQLException sqle) { System.out.println("EXPECTED SHUTDOWN " + sqle.getMessage(...
1,106,541
public synchronized void notifyError(SQLException exception) { // only report fatal error to the connection pool manager if (exception.getErrorCode() < ExceptionSeverity.SESSION_SEVERITY) return; // tell my listeners an exception is about to be thrown if (eventListener != null && eventListener.size() > 0) { ...
public synchronized void notifyError(SQLException exception) { // only report fatal error to the connection pool manager if (exception.getErrorCode() < ExceptionSeverity.SESSION_SEVERITY) return; // tell my listeners an exception is about to be thrown if (eventListener != null && eventListener.size() > 0) { ...
1,106,542
public synchronized void notifyError(SQLException exception) { // only report fatal error to the connection pool manager if (exception.getErrorCode() < ExceptionSeverity.SESSION_SEVERITY) return; // tell my listeners an exception is about to be thrown if (eventListener != null && eventListener.size() > 0) { ...
public synchronized void notifyError(SQLException exception) { // only report fatal error to the connection pool manager if (exception.getErrorCode() < ExceptionSeverity.SESSION_SEVERITY) return; // tell my listeners an exception is about to be thrown if (eventListener != null && eventListener.size() > 0) { ...
1,106,543
private void dumpFileToSysOut(String fName) { try { BufferedReader logFile = new BufferedReader(new FileReader(fName)); if (logFile.readLine() != null) System.out.println("File " + fName + " was NOT " + "empty; refer to that file (in the test " + "directory) to see its contents."); else System....
private void dumpFileToSysOut(String fName) { try { BufferedReader dumpFile = new BufferedReader(new FileReader(fName)); if (logFile.readLine() != null) System.out.println("File " + fName + " was NOT " + "empty; refer to that file (in the test " + "directory) to see its contents."); else System...
1,106,546
private void dumpFileToSysOut(String fName) { try { BufferedReader logFile = new BufferedReader(new FileReader(fName)); if (logFile.readLine() != null) System.out.println("File " + fName + " was NOT " + "empty; refer to that file (in the test " + "directory) to see its contents."); else System....
private void dumpFileToSysOut(String fName) { try { BufferedReader logFile = new BufferedReader(new FileReader(fName)); String line = dumpFile.readLine(); if (line != null) { System.out.println("File " + fName + " was NOT " + "empty; refer to that file (in the test " + "directory) to see its content...
1,106,547
private void dumpFileToSysOut(String fName) { try { BufferedReader logFile = new BufferedReader(new FileReader(fName)); if (logFile.readLine() != null) System.out.println("File " + fName + " was NOT " + "empty; refer to that file (in the test " + "directory) to see its contents."); else System....
private void dumpFileToSysOut(String fName) { try { BufferedReader logFile = new BufferedReader(new FileReader(fName)); if (logFile.readLine() != null) System.out.println("File " + fName + " was NOT " + "empty; refer to that file (in the test " + "directory) to see its contents."); else System....
1,106,548
private void dumpFileToSysOut(String fName) { try { BufferedReader logFile = new BufferedReader(new FileReader(fName)); if (logFile.readLine() != null) System.out.println("File " + fName + " was NOT " + "empty; refer to that file (in the test " + "directory) to see its contents."); else System....
private void dumpFileToSysOut(String fName) { try { BufferedReader logFile = new BufferedReader(new FileReader(fName)); if (logFile.readLine() != null) System.out.println("File " + fName + " was NOT " + "empty; refer to that file (in the test " + "directory) to see its contents."); else System....
1,106,549
private void go(String dbName, String [] args) { jdbcProtocol = "jdbc:derby:"; String sourceDBUrl = jdbcProtocol + dbPath + separator + dbName; String [] fullArgs = new String[args.length+3]; fullArgs[0] = "-d"; fullArgs[1] = sourceDBUrl; fullArgs[2] = "-append"; for (int i = 3; i < fullArgs.length; i++) fu...
private void go(String dbName, String [] args) { jdbcProtocol = "jdbc:derby:"; String sourceDBUrl = jdbcProtocol + dbPath + separator + dbName; String [] fullArgs = new String[args.length+2]; fullArgs[0] = "-d"; fullArgs[1] = sourceDBUrl; fullArgs[2] = "-append"; for (int i = 3; i < fullArgs.length; i++) fu...
1,106,550
private void go(String dbName, String [] args) { jdbcProtocol = "jdbc:derby:"; String sourceDBUrl = jdbcProtocol + dbPath + separator + dbName; String [] fullArgs = new String[args.length+3]; fullArgs[0] = "-d"; fullArgs[1] = sourceDBUrl; fullArgs[2] = "-append"; for (int i = 3; i < fullArgs.length; i++) fu...
private void go(String dbName, String [] args) { jdbcProtocol = "jdbc:derby:"; String sourceDBUrl = jdbcProtocol + dbPath + separator + dbName; String [] fullArgs = new String[args.length+3]; fullArgs[0] = "-d"; fullArgs[1] = sourceDBUrl; fullArgs[2] = "-append"; for (int i = 3; i < fullArgs.length; i++) fu...
1,106,551
private void go(String dbName, String [] args) { jdbcProtocol = "jdbc:derby:"; String sourceDBUrl = jdbcProtocol + dbPath + separator + dbName; String [] fullArgs = new String[args.length+3]; fullArgs[0] = "-d"; fullArgs[1] = sourceDBUrl; fullArgs[2] = "-append"; for (int i = 3; i < fullArgs.length; i++) fu...
private void go(String dbName, String [] args) { jdbcProtocol = "jdbc:derby:"; String sourceDBUrl = jdbcProtocol + dbPath + separator + dbName; String [] fullArgs = new String[args.length+3]; fullArgs[0] = "-d"; fullArgs[1] = sourceDBUrl; fullArgs[2] = "-append"; for (int i = 3; i < fullArgs.length; i++) fu...
1,106,552
private void go(String dbName, String [] args) { jdbcProtocol = "jdbc:derby:"; String sourceDBUrl = jdbcProtocol + dbPath + separator + dbName; String [] fullArgs = new String[args.length+3]; fullArgs[0] = "-d"; fullArgs[1] = sourceDBUrl; fullArgs[2] = "-append"; for (int i = 3; i < fullArgs.length; i++) fu...
private void go(String dbName, String [] args) { jdbcProtocol = "jdbc:derby:"; String sourceDBUrl = jdbcProtocol + dbPath + separator + dbName; String [] fullArgs = new String[args.length+3]; fullArgs[0] = "-d"; fullArgs[1] = sourceDBUrl; fullArgs[2] = "-append"; for (int i = 3; i < fullArgs.length; i++) fu...
1,106,553
private void go(String dbName, String [] args) { jdbcProtocol = "jdbc:derby:"; String sourceDBUrl = jdbcProtocol + dbPath + separator + dbName; String [] fullArgs = new String[args.length+3]; fullArgs[0] = "-d"; fullArgs[1] = sourceDBUrl; fullArgs[2] = "-append"; for (int i = 3; i < fullArgs.length; i++) fu...
private void go(String dbName, String [] args) { jdbcProtocol = "jdbc:derby:"; String sourceDBUrl = jdbcProtocol + dbPath + separator + dbName; String [] fullArgs = new String[args.length+3]; fullArgs[0] = "-d"; fullArgs[1] = sourceDBUrl; fullArgs[2] = "-append"; for (int i = 3; i < fullArgs.length; i++) fu...
1,106,554
private void lookSix(String dbName) throws Exception { printAsHeader("\nDumping DDL w/ invalid url, and " + "writing\nerror to the log:\n"); // Url is intentionally incorrect; it will cause an error. dblook looker = new dblook(new String[] { "-o", dbName + ".sql", "-d", dbName } ); try { looker.go(dbNam...
private void lookSix(String dbName) throws Exception { printAsHeader("\nDumping DDL w/ invalid url, and " + "writing\nerror to the log:\n"); // Url is intentionally incorrect; it will cause an error. new dblook(new String[] { "-o", dbName + ".sql", "-d", dbName } ); try { looker.go(dbName, dbName); } c...
1,106,555
private void lookSix(String dbName) throws Exception { printAsHeader("\nDumping DDL w/ invalid url, and " + "writing\nerror to the log:\n"); // Url is intentionally incorrect; it will cause an error. dblook looker = new dblook(new String[] { "-o", dbName + ".sql", "-d", dbName } ); try { looker.go(dbNam...
private void lookSix(String dbName) throws Exception { printAsHeader("\nDumping DDL w/ invalid url, and " + "writing\nerror to the log:\n"); // Url is intentionally incorrect; it will cause an error. dblook looker = new dblook(new String[] { "-o", dbName + ".sql", "-d", dbName } ); try { looker.go(dbNam...
1,106,556
private void lookThree(String dbName) throws Exception { printAsHeader("\nDumping DDL for all objects, " + "using\nNetwork Server:\n"); jdbcProtocol = "jdbc:derby:net://localhost:" + SERVER_PORT + "/"; String sourceDBUrl = jdbcProtocol + "\"" + dbPath + separator + dbName + "\":user=someusr;password=somepwd...
private void lookThree(String dbName) throws Exception { printAsHeader("\nDumping DDL for all objects, " + "using\nNetwork Server:\n"); jdbcProtocol = "jdbc:derby:net://localhost:" + SERVER_PORT + "/"; String sourceDBUrl = jdbcProtocol + "\"" + dbPath + separator + dbName + "\":user=someusr;password=somepwd...
1,106,557
private void lookThree(String dbName) throws Exception { printAsHeader("\nDumping DDL for all objects, " + "using\nNetwork Server:\n"); jdbcProtocol = "jdbc:derby:net://localhost:" + SERVER_PORT + "/"; String sourceDBUrl = jdbcProtocol + "\"" + dbPath + separator + dbName + "\":user=someusr;password=somepwd...
private void lookThree(String dbName) throws Exception { printAsHeader("\nDumping DDL for all objects, " + "using\nNetwork Server:\n"); jdbcProtocol = "jdbc:derby:net://localhost:" + SERVER_PORT + "/"; String sourceDBUrl = jdbcProtocol + "\"" + dbPath + separator + dbName + "\":user=someusr;password=somepwd...
1,106,558
private void lookThree(String dbName) throws Exception { printAsHeader("\nDumping DDL for all objects, " + "using\nNetwork Server:\n"); jdbcProtocol = "jdbc:derby:net://localhost:" + SERVER_PORT + "/"; String sourceDBUrl = jdbcProtocol + "\"" + dbPath + separator + dbName + "\":user=someusr;password=somepwd...
private void lookThree(String dbName) throws Exception { printAsHeader("\nDumping DDL for all objects, " + "using\nNetwork Server:\n"); jdbcProtocol = "jdbc:derby:net://localhost:" + SERVER_PORT + "/"; String sourceDBUrl = jdbcProtocol + "\"" + dbPath + separator + dbName + "\":user=someusr;password=somepwd...
1,106,559
public void setStorableDataValue(DataValueDescriptor sdv, int position, int jdbcTypeId, String className) { if (SanityManager.DEBUG) { if (!(position >= 0 && position < parms.length)) { SanityManager.THROWASSERT("position value of " + position + " is out of range (0 to " + parms.length + ")"); } if ...
public void setStorableDataValue(DataValueDescriptor sdv, int position, int jdbcTypeId, String className) { if (SanityManager.DEBUG) { if (!(position >= 0 && position < parms.length)) { SanityManager.THROWASSERT("position value of " + position + " is out of range (0 to " + parms.length + ")"); } if ...
1,106,560
public static void main(String[] args) { DatabaseMetaData met; Connection con; Statement s; try { // Using this for now instead of ij because ij.startJBMS() // returns null for classes built against JDK 1.6 con = new TestConnection().createEmbeddedConnection(); con.setAutoC...
public static void main(String[] args) { DatabaseMetaData met; Connection con; Statement s; try { // Using this for now instead of ij because ij.startJBMS() // returns null for classes built against JDK 1.6 con = new TestConnection().createEmbeddedConnection(); con.setAutoC...
1,106,565
public static void main(String[] args) { DatabaseMetaData met; Connection con; Statement s; try { // Using this for now instead of ij because ij.startJBMS() // returns null for classes built against JDK 1.6 con = new TestConnection().createEmbeddedConnection(); con.setAutoC...
public static void main(String[] args) { DatabaseMetaData met; Connection con; Statement s; try { // Using this for now instead of ij because ij.startJBMS() // returns null for classes built against JDK 1.6 con = new TestConnection().createEmbeddedConnection(); con.setAutoC...
1,106,566
public DataValueDescriptor getNewNull() { return null; }
public DataValueDescriptor getNewNull() { return new HeapRowLocation(); }
1,106,567
protected void tearDown() throws java.lang.Exception { Connection conn = getConnection(); conn.setAutoCommit(false); CallableStatement setDBP = conn.prepareCall( "CALL SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY(?, NULL)"); // Clear all the system properties set by the new set ...
protected void tearDown() throws java.lang.Exception { Connection conn = getConnection(); conn.setAutoCommit(false); CallableStatement setDBP = conn.prepareCall( "CALL SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY(?, NULL)"); // Clear all the system properties set by the new set ...
1,106,568
public CostEstimate optimizeIt( Optimizer optimizer, OptimizablePredicateList predList, CostEstimate outerCost, RowOrdering rowOrdering) throws StandardException { optimizer.costOptimizable( this, tableDescriptor, getCurrentAccessPath().getConglomerateDescriptor(), predList, ...
public CostEstimate optimizeIt( Optimizer optimizer, OptimizablePredicateList predList, CostEstimate outerCost, RowOrdering rowOrdering) throws StandardException { optimizer.costOptimizable( this, tableDescriptor, getCurrentAccessPath().getConglomerateDescriptor(), predList, ...
1,106,569
private static void checkTypeForSetAsciiStream( final int paramType, LogWriter logWriter ) throws SqlException { if ( ! PossibleTypes.POSSIBLE_TYPES_IN_SET_ASCIISTREAM.checkType( paramType ) ) { PossibleTypes.throw22005E...
private static void checkTypeForSetAsciiStream( final int paramType, LogWriter logWriter ) throws SqlException { if ( ! PossibleTypes.POSSIBLE_TYPES_IN_SET_ASCIISTREAM.checkType( paramType ) ) { PossibleTypes.throw22005E...
1,106,571
private static void checkTypeForSetAsciiStream( final int paramType, LogWriter logWriter ) throws SqlException { if ( ! PossibleTypes.POSSIBLE_TYPES_IN_SET_ASCIISTREAM.checkType( paramType ) ) { PossibleTypes.throw22005E...
private static void checkTypeForSetAsciiStream( final int paramType, LogWriter logWriter ) throws SqlException { if ( ! PossibleTypes.POSSIBLE_TYPES_IN_SET_ASCIISTREAM.checkType( paramType ) ) { PossibleTypes.throw22005E...
1,106,572
private static void checkTypeForSetBlob(final int paramType, LogWriter logWriter ) throws SqlException { if( ! PossibleTypes.POSSIBLE_TYPES_IN_SET_BLOB.checkType( paramType ) ){ PossibleTypes.throw22005Exception(logWriter, ...
private static void checkTypeForSetBlob(final int paramType, LogWriter logWriter ) throws SqlException { if( ! PossibleTypes.POSSIBLE_TYPES_IN_SET_BLOB.checkType( paramType ) ){ PossibleTypes.throw22005Exception(logWriter, ...
1,106,573
private static void checkTypeForSetBlob(final int paramType, LogWriter logWriter ) throws SqlException { if( ! PossibleTypes.POSSIBLE_TYPES_IN_SET_BLOB.checkType( paramType ) ){ PossibleTypes.throw22005Exception(logWriter, ...
private static void checkTypeForSetBlob(final int paramType, LogWriter logWriter ) throws SqlException { if( ! PossibleTypes.POSSIBLE_TYPES_IN_SET_BLOB.checkType( paramType ) ){ PossibleTypes.throw22005Exception(agent_.logWriter...
1,106,574
private static void checkTypeForSetCharacterStream(final int paramType, LogWriter logWriter) throws SqlException{ if( ! PossibleTypes.POSSIBLE_TYPES_IN_SET_CHARACTERSTREAM.checkType( paramType ) ){ PossibleTypes.throw2200...
private static void checkTypeForSetCharacterStream(final int paramType, LogWriter logWriter) throws SqlException{ if( ! PossibleTypes.POSSIBLE_TYPES_IN_SET_CHARACTERSTREAM.checkType( paramType ) ){ PossibleTypes.throw2200...
1,106,575
private static void checkTypeForSetClob( int paramType, LogWriter logWriter ) throws SqlException { if( ! PossibleTypes.POSSIBLE_TYPES_IN_SET_CLOB.checkType( paramType ) ){ PossibleTypes.throw22005Exception(logWriter, ...
private static void checkTypeForSetClob( int paramType, LogWriter logWriter ) throws SqlException { if( ! PossibleTypes.POSSIBLE_TYPES_IN_SET_CLOB.checkType( paramType ) ){ PossibleTypes.throw22005Exception(logWriter, ...
1,106,576
private static void checkTypeForSetClob( int paramType, LogWriter logWriter ) throws SqlException { if( ! PossibleTypes.POSSIBLE_TYPES_IN_SET_CLOB.checkType( paramType ) ){ PossibleTypes.throw22005Exception(logWriter, ...
private static void checkTypeForSetClob( int paramType, LogWriter logWriter ) throws SqlException { if( ! PossibleTypes.POSSIBLE_TYPES_IN_SET_CLOB.checkType( paramType ) ){ PossibleTypes.throw22005Exception(agent_.logWr...
1,106,577
private ColumnMetaData getColumnMetaDataX() { return parameterMetaData_ != null ? parameterMetaData_ : ClientDriver.getFactory().newColumnMetaData(agent_.logWriter_, 0); }
private ColumnMetaData getColumnMetaDataX() throws SqlException { checkForClosedStatement(); return parameterMetaData_ != null ? parameterMetaData_ : ClientDriver.getFactory().newColumnMetaData(agent_.logWriter_, 0); }
1,106,578
private ParameterMetaData getParameterMetaDataX() throws SqlException { super.checkForClosedStatement(); ParameterMetaData pm = ClientDriver.getFactory().newParameterMetaData ( getColumnMetaDataX() ); if (escapedProcedureCallWithResult_) { pm.escapedProcedureCallWithResult...
private ParameterMetaData getParameterMetaDataX() throws SqlException { ParameterMetaData pm = ClientDriver.getFactory().newParameterMetaData ( getColumnMetaDataX() ); if (escapedProcedureCallWithResult_) { pm.escapedProcedureCallWithResult_ = true; } return...
1,106,579
public void setArray(int parameterIndex, java.sql.Array x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setArray", parameterIndex, x); } parameterIn...
public void setArray(int parameterIndex, java.sql.Array x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setArray", parameterIndex, x); } parameterIn...
1,106,580
public void setAsciiStream(int parameterIndex, java.io.InputStream x, long length) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEnt...
public void setAsciiStream(int parameterIndex, java.io.InputStream x, long length) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEnt...
1,106,581
public void setAsciiStream(int parameterIndex, java.io.InputStream x, long length) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEnt...
public void setAsciiStream(int parameterIndex, java.io.InputStream x, long length) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEnt...
1,106,582
public void setBigDecimal(int parameterIndex, java.math.BigDecimal x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setBigDecimal", parameterIndex, x); } ...
public void setBigDecimal(int parameterIndex, java.math.BigDecimal x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setBigDecimal", parameterIndex, x); } ...
1,106,583
public void setBinaryStream(int parameterIndex, java.io.InputStream x, long length) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.trace...
public void setBinaryStream(int parameterIndex, java.io.InputStream x, long length) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.trace...
1,106,584
public void setBinaryStream(int parameterIndex, java.io.InputStream x, long length) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.trace...
public void setBinaryStream(int parameterIndex, java.io.InputStream x, long length) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.trace...
1,106,585
protected void setBinaryStreamX(int parameterIndex, java.io.InputStream x, int length) throws SqlException { parameterIndex = checkSetterPreconditions(parameterIndex); parameterMetaData_.clientParamtertype_[parameterIndex - 1] = java.sql....
protected void setBinaryStreamX(int parameterIndex, java.io.InputStream x, int length) throws SqlException { parameterIndex = checkForEscapedCallWithResult(parameterIndex); parameterMetaData_.clientParamtertype_[parameterIndex - 1] = java...
1,106,586
public void setBlob(int parameterIndex, java.sql.Blob x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setBlob", parameterIndex, x); } ...
public void setBlob(int parameterIndex, java.sql.Blob x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setBlob", parameterIndex, x); } ...
1,106,587
public void setBlobX(int parameterIndex, java.sql.Blob x) throws SqlException { parameterIndex = checkSetterPreconditions(parameterIndex); parameterMetaData_.clientParamtertype_[parameterIndex - 1] = java.sql.Types.BLOB; if (x == null) { setNullX(parameterIndex, java.sql.Types.BLOB);...
public void setBlobX(int parameterIndex, java.sql.Blob x) throws SqlException { parameterIndex = checkForEscapedCallWithResult(parameterIndex); parameterMetaData_.clientParamtertype_[parameterIndex - 1] = java.sql.Types.BLOB; if (x == null) { setNullX(parameterIndex, java.sql.Types.B...
1,106,588
public void setBoolean(int parameterIndex, boolean x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setBoolean", parameterIndex, x); } ...
public void setBoolean(int parameterIndex, boolean x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setBoolean", parameterIndex, x); } ...
1,106,589
public void setByte(int parameterIndex, byte x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setByte", parameterIndex, x); } final i...
public void setByte(int parameterIndex, byte x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setByte", parameterIndex, x); } final i...
1,106,590
public void setBytesX(int parameterIndex, byte[] x) throws SqlException { parameterIndex = checkSetterPreconditions(parameterIndex); parameterMetaData_.clientParamtertype_[parameterIndex - 1] = java.sql.Types.LONGVARBINARY; if (x == null) { setNullX(parameterIndex, java.sql.Types.LON...
public void setBytesX(int parameterIndex, byte[] x) throws SqlException { parameterIndex = checkForEscapedCallWithResult(parameterIndex); parameterMetaData_.clientParamtertype_[parameterIndex - 1] = java.sql.Types.LONGVARBINARY; if (x == null) { setNullX(parameterIndex, java.sql.Type...
1,106,591
public void setCharacterStream(int parameterIndex, Reader x) throws SQLException { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setCharacterStream", parameterIndex, x); } try {...
public void setCharacterStream(int parameterIndex, Reader x) throws SQLException { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setCharacterStream", parameterIndex, x); } try {...
1,106,592
public void setClob(int parameterIndex, java.sql.Clob x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setClob", parameterIndex, x); } ...
public void setClob(int parameterIndex, java.sql.Clob x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setClob", parameterIndex, x); } ...
1,106,593
void setClobX(int parameterIndex, java.sql.Clob x) throws SqlException { parameterIndex = checkSetterPreconditions(parameterIndex); parameterMetaData_.clientParamtertype_[parameterIndex - 1] = java.sql.Types.CLOB; if (x == null) { this.setNullX(parameterIndex, Types.CLOB); ...
void setClobX(int parameterIndex, java.sql.Clob x) throws SqlException { parameterIndex = checkForEscapedCallWithResult(parameterIndex); parameterMetaData_.clientParamtertype_[parameterIndex - 1] = java.sql.Types.CLOB; if (x == null) { this.setNullX(parameterIndex, Types.CLOB); ...
1,106,594
public void setDate(int parameterIndex, java.sql.Date x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setDate", parameterIndex, x); } ...
public void setDate(int parameterIndex, java.sql.Date x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setDate", parameterIndex, x); } ...
1,106,595
public void setDouble(int parameterIndex, double x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setDouble", parameterIndex, x); } f...
public void setDouble(int parameterIndex, double x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setDouble", parameterIndex, x); } f...
1,106,596
public void setFloat(int parameterIndex, float x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setFloat", parameterIndex, x); } fina...
public void setFloat(int parameterIndex, float x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setFloat", parameterIndex, x); } fina...
1,106,597
void setIntX(int parameterIndex, int x) throws SqlException { parameterIndex = checkSetterPreconditions(parameterIndex); parameterMetaData_.clientParamtertype_[parameterIndex - 1] = java.sql.Types.INTEGER; setInput(parameterIndex, new Integer(x)); }
void setIntX(int parameterIndex, int x) throws SqlException { parameterIndex = checkForEscapedCallWithResult(parameterIndex); parameterMetaData_.clientParamtertype_[parameterIndex - 1] = java.sql.Types.INTEGER; setInput(parameterIndex, new Integer(x)); }
1,106,598
public void setLong(int parameterIndex, long x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setLong", parameterIndex, x); } final i...
public void setLong(int parameterIndex, long x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setLong", parameterIndex, x); } final i...
1,106,599
void setNullX(int parameterIndex, int jdbcType) throws SqlException { checkForSupportedDataType(jdbcType); super.checkForClosedStatement(); // investigate what can be pushed up to setNull parameterIndex = checkSetterPreconditions(parameterIndex); parameterMetaData_.clientParamtertype_[p...
void setNullX(int parameterIndex, int jdbcType) throws SqlException { checkForSupportedDataType(jdbcType); super.checkForClosedStatement(); // investigate what can be pushed up to setNull parameterIndex = checkSetterPreconditions(parameterIndex); parameterMetaData_.clientParamtertype_[p...
1,106,601
public void setObject(int parameterIndex, Object x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setObject", parameterIndex, x); } super.checkForClo...
public void setObject(int parameterIndex, Object x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setObject", parameterIndex, x); } i...
1,106,602
public void setObject(int parameterIndex, Object x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setObject", parameterIndex, x); } super.checkForClo...
public void setObject(int parameterIndex, Object x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setObject", parameterIndex, x); } super.checkForClo...
1,106,603
private void setObjectX(int parameterIndex, Object x, int targetJdbcType, int scale) throws SqlException { parameterIndex = checkSetterPreconditions(parameterIndex); checkForValidScale(scale); if (x == null) { ...
private void setObjectX(int parameterIndex, Object x, int targetJdbcType, int scale) throws SqlException { parameterIndex = checkForEscapedCallWithResult(parameterIndex); checkForValidScale(scale); if (x == null) {...
1,106,604
private void setObjectX(int parameterIndex, Object x, int targetJdbcType, int scale) throws SqlException { parameterIndex = checkSetterPreconditions(parameterIndex); checkForValidScale(scale); if (x == null) { ...
private void setObjectX(int parameterIndex, Object x, int targetJdbcType, int scale) throws SqlException { parameterIndex = checkSetterPreconditions(parameterIndex); checkForValidScale(scale); if (x == null) { ...
1,106,605
public void setRef(int parameterIndex, java.sql.Ref x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setRef", parameterIndex, x); } parameterIndex = ...
public void setRef(int parameterIndex, java.sql.Ref x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setRef", parameterIndex, x); } parameterIndex = ...
1,106,606
void setShortX(int parameterIndex, short x) throws SqlException { parameterIndex = checkSetterPreconditions(parameterIndex); parameterMetaData_.clientParamtertype_[parameterIndex - 1] = java.sql.Types.SMALLINT; setInput(parameterIndex, new Short(x)); }
void setShortX(int parameterIndex, short x) throws SqlException { parameterIndex = checkForEscapedCallWithResult(parameterIndex); parameterMetaData_.clientParamtertype_[parameterIndex - 1] = java.sql.Types.SMALLINT; setInput(parameterIndex, new Short(x)); }
1,106,607
void setStringX(int parameterIndex, String x) throws SqlException { parameterIndex = checkSetterPreconditions(parameterIndex); parameterMetaData_.clientParamtertype_[parameterIndex - 1] = java.sql.Types.LONGVARCHAR; if (x == null) { setNullX(parameterIndex, java.sql.Types.LONGVARCHAR...
void setStringX(int parameterIndex, String x) throws SqlException { parameterIndex = checkForEscapedCallWithResult(parameterIndex); parameterMetaData_.clientParamtertype_[parameterIndex - 1] = java.sql.Types.LONGVARCHAR; if (x == null) { setNullX(parameterIndex, java.sql.Types.LONGVA...
1,106,608
public void setTime(int parameterIndex, java.sql.Time x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setTime", parameterIndex, x); } ...
public void setTime(int parameterIndex, java.sql.Time x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setTime", parameterIndex, x); } ...
1,106,609
public void setTimestamp(int parameterIndex, java.sql.Timestamp x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setTimestamp", parameterIndex, x); } ...
public void setTimestamp(int parameterIndex, java.sql.Timestamp x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setTimestamp", parameterIndex, x); } ...
1,106,610
private static void resultSetQuery(String tag, ResultSet rs) throws SQLException { System.out.print(tag + ": ru(" + rs.getCursorName() + ") contents"); SecurityCheck.inspect(rs, "java.sql.ResultSet"); while (rs.next()) { System.out.print(" {" + rs.getInt(1) + "}"); } System.out.println(""); rs.close(); }
private static void resultSetQuery(String tag, ResultSet rs) throws SQLException { String cursorName = rs.getCursorName(); if (hasGetCursorNameBug && cursorName.startsWith("SQL_CUR")) { cursorName = cursorName.substring(0,13); } System.out.print(tag + ": ru(" + cursorName + ") contents"); SecurityCheck.inspect(rs...
1,106,611
protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate( "create procedure checkConn2(in d...
protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate( "create procedure checkConn2(in d...
1,106,612
protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate( "create procedure checkConn2(in d...
protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate( "create procedure checkConn2(in d...
1,106,613
protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate( "create procedure checkConn2(in d...
protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate( "create procedure checkConn2(in d...
1,106,614
protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate( "create procedure checkConn2(in d...
protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate( "create procedure checkConn2(in d...
1,106,615
public static String formatMessage(ResourceBundle bundle, String messageId, Object[] arguments, boolean composeDefault) { String message = null; if (arguments == null) arguments = new Object[0]; if (bundle != null) { try { message = bundle.ge...
public static String formatMessage(ResourceBundle bundle, String messageId, Object[] arguments, boolean composeDefault) { String message = null; if (arguments == null) arguments = new Object[0]; if (bundle != null) { try { message = bundle.ge...
1,106,616
public boolean getNextPermutation() throws StandardException { /* Don't get any permutations if there is nothing to optimize */ if (numOptimizables < 1) { if (optimizerTrace) { trace(NO_TABLES, 0, 0, 0.0, null); } endOfRoundCleanup(); return false; } /* Make sure that all Optimizables init their ac...
public boolean getNextPermutation() throws StandardException { /* Don't get any permutations if there is nothing to optimize */ if (numOptimizables < 1) { if (optimizerTrace) { trace(NO_TABLES, 0, 0, 0.0, null); } endOfRoundCleanup(); return false; } /* Make sure that all Optimizables init their ac...
1,106,618
public void setTypeMap(java.util.Map map) throws SQLException { throw Util.notImplemented(); }
public void setTypeMap(java.util.Map map) throws SQLException { if( map == null) throw Util.generateCsSQLException(SQLState.INVALID_API_PARAMETER,map,"map", "java.sql.Connection.setTypeMap"); if(!(map.isEmpty())) throw Util.notImplemented(); }
1,106,619
public static void main(String[] args) throws Exception { hostName = TestUtil.getHostName(); if (hostName.equals("localhost")) NETWORKSERVER_PORT = 20000; else NETWORKSERVER_PORT = 1527; // Load harness properties. ij.getPropertyArg(args); // "runTest()" is going to try to connect to the database through ...
public static void main(String[] args) throws Exception { hostName = TestUtil.getHostName(); if (hostName.equals("localhost")) NETWORKSERVER_PORT = 20000; else NETWORKSERVER_PORT = 1527; // Load harness properties. ij.getPropertyArg(args); // "runTest()" is going to try to connect to the database through ...
1,106,620
public static void main(String[] args) throws Exception { hostName = TestUtil.getHostName(); if (hostName.equals("localhost")) NETWORKSERVER_PORT = 20000; else NETWORKSERVER_PORT = 1527; // Load harness properties. ij.getPropertyArg(args); // "runTest()" is going to try to connect to the database through ...
public static void main(String[] args) throws Exception { hostName = TestUtil.getHostName(); if (hostName.equals("localhost")) NETWORKSERVER_PORT = 20000; else NETWORKSERVER_PORT = 1527; // Load harness properties. ij.getPropertyArg(args); // "runTest()" is going to try to connect to the database through ...
1,106,621
private void backupLogFiles(File toDir, long lastLogFileToBackup) throws StandardException { while(firstLogFileToBackup <= lastLogFileToBackup) { StorageFile fromFile = getLogFileName(firstLogFileToBackup); File toFile = new File(toDir, fromFile.getName()); if(!privCopyFile(fromFile, toFile)) { th...
private void backupLogFiles(File toDir, long lastLogFileToBackup) throws StandardException { while(logFileToBackup <= lastLogFileToBackup) { StorageFile fromFile = getLogFileName(firstLogFileToBackup); File toFile = new File(toDir, fromFile.getName()); if(!privCopyFile(fromFile, toFile)) { throw S...
1,106,623
private void backupLogFiles(File toDir, long lastLogFileToBackup) throws StandardException { while(firstLogFileToBackup <= lastLogFileToBackup) { StorageFile fromFile = getLogFileName(firstLogFileToBackup); File toFile = new File(toDir, fromFile.getName()); if(!privCopyFile(fromFile, toFile)) { th...
private void backupLogFiles(File toDir, long lastLogFileToBackup) throws StandardException { while(firstLogFileToBackup <= lastLogFileToBackup) { StorageFile fromFile = getLogFileName(logFileToBackup); File toFile = new File(toDir, fromFile.getName()); if(!privCopyFile(fromFile, toFile)) { throw S...
1,106,624
private void backupLogFiles(File toDir, long lastLogFileToBackup) throws StandardException { while(firstLogFileToBackup <= lastLogFileToBackup) { StorageFile fromFile = getLogFileName(firstLogFileToBackup); File toFile = new File(toDir, fromFile.getName()); if(!privCopyFile(fromFile, toFile)) { th...
private void backupLogFiles(File toDir, long lastLogFileToBackup) throws StandardException { while(firstLogFileToBackup <= lastLogFileToBackup) { StorageFile fromFile = getLogFileName(firstLogFileToBackup); File toFile = new File(toDir, fromFile.getName()); if(!privCopyFile(fromFile, toFile)) { th...
1,106,625
private void deleteObsoleteLogfiles(){ StorageFile logDir; //find the first log file number that is useful long firstLogNeeded = getFirstLogNeeded(currentCheckpoint); // when backup is in progress, Any that are yet to be copied to the // backup should not be deleted, even if they are ...
private void deleteObsoleteLogfiles(){ StorageFile logDir; //find the first log file number that is useful long firstLogNeeded = getFirstLogNeeded(currentCheckpoint); // when backup is in progress, Any that are yet to be copied to the // backup should not be deleted, even if they are ...
1,106,626
public void startLogBackup(File toDir) throws StandardException { // synchronization is necessary to make sure NO parallel // checkpoint happens when the current checkpoint information // is being copied to the backup. synchronized(this) { // wait until the thread that is doing the checkpoint completes it....
public void startLogBackup(File toDir) throws StandardException { // synchronization is necessary to make sure NO parallel // checkpoint happens when the current checkpoint information // is being copied to the backup. synchronized(this) { // wait until the thread that is doing the checkpoint completes it....
1,106,628
private void truncateLog(CheckpointOperation checkpoint) { long oldFirstLog; long firstLogNeeded; if (keepAllLogs) return; if ((firstLogNeeded = getFirstLogNeeded(checkpoint))==-1) return; // when backup is in progress, Any that are yet to be copied to the // backup should not be deleted, even if they ar...
private void truncateLog(CheckpointOperation checkpoint) { long oldFirstLog; long firstLogNeeded; if (keepAllLogs) return; if ((firstLogNeeded = getFirstLogNeeded(checkpoint))==-1) return; // when backup is in progress, Any that are yet to be copied to the // backup should not be deleted, even if they ar...
1,106,629
public boolean acceptsURL(String url) { return active && // need to reject network driver's URL's !url.startsWith(Attribute.JCC_PROTOCOL) && !url.startsWith(Attribute.DNC_PROTOCOL) && (url.startsWith(Attribute.PROTOCOL) || url.equals(Attribute.SQLJ_NESTED)); }
public boolean acceptsURL(String url) { return active && // need to reject network driver's URL's !url.startsWith(Attribute.JCC_PROTOCOL) && !url.startsWith(Attribute.DNC_PROTOCOL) && (url.startsWith(Attribute.PROTOCOL) || url.equals(Attribute.SQLJ_NESTED)); }
1,106,630
public void runGetReaderTwiceTest() throws SQLException, IOException { Reader reader = null; Statement st = createStatement(); ResultSet rs = st.executeQuery( "select * from testLob"); assertTrue("FAIL - row not found", rs.next()); println("get reader from testLob ...
public void runGetReaderTwiceTest() throws SQLException, IOException { Reader reader = null; Statement st = createStatement(); ResultSet rs = st.executeQuery( "select * from testLob"); assertTrue("FAIL - row not found", rs.next()); println("get reader from testLob ...
1,106,631
private void runGetStreamTwiceTest() throws SQLException, IOException { InputStream is = null; Statement st = createStatement(); ResultSet rs = st.executeQuery("select * from testLob"); assertTrue("FAIL - row not found", rs.next()); println("get stream from...
private void runGetStreamTwiceTest() throws SQLException, IOException { InputStream is = null; Statement st = createStatement(); ResultSet rs = st.executeQuery("select * from testLob"); assertTrue("FAIL - row not found", rs.next()); println("get stream from...
1,106,633
public void addRequiredSchemaPriv(String schemaName, String aid, boolean privType) { if( requiredSchemaPrivileges == null || schemaName == null) return; StatementSchemaPermission key = new StatementSchemaPermission(schemaName, aid, privType); requiredSchemaPrivileges.put(key, key); }
public void addRequiredSchemaPriv(String schemaName, String aid, int privType) { if( requiredSchemaPrivileges == null || schemaName == null) return; StatementSchemaPermission key = new StatementSchemaPermission(schemaName, aid, privType); requiredSchemaPrivileges.put(key, key); }
1,106,637
public StatementSchemaPermission(String schemaName, String aid, boolean privType) { this.schemaName = schemaName; this.aid = aid; this.privType = privType; }
public StatementSchemaPermission(String schemaName, String aid, int privType) { this.schemaName = schemaName; this.aid = aid; this.privType = privType; }
1,106,638
protected boolean allowLocalCommitRollback_() throws org.apache.derby.client.am.SqlException { if (xaState_ == XA_T0_NOT_ASSOCIATED) { return true; } return false; }
protected boolean allowLocalCommitRollback_() throws org.apache.derby.client.am.SqlException { if (getXAState() == XA_T0_NOT_ASSOCIATED) { return true; } return false; }
1,106,639
public void resetNetConnection(org.apache.derby.client.am.LogWriter logWriter, String user, String password, org.apache.derby.jdbc.ClientDataSource ds, boolean recomputeFromDataSou...
public void resetNetConnection(org.apache.derby.client.am.LogWriter logWriter, String user, String password, org.apache.derby.jdbc.ClientDataSource ds, boolean recomputeFromDataSou...
1,106,640
public void generateODBCQueries(InputStream is) throws IOException { // JDBC query that we read from metadata.properties. StringBuffer query = new StringBuffer(); // We assume no single line/query is greater than 1K in // length, and we'll fail if this isn't the case. The // limit of 1K was just picked arbitrar...
public void generateODBCQueries(InputStream is) throws IOException { // JDBC query that we read from metadata.properties. StringBuffer query = new StringBuffer(); // We assume no single line/query is greater than 1K in // length, and we'll fail if this isn't the case. The // limit of 1K was just picked arbitrar...
1,106,641
public void generateODBCQueries(InputStream is) throws IOException { // JDBC query that we read from metadata.properties. StringBuffer query = new StringBuffer(); // We assume no single line/query is greater than 1K in // length, and we'll fail if this isn't the case. The // limit of 1K was just picked arbitrar...
public void generateODBCQueries(InputStream is) throws IOException { // JDBC query that we read from metadata.properties. StringBuffer query = new StringBuffer(); // We assume no single line/query is greater than 1K in // length, and we'll fail if this isn't the case. The // limit of 1K was just picked arbitrar...
1,106,642
public void generateODBCQueries(InputStream is) throws IOException { // JDBC query that we read from metadata.properties. StringBuffer query = new StringBuffer(); // We assume no single line/query is greater than 1K in // length, and we'll fail if this isn't the case. The // limit of 1K was just picked arbitrar...
public void generateODBCQueries(InputStream is) throws IOException { // JDBC query that we read from metadata.properties. StringBuffer query = new StringBuffer(); // We assume no single line/query is greater than 1K in // length, and we'll fail if this isn't the case. The // limit of 1K was just picked arbitrar...
1,106,643
public void generateODBCQueries(InputStream is) throws IOException { // JDBC query that we read from metadata.properties. StringBuffer query = new StringBuffer(); // We assume no single line/query is greater than 1K in // length, and we'll fail if this isn't the case. The // limit of 1K was just picked arbitrar...
public void generateODBCQueries(InputStream is) throws IOException { // JDBC query that we read from metadata.properties. StringBuffer query = new StringBuffer(); // We assume no single line/query is greater than 1K in // length, and we'll fail if this isn't the case. The // limit of 1K was just picked arbitrar...
1,106,644
public void generateODBCQueries(InputStream is) throws IOException { // JDBC query that we read from metadata.properties. StringBuffer query = new StringBuffer(); // We assume no single line/query is greater than 1K in // length, and we'll fail if this isn't the case. The // limit of 1K was just picked arbitrar...
public void generateODBCQueries(InputStream is) throws IOException { // JDBC query that we read from metadata.properties. StringBuffer query = new StringBuffer(); // We assume no single line/query is greater than 1K in // length, and we'll fail if this isn't the case. The // limit of 1K was just picked arbitrar...
1,106,645
public void generateODBCQueries(InputStream is) throws IOException { // JDBC query that we read from metadata.properties. StringBuffer query = new StringBuffer(); // We assume no single line/query is greater than 1K in // length, and we'll fail if this isn't the case. The // limit of 1K was just picked arbitrar...
public void generateODBCQueries(InputStream is) throws IOException { // JDBC query that we read from metadata.properties. StringBuffer query = new StringBuffer(); // We assume no single line/query is greater than 1K in // length, and we'll fail if this isn't the case. The // limit of 1K was just picked arbitrar...
1,106,646
public void generateODBCQueries(InputStream is) throws IOException { // JDBC query that we read from metadata.properties. StringBuffer query = new StringBuffer(); // We assume no single line/query is greater than 1K in // length, and we'll fail if this isn't the case. The // limit of 1K was just picked arbitrar...
public void generateODBCQueries(InputStream is) throws IOException { // JDBC query that we read from metadata.properties. StringBuffer query = new StringBuffer(); // We assume no single line/query is greater than 1K in // length, and we'll fail if this isn't the case. The // limit of 1K was just picked arbitrar...
1,106,647
public final void setAsciiStream(int parameterIndex, InputStream x, long length) throws SQLException { getCallableStatement().setAsciiStream(parameterIndex,x,length); }
public final void setAsciiStream(int parameterIndex, InputStream x, long length) throws SQLException { getCallableStatement().setAsciiStream(parameterIndex,x,length); }
1,106,650
public final void setBinaryStream(int parameterIndex, InputStream x, long length) throws SQLException { getCallableStatement().setBinaryStream(parameterIndex,x,length); }
public final void setBinaryStream(int parameterIndex, InputStream x, long length) throws SQLException { getCallableStatement().setBinaryStream(parameterIndex,x,length); }
1,106,651
public final void setCharacterStream(int parameterIndex, Reader x, long length) throws SQLException { getCallableStatement().setCharacterStream(parameterIndex,x,length); }
public final void setCharacterStream(int parameterIndex, Reader x, long length) throws SQLException { getCallableStatement().setCharacterStream(parameterIndex,x,length); }
1,106,652
public void setNCharacterStream(String parameterName,Reader value,long length) throws SQLException{ getCallableStatement().setNCharacterStream(parameterName,value,length); }
public void setNCharacterStream(String parameterName,Reader value,long length) throws SQLException{ getCallableStatement().setNCharacterStream(parameterName,value,length); }
1,106,653
public long position(byte[] pattern, long start) throws SQLException { try { synchronized (agent_.connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "position(byte[], long)", pattern, start); } if ...
public long position(byte[] pattern, long start) throws SQLException { try { synchronized (agent_.connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "position(byte[], long)", pattern, start); } if ...
1,106,654
public int setBytesX(long pos, byte[] bytes, int offset, int len) throws SqlException { int length = 0; /* Check if position is less than 0 and if true raise an exception */ if (pos <= 0L) { throw new SqlException(agent_.logWriter_, ...
public int setBytesX(long pos, byte[] bytes, int offset, int len) throws SqlException { int length = 0; /* Check if position is less than 0 and if true raise an exception */ if (pos <= 0L) { throw new SqlException(agent_.logWriter_, ...
1,106,655