bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
void installJarTest() throws SQLException, Exception{ logMessage("Begin Install Jar Test"); Connection conn1 = getConnection(); conn1.setAutoCommit(false); Statement conn1_stmt = conn1.createStatement(); Connection conn2 = getConnection(); conn2.setAutoCommit(false); ...
void installJarTest() throws SQLException, Exception{ logMessage("Begin Install Jar Test"); Connection conn1 = getConnection(); conn1.setAutoCommit(false); Statement conn1_stmt = conn1.createStatement(); Connection conn2 = getConnection(); conn2.setAutoCommit(false); ...
1,104,899
void installJarTest() throws SQLException, Exception{ logMessage("Begin Install Jar Test"); Connection conn1 = getConnection(); conn1.setAutoCommit(false); Statement conn1_stmt = conn1.createStatement(); Connection conn2 = getConnection(); conn2.setAutoCommit(false); ...
void installJarTest() throws SQLException, Exception{ logMessage("Begin Install Jar Test"); Connection conn1 = getConnection(); conn1.setAutoCommit(false); Statement conn1_stmt = conn1.createStatement(); Connection conn2 = getConnection(); conn2.setAutoCommit(false); ...
1,104,900
void removeJarTest() throws SQLException, Exception{ logMessage("Begin Remove Jar Test"); Connection conn1 = getConnection(); conn1.setAutoCommit(false); Statement conn1_stmt = conn1.createStatement(); Connection conn2 = getConnection(); conn2.setAutoCommit(false); S...
void removeJarTest() throws Exception{ logMessage("Begin Remove Jar Test"); Connection conn1 = getConnection(); conn1.setAutoCommit(false); Statement conn1_stmt = conn1.createStatement(); Connection conn2 = getConnection(); conn2.setAutoCommit(false); Statement conn2...
1,104,901
void removeJarTest() throws SQLException, Exception{ logMessage("Begin Remove Jar Test"); Connection conn1 = getConnection(); conn1.setAutoCommit(false); Statement conn1_stmt = conn1.createStatement(); Connection conn2 = getConnection(); conn2.setAutoCommit(false); S...
void removeJarTest() throws SQLException, Exception{ logMessage("Begin Remove Jar Test"); Connection conn1 = getConnection(); conn1.setAutoCommit(false); Statement conn1_stmt = conn1.createStatement(); Connection conn2 = getConnection(); conn2.setAutoCommit(false); S...
1,104,902
void removeJarTest() throws SQLException, Exception{ logMessage("Begin Remove Jar Test"); Connection conn1 = getConnection(); conn1.setAutoCommit(false); Statement conn1_stmt = conn1.createStatement(); Connection conn2 = getConnection(); conn2.setAutoCommit(false); S...
void removeJarTest() throws SQLException, Exception{ logMessage("Begin Remove Jar Test"); Connection conn1 = getConnection(); conn1.setAutoCommit(false); Statement conn1_stmt = conn1.createStatement(); Connection conn2 = getConnection(); conn2.setAutoCommit(false); S...
1,104,903
private void runTest() throws SQLException, Exception { logMessage("Begin Online Backup Test3"); Connection conn = ij.startJBMS(); conn.setAutoCommit(false); Statement stmt = conn.createStatement(); stmt.execute("create table t1(a int ) "); stmt.execute("insert into t1 valu...
private void runTest() throws Exception{ logMessage("Begin Online Backup Test3"); Connection conn = ij.startJBMS(); conn.setAutoCommit(false); Statement stmt = conn.createStatement(); stmt.execute("create table t1(a int ) "); stmt.execute("insert into t1 values(1)"); ...
1,104,904
public GroupedAggregateResultSet(NoPutResultSet s, boolean isInSortedOrder, int aggregateItem, int orderingItem, Activation a, GeneratedMethod ra, int maxRowSize, int resultSetNumber, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod c) t...
GroupedAggregateResultSet(NoPutResultSet s, boolean isInSortedOrder, int aggregateItem, int orderingItem, Activation a, GeneratedMethod ra, int maxRowSize, int resultSetNumber, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod c) throws S...
1,104,905
public GroupedAggregateResultSet(NoPutResultSet s, boolean isInSortedOrder, int aggregateItem, int orderingItem, Activation a, GeneratedMethod ra, int maxRowSize, int resultSetNumber, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod c) t...
public GroupedAggregateResultSet(NoPutResultSet s, boolean isInSortedOrder, int aggregateItem, int orderingItem, Activation a, GeneratedMethod ra, int maxRowSize, int resultSetNumber, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod c) t...
1,104,906
public GroupedAggregateResultSet(NoPutResultSet s, boolean isInSortedOrder, int aggregateItem, int orderingItem, Activation a, GeneratedMethod ra, int maxRowSize, int resultSetNumber, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod c) t...
public GroupedAggregateResultSet(NoPutResultSet s, boolean isInSortedOrder, int aggregateItem, int orderingItem, Activation a, GeneratedMethod ra, int maxRowSize, int resultSetNumber, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod c) t...
1,104,907
public void close() throws StandardException { beginTime = getCurrentTimeMillis(); if ( isOpen ) { // we don't want to keep around a pointer to the // row ... so it can be thrown away. // REVISIT: does this need to be in a finally // block, to ensure that it is executed? clearCurrentRow(); if (clo...
public void close() throws StandardException { beginTime = getCurrentTimeMillis(); if ( isOpen ) { // we don't want to keep around a pointer to the // row ... so it can be thrown away. // REVISIT: does this need to be in a finally // block, to ensure that it is executed? clearCurrentRow(); if (clo...
1,104,908
public void close() throws StandardException { beginTime = getCurrentTimeMillis(); if ( isOpen ) { // we don't want to keep around a pointer to the // row ... so it can be thrown away. // REVISIT: does this need to be in a finally // block, to ensure that it is executed? clearCurrentRow(); if (clo...
public void close() throws StandardException { beginTime = getCurrentTimeMillis(); if ( isOpen ) { // we don't want to keep around a pointer to the // row ... so it can be thrown away. // REVISIT: does this need to be in a finally // block, to ensure that it is executed? clearCurrentRow(); if (clo...
1,104,909
public void testSetAsciiStreamLengthLessOnClobTooLong() { int length = 1*1024*1024+512; try { setAsciiStream(psInsertClob, key, length, -1, 0, true); } catch (SQLException sqle) { if (usingEmbedded()) { assertSQLState("XSDA4", sqle); } else { ...
public void testSetAsciiStreamLengthLessOnClobTooLong() { int length = 1*1024*1024+512; try { setAsciiStream(psInsertClob, key, length, -1, 0, true); } catch (SQLException sqle) { if (usingEmbedded() || usingDerbyNetClient() ){ assertSQLState("XSDA4", sqle);...
1,104,910
public void testSetBinaryStreamLengthLessOnBlobTooLong() { int length = 1*1024*1024+512; try { setBinaryStreamOnBlob(key, length, -1, 0, true); } catch (SQLException sqle) { if (usingEmbedded()) { assertSQLState("XSDA4", sqle); } else { ...
public void testSetBinaryStreamLengthLessOnBlobTooLong() { int length = 1*1024*1024+512; try { setBinaryStreamOnBlob(key, length, -1, 0, true); } catch (SQLException sqle) { if (usingEmbedded() || usingDerbyNetClient() ) { assertSQLState("XSDA4", sqle); ...
1,104,911
public NetXAResource(XAConnection xaconn, int rmId, String userId, String password, org.apache.derby.client.net.NetXAConnection conn) { xaconn_ = xaconn; rmId_ = rmId; conn_ = conn; rmIdx_ = userId; rmIdy_ = password; port_ = ...
public NetXAResource(XAConnection xaconn, int rmId, String userId, String password, org.apache.derby.client.net.NetXAConnection conn) { xaconn_ = xaconn; rmId_ = rmId; conn_ = conn; rmIdx_ = userId; rmIdy_ = password; port_ = ...
1,104,912
public void commit(Xid xid, boolean onePhase) throws XAException { NetAgent netAgent = conn_.netAgent_; int rc = XAResource.XA_OK; exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "commit", xid, onePhase); } if ...
public void commit(Xid xid, boolean onePhase) throws XAException { NetAgent netAgent = conn_.netAgent_; int rc = XAResource.XA_OK; exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "commit", xid, onePhase); } if ...
1,104,913
public void end(Xid xid, int flags) throws XAException { NetAgent netAgent = conn_.netAgent_; int rc = XAResource.XA_OK; exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "end", xid, flags); } if (conn_.isClosed(...
public void end(Xid xid, int flags) throws XAException { NetAgent netAgent = conn_.netAgent_; int rc = XAResource.XA_OK; exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "end", xid, flags); } if (conn_.isPhysica...
1,104,915
public void end(Xid xid, int flags) throws XAException { NetAgent netAgent = conn_.netAgent_; int rc = XAResource.XA_OK; exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "end", xid, flags); } if (conn_.isClosed(...
public void end(Xid xid, int flags) throws XAException { NetAgent netAgent = conn_.netAgent_; int rc = XAResource.XA_OK; exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "end", xid, flags); } if (conn_.isClosed(...
1,104,916
public void forget(Xid xid) throws XAException { NetAgent netAgent = conn_.netAgent_; int rc = XAResource.XA_OK; exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "forget", xid); } if (conn_.isClosed()) { ...
public void forget(Xid xid) throws XAException { NetAgent netAgent = conn_.netAgent_; int rc = XAResource.XA_OK; exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "forget", xid); } if (conn_.isPhysicallyClosed())...
1,104,917
public int getTransactionTimeout() throws XAException { if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "getTransactionTimeout"); } exceptionsOnXA = null; if (conn_.isClosed()) { connectionClosedFailure(); } if (conn_.agen...
public int getTransactionTimeout() throws XAException { if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "getTransactionTimeout"); } exceptionsOnXA = null; if (conn_.isPhysicallyClosed()) { connectionClosedFailure(); } if (...
1,104,918
public boolean isSameRM(XAResource xares) throws XAException { boolean isSame = false; // preset that the RMs are NOT the same exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "isSameRM", xares); } if (conn_.isClosed()...
public boolean isSameRM(XAResource xares) throws XAException { boolean isSame = false; // preset that the RMs are NOT the same exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "isSameRM", xares); } if (conn_.isPhysical...
1,104,919
public int prepare(Xid xid) throws XAException { // public interface for prepare // just call prepareX with the recursion flag set to true exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "prepare", xid); } if (conn_.i...
public int prepare(Xid xid) throws XAException { // public interface for prepare // just call prepareX with the recursion flag set to true exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "prepare", xid); } if (conn_.i...
1,104,920
public Xid[] recover(int flag) throws XAException { int rc = XAResource.XA_OK; NetAgent netAgent = conn_.netAgent_; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "recover", flag); } exceptionsOnXA = null; if (conn_.isClosed()) { ...
public Xid[] recover(int flag) throws XAException { int rc = XAResource.XA_OK; NetAgent netAgent = conn_.netAgent_; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "recover", flag); } exceptionsOnXA = null; if (conn_.isPhysicallyClos...
1,104,921
public void rollback(Xid xid) throws XAException { NetAgent netAgent = conn_.netAgent_; int rc = XAResource.XA_OK; exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "rollback", xid); } if (conn_.isClosed()) { ...
public void rollback(Xid xid) throws XAException { NetAgent netAgent = conn_.netAgent_; int rc = XAResource.XA_OK; exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "rollback", xid); } if (conn_.isPhysicallyClose...
1,104,922
public synchronized void start(Xid xid, int flags) throws XAException { NetAgent netAgent = conn_.netAgent_; int rc = XAResource.XA_OK; exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "start", xid, flags); } if...
public synchronized void start(Xid xid, int flags) throws XAException { NetAgent netAgent = conn_.netAgent_; int rc = XAResource.XA_OK; exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "start", xid, flags); } if...
1,104,924
public synchronized void start(Xid xid, int flags) throws XAException { NetAgent netAgent = conn_.netAgent_; int rc = XAResource.XA_OK; exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "start", xid, flags); } if...
public synchronized void start(Xid xid, int flags) throws XAException { NetAgent netAgent = conn_.netAgent_; int rc = XAResource.XA_OK; exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "start", xid, flags); } if...
1,104,925
public NetXACallInfo(Xid xid, int flags, int state, NetXAResource xares, NetXAConnection actualConn) { xid_ = xid; xaFlags_ = flags; xaState_ = state; xaInProgress_ = false; currConnection_ = false; freeEntry_ = true; actualConn_ = actualConn;...
public NetXACallInfo(Xid xid, int flags, int state, NetXAResource xares, NetXAConnection actualConn) { xid_ = xid; xaFlags_ = flags; xaState_ = state; xaInProgress_ = false; currConnection_ = false; freeEntry_ = true; actualConn_ = actualConn;...
1,104,926
public NetXACallInfo(Xid xid, int flags, int state, NetXAResource xares, NetXAConnection actualConn) { xid_ = xid; xaFlags_ = flags; xaState_ = state; xaInProgress_ = false; currConnection_ = false; freeEntry_ = true; actualConn_ = actualConn;...
public NetXACallInfo(Xid xid, int flags, int state, NetXAResource xares, NetXAConnection actualConn) { xid_ = xid; xaFlags_ = flags; xaState_ = state; xaInProgress_ = false; currConnection_ = false; freeEntry_ = true; convReleased_ = false; ac...
1,104,927
public NetXACallInfo(Xid xid, int flags, int state, NetXAResource xares, NetXAConnection actualConn) { xid_ = xid; xaFlags_ = flags; xaState_ = state; xaInProgress_ = false; currConnection_ = false; freeEntry_ = true; actualConn_ = actualConn;...
public NetXACallInfo(Xid xid, int flags, int state, NetXAResource xares, NetXAConnection actualConn) { xid_ = xid; xaFlags_ = flags; xaState_ = state; xaInProgress_ = false; currConnection_ = false; freeEntry_ = true; actualConn_ = actualConn;...
1,104,928
public static void main (String [] args) { //this part needs to be removed while migrating //this test to junit EmbeddedDataSource40 ds = new EmbeddedDataSource40 (); ds.setDatabaseName ("embedquerydb"); ds.setCreateDatabase ("create"); doTest (ds); ClientDataSource...
public static void main (String [] args) { //this part needs to be removed while migrating //this test to junit EmbeddedDataSource40 ds = new EmbeddedDataSource40 (); ds.setDatabaseName ("embedquerydb"); ds.setCreateDatabase ("create"); doTest (ds); ClientDataSource...
1,104,929
public static void main (String [] args) { //this part needs to be removed while migrating //this test to junit EmbeddedDataSource40 ds = new EmbeddedDataSource40 (); ds.setDatabaseName ("embedquerydb"); ds.setCreateDatabase ("create"); doTest (ds); ClientDataSource...
public static void main (String [] args) { //this part needs to be removed while migrating //this test to junit EmbeddedDataSource40 ds = new EmbeddedDataSource40 (); ds.setDatabaseName ("embedquerydb"); ds.setCreateDatabase ("create"); doTest (ds); ClientDataSource...
1,104,930
public static void SQLCAMESSAGE(int sqlcode, short errmcLen, String sqlerrmc, String sqlerrp, int errd0, int errd1, int errd2, int errd3, int errd4, int errd5, String warn, String sqlState, String file, String localeStr, String[] msg, int[] rc) { int numMessages = 1; byte[] b = {2...
public static void SQLCAMESSAGE(int sqlcode, short errmcLen, String sqlerrmc, String sqlerrp, int errd0, int errd1, int errd2, int errd3, int errd4, int errd5, String warn, String sqlState, String file, String localeStr, String[] msg, int[] rc) { int numMessages = 1; char[] b = {(...
1,104,931
public FileIterator(Project project, Iterator fileSetIterator, boolean iterateDirectories) { this.project = project; this.fileSetIterator = fileSetIterator; this.iterateDirectories = iterateDirectories; }
public FileIterator(Project project, Iterator fileSetIterator, boolean iterateDirectories) { this.project = project; this.fileSetIterator = fileSetIterator; this.iterateDirectories = iterateDirectories; }
1,104,932
void parseRdbAccessFailed(NetConnection netConnection) throws DisconnectException { parseRDBAFLRM(); // an SQLCARD is returned if an RDBALFRM is returned. // this SQLCARD always follows the RDBALFRM. // TYPDEFNAM and TYPDEFOVR are MTLINC if (peekCodePoint() == CodePoint.TYPDEFNAM)...
void parseRdbAccessFailed(NetConnection netConnection) throws DisconnectException { parseRDBAFLRM(); // an SQLCARD is returned if an RDBALFRM is returned. // this SQLCARD always follows the RDBALFRM. // TYPDEFNAM and TYPDEFOVR are MTLINC if (peekCodePoint() == CodePoint.TYPDEFNAM)...
1,104,933
public void setDatabaseEncrypted() { // nothing to do for a read-only database. }
public void setDatabaseEncrypted(boolean flushLog) { // nothing to do for a read-only database. }
1,104,934
abstract void testList(Connection conn) throws SQLException;
abstract public void testList(Connection conn) throws SQLException;
1,104,935
public void setNCharacterStream(int index, Reader value, long length) throws SQLException{ throw Util.notImplemented(); }
public void setNCharacterStream(int parameterIndex, Reader value) throws SQLException { throw Util.notImplemented(); }
1,104,936
public void setNClob(int index, NClob value) throws SQLException{ throw Util.notImplemented(); }
public void setNClob(int parameterIndex, Reader reader) throws SQLException { throw Util.notImplemented(); }
1,104,937
private void beginDss (boolean dssHasSameCorrelator, boolean chainedToNextStructure, boolean nextHasSameCorrelator, int dssType, int corrId, boolean simpleFinalizeBuildingNextDss) { if (doesRequestContainData()) { if (simpleDssFinalize) { finalizeDssLength(); } ...
private void beginDss (boolean dssHasSameCorrelator, boolean chainedToNextStructure, boolean nextHasSameCorrelator, int dssType, int corrId, boolean simpleFinalizeBuildingNextDss) { if (doesRequestContainData()) { if (simpleDssFinalize) { finalizeDssLength(); } ...
1,104,942
private void beginDss (boolean dssHasSameCorrelator, boolean chainedToNextStructure, boolean nextHasSameCorrelator, int dssType, int corrId, boolean simpleFinalizeBuildingNextDss) { if (doesRequestContainData()) { if (simpleDssFinalize) { finalizeDssLength(); } ...
private void beginDss (boolean dssHasSameCorrelator, boolean chainedToNextStructure, boolean nextHasSameCorrelator, int dssType, int corrId, boolean simpleFinalizeBuildingNextDss) { if (doesRequestContainData()) { if (simpleDssFinalize) { finalizeDssLength(); } ...
1,104,943
private void beginDss (boolean dssHasSameCorrelator, boolean chainedToNextStructure, boolean nextHasSameCorrelator, int dssType, int corrId, boolean simpleFinalizeBuildingNextDss) { if (doesRequestContainData()) { if (simpleDssFinalize) { finalizeDssLength(); } ...
private void beginDss (boolean dssHasSameCorrelator, boolean chainedToNextStructure, boolean nextHasSameCorrelator, int dssType, int corrId, boolean simpleFinalizeBuildingNextDss) { if (doesRequestContainData()) { if (simpleDssFinalize) { finalizeDssLength(); } ...
1,104,944
private void beginDss (boolean dssHasSameCorrelator, boolean chainedToNextStructure, boolean nextHasSameCorrelator, int dssType, int corrId, boolean simpleFinalizeBuildingNextDss) { if (doesRequestContainData()) { if (simpleDssFinalize) { finalizeDssLength(); } ...
private void beginDss (boolean dssHasSameCorrelator, boolean chainedToNextStructure, boolean nextHasSameCorrelator, int dssType, int corrId, boolean simpleFinalizeBuildingNextDss) { if (doesRequestContainData()) { if (simpleDssFinalize) { finalizeDssLength(); } ...
1,104,945
protected void createDssObject(boolean reuseCorrID) { // finish off previous DSS - objects are always part of a previous // DSS reply - so correlation id should be the same if (offset != 0) finalizePreviousChainedDss (reuseCorrID); beginDss(DssConstants.DSSFMT_OBJDSS, (reuseCorrID ? correlationID : nextCor...
protected void createDssObject() { // finish off previous DSS - objects are always part of a previous // DSS reply - so correlation id should be the same if (offset != 0) finalizePreviousChainedDss (reuseCorrID); beginDss(DssConstants.DSSFMT_OBJDSS, (reuseCorrID ? correlationID : nextCorrelationID++)); si...
1,104,947
protected void createDssObject(boolean reuseCorrID) { // finish off previous DSS - objects are always part of a previous // DSS reply - so correlation id should be the same if (offset != 0) finalizePreviousChainedDss (reuseCorrID); beginDss(DssConstants.DSSFMT_OBJDSS, (reuseCorrID ? correlationID : nextCor...
protected void createDssObject(boolean reuseCorrID) { // finish off previous DSS - objects are always part of a previous // DSS reply - so correlation id should be the same if (offset != 0) finalizePreviousChainedDss (reuseCorrID); beginDss(DssConstants.DSSFMT_OBJDSS, (reuseCorrID ? correlationID : nextCor...
1,104,948
protected void createDssReply() { // finish off previous DSS if (offset != 0) finalizePreviousChainedDss(false); beginDss(DssConstants.DSSFMT_RPYDSS, nextCorrelationID++); simpleDssFinalize = false; }
protected void createDssReply() { // finish off previous DSS if (offset != 0) finalizePreviousChainedDss(false); beginDss(DssConstants.DSSFMT_RPYDSS, nextCorrelationID++); simpleDssFinalize = false; }
1,104,949
protected void createDssRequest(int corrID) { // finish off previous DSS if (offset != 0) finalizePreviousChainedDss((correlationID == corrID)); beginDss(DssConstants.DSSFMT_RQSDSS, corrID); simpleDssFinalize = false; }
protected void createDssRequest() { // finish off previous DSS if (offset != 0) finalizePreviousChainedDss((correlationID == corrID)); beginDss(DssConstants.DSSFMT_RQSDSS, corrID); simpleDssFinalize = false; }
1,104,950
protected void createDssRequest(int corrID) { // finish off previous DSS if (offset != 0) finalizePreviousChainedDss((correlationID == corrID)); beginDss(DssConstants.DSSFMT_RQSDSS, corrID); simpleDssFinalize = false; }
protected void createDssRequest(int corrID) { // finish off previous DSS if (offset != 0) finalizePreviousChainedDss((correlationID == corrID)); beginDss(DssConstants.DSSFMT_RQSDSS, corrID); simpleDssFinalize = false; }
1,104,951
protected void endDss () { int val = offset - dssLengthLocation; bytes[dssLengthLocation] = (byte) ((val >>> 8) & 0xff); bytes[dssLengthLocation + 1] = (byte) (val & 0xff); }
protected void endDss(byte chainByte) { int val = offset - dssLengthLocation; bytes[dssLengthLocation] = (byte) ((val >>> 8) & 0xff); bytes[dssLengthLocation + 1] = (byte) (val & 0xff); }
1,104,952
protected void endDss () { int val = offset - dssLengthLocation; bytes[dssLengthLocation] = (byte) ((val >>> 8) & 0xff); bytes[dssLengthLocation + 1] = (byte) (val & 0xff); }
protected void endDss () { int val = offset - dssLengthLocation; bytes[dssLengthLocation] = (byte) ((val >>> 8) & 0xff); bytes[dssLengthLocation + 1] = (byte) (val & 0xff); }
1,104,953
protected void flush () throws java.io.IOException { OutputStream socketOutputStream = agent.getOutputStream(); try { if (isDRDAProtocol) { finalizeDssLength(); } socketOutputStream.write (bytes, 0, offset); socketOutputStream.flush(); } finally { if ((dssTrace != null) && dssTrace.isComBufferTraceO...
protected void flush () throws java.io.IOException { OutputStream socketOutputStream = agent.getOutputStream(); try { if (isDRDAProtocol) { finalizeDssLength(); } socketOutputStream.write (bytes, 0, offset); socketOutputStream.flush(); } finally { if ((dssTrace != null) && dssTrace.isComBufferTraceO...
1,104,954
protected int flushScalarStreamSegment (int leftToRead, int bytesToRead) throws DRDAProtocolException { int newBytesToRead = bytesToRead; // either at end of data, end of dss segment, or both. if (leftToRead != 0) { // 32k segment filled and not at end of data. if ((Math.min (2 + leftToRead, 32...
protected int flushScalarStreamSegment (int leftToRead, int bytesToRead) throws DRDAProtocolException { int newBytesToRead = bytesToRead; // either at end of data, end of dss segment, or both. if (leftToRead != 0) { // 32k segment filled and not at end of data. if ((Math.min (2 + leftToRead, 32...
1,104,955
protected int flushScalarStreamSegment (int leftToRead, int bytesToRead) throws DRDAProtocolException { int newBytesToRead = bytesToRead; // either at end of data, end of dss segment, or both. if (leftToRead != 0) { // 32k segment filled and not at end of data. if ((Math.min (2 + leftToRead, 32...
protected int flushScalarStreamSegment (int leftToRead, int bytesToRead) throws DRDAProtocolException { int newBytesToRead = bytesToRead; // either at end of data, end of dss segment, or both. if (leftToRead != 0) { // 32k segment filled and not at end of data. if ((Math.min (2 + leftToRead, 32...
1,104,956
protected int flushScalarStreamSegment (int leftToRead, int bytesToRead) throws DRDAProtocolException { int newBytesToRead = bytesToRead; // either at end of data, end of dss segment, or both. if (leftToRead != 0) { // 32k segment filled and not at end of data. if ((Math.min (2 + leftToRead, 32...
protected int flushScalarStreamSegment (int leftToRead, int bytesToRead) throws DRDAProtocolException { int newBytesToRead = bytesToRead; // either at end of data, end of dss segment, or both. if (leftToRead != 0) { // 32k segment filled and not at end of data. if ((Math.min (2 + leftToRead, 32...
1,104,957
protected int prepScalarStream (boolean chained, boolean chainedWithSameCorrelator, int codePoint, boolean writeNullByte, int leftToRead) throws DRDAProtocolException { int exte...
protected int prepScalarStream (boolean chained, boolean chainedWithSameCorrelator, int codePoint, boolean writeNullByte, int leftToRead) throws DRDAProtocolException { int exte...
1,104,958
protected int prepScalarStream (boolean chained, boolean chainedWithSameCorrelator, int codePoint, boolean writeNullByte, int leftToRead) throws DRDAProtocolException { int exte...
protected int prepScalarStream (boolean chained, boolean chainedWithSameCorrelator, int codePoint, boolean writeNullByte, int leftToRead) throws DRDAProtocolException { int exte...
1,104,959
protected int prepScalarStream (boolean chained, boolean chainedWithSameCorrelator, int codePoint, boolean writeNullByte, int leftToRead) throws DRDAProtocolException { int exte...
protected int prepScalarStream (boolean chained, boolean chainedWithSameCorrelator, int codePoint, boolean writeNullByte, int leftToRead) throws DRDAProtocolException { int exte...
1,104,960
protected int writeScalarStream (boolean chained, boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte) throws DRDAProtocolException { int leftToRead = length; int bytesToRead = prepScalarStream (chained, ...
protected int writeScalarStream (boolean chained, boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte) throws DRDAProtocolException { int leftToRead = length; int bytesToRead = prepScalarStream (chained, ...
1,104,962
protected int writeScalarStream (boolean chained, boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte) throws DRDAProtocolException { int leftToRead = length; int bytesToRead = prepScalarStream (chained, ...
protected int writeScalarStream (boolean chained, boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte) throws DRDAProtocolException { int leftToRead = length; int bytesToRead = prepScalarStream (chained, ...
1,104,963
void updateDataSourceValues(Properties prop) { if (prop == null) { return; } if (prop.containsKey(Attribute.USERNAME_ATTR)) { setUser(getUser(prop)); } if (prop.containsKey(Attribute.CLIENT_SECURITY_MECHANISM)) { setSecurityMechanism(getSec...
void updateDataSourceValues(Properties prop) { if (prop == null) { return; } if (prop.containsKey(Attribute.USERNAME_ATTR)) { setUser(getUser(prop)); } if (prop.containsKey(Attribute.CLIENT_SECURITY_MECHANISM)) { setSecurityMechanism(getSec...
1,104,964
ResultSet execute(Activation activation, boolean executeQuery, boolean executeUpdate, boolean rollbackParentContext, long timeoutMillis) throws StandardException;
ResultSet execute(Activation activation, boolean executeQuery, boolean executeUpdate, boolean rollbackParentContext, long timeoutMillis) throws StandardException;
1,104,965
private void parseSQLDTA_work(DRDAStatement stmt) throws DRDAProtocolException,SQLException { PreparedStatement ps = stmt.getPreparedStatement(); final boolean haveParams = (stmt.getNumParams() > 0); reader.markCollection(); int codePoint = reader.getCodePoint(); while (codePoint != -1) { ...
private void parseSQLDTA_work(DRDAStatement stmt) throws DRDAProtocolException,SQLException { PreparedStatement ps = stmt.getPreparedStatement(); int codePoint; EmbedParameterSetMetaData pmeta = null; Vector paramDrdaTypes = new Vector(); Vector paramLens = new Vector(); ArrayList paramExtPositions = null; int...
1,104,966
private void parseSQLDTA_work(DRDAStatement stmt) throws DRDAProtocolException,SQLException { PreparedStatement ps = stmt.getPreparedStatement(); final boolean haveParams = (stmt.getNumParams() > 0); reader.markCollection(); int codePoint = reader.getCodePoint(); while (codePoint != -1) { ...
private void parseSQLDTA_work(DRDAStatement stmt) throws DRDAProtocolException,SQLException { PreparedStatement ps = stmt.getPreparedStatement(); final boolean haveParams = (stmt.getNumParams() > 0); reader.markCollection(); codePoint = reader.getCodePoint(); while (codePoint != -1) { sw...
1,104,967
private void parseSQLDTA_work(DRDAStatement stmt) throws DRDAProtocolException,SQLException { PreparedStatement ps = stmt.getPreparedStatement(); final boolean haveParams = (stmt.getNumParams() > 0); reader.markCollection(); int codePoint = reader.getCodePoint(); while (codePoint != -1) { ...
private void parseSQLDTA_work(DRDAStatement stmt) throws DRDAProtocolException,SQLException { PreparedStatement ps = stmt.getPreparedStatement(); final boolean haveParams = (stmt.getNumParams() > 0); reader.markCollection(); int codePoint = reader.getCodePoint(); while (codePoint != -1) { ...
1,104,968
private void parseSQLDTA_work(DRDAStatement stmt) throws DRDAProtocolException,SQLException { PreparedStatement ps = stmt.getPreparedStatement(); final boolean haveParams = (stmt.getNumParams() > 0); reader.markCollection(); int codePoint = reader.getCodePoint(); while (codePoint != -1) { ...
private void parseSQLDTA_work(DRDAStatement stmt) throws DRDAProtocolException,SQLException { PreparedStatement ps = stmt.getPreparedStatement(); final boolean haveParams = (stmt.getNumParams() > 0); reader.markCollection(); int codePoint = reader.getCodePoint(); while (codePoint != -1) { ...
1,104,969
private void parseSQLDTA_work(DRDAStatement stmt) throws DRDAProtocolException,SQLException { PreparedStatement ps = stmt.getPreparedStatement(); final boolean haveParams = (stmt.getNumParams() > 0); reader.markCollection(); int codePoint = reader.getCodePoint(); while (codePoint != -1) { ...
private void parseSQLDTA_work(DRDAStatement stmt) throws DRDAProtocolException,SQLException { PreparedStatement ps = stmt.getPreparedStatement(); final boolean haveParams = (stmt.getNumParams() > 0); reader.markCollection(); int codePoint = reader.getCodePoint(); while (codePoint != -1) { ...
1,104,970
private void parseSQLDTA_work(DRDAStatement stmt) throws DRDAProtocolException,SQLException { PreparedStatement ps = stmt.getPreparedStatement(); final boolean haveParams = (stmt.getNumParams() > 0); reader.markCollection(); int codePoint = reader.getCodePoint(); while (codePoint != -1) { ...
private void parseSQLDTA_work(DRDAStatement stmt) throws DRDAProtocolException,SQLException { PreparedStatement ps = stmt.getPreparedStatement(); final boolean haveParams = (stmt.getNumParams() > 0); reader.markCollection(); int codePoint = reader.getCodePoint(); while (codePoint != -1) { ...
1,104,971
private void parseSQLDTA_work(DRDAStatement stmt) throws DRDAProtocolException,SQLException { PreparedStatement ps = stmt.getPreparedStatement(); final boolean haveParams = (stmt.getNumParams() > 0); reader.markCollection(); int codePoint = reader.getCodePoint(); while (codePoint != -1) { ...
private void parseSQLDTA_work(DRDAStatement stmt) throws DRDAProtocolException,SQLException { PreparedStatement ps = stmt.getPreparedStatement(); final boolean haveParams = (stmt.getNumParams() > 0); reader.markCollection(); int codePoint = reader.getCodePoint(); while (codePoint != -1) { ...
1,104,972
private void parseSQLDTA_work(DRDAStatement stmt) throws DRDAProtocolException,SQLException { PreparedStatement ps = stmt.getPreparedStatement(); final boolean haveParams = (stmt.getNumParams() > 0); reader.markCollection(); int codePoint = reader.getCodePoint(); while (codePoint != -1) { ...
private void parseSQLDTA_work(DRDAStatement stmt) throws DRDAProtocolException,SQLException { PreparedStatement ps = stmt.getPreparedStatement(); final boolean haveParams = (stmt.getNumParams() > 0); reader.markCollection(); int codePoint = reader.getCodePoint(); while (codePoint != -1) { ...
1,104,973
private void parseSQLDTA_work(DRDAStatement stmt) throws DRDAProtocolException,SQLException { PreparedStatement ps = stmt.getPreparedStatement(); final boolean haveParams = (stmt.getNumParams() > 0); reader.markCollection(); int codePoint = reader.getCodePoint(); while (codePoint != -1) { ...
private void parseSQLDTA_work(DRDAStatement stmt) throws DRDAProtocolException,SQLException { PreparedStatement ps = stmt.getPreparedStatement(); final boolean haveParams = (stmt.getNumParams() > 0); reader.markCollection(); int codePoint = reader.getCodePoint(); while (codePoint != -1) { ...
1,104,974
private void parseSQLDTA_work(DRDAStatement stmt) throws DRDAProtocolException,SQLException { PreparedStatement ps = stmt.getPreparedStatement(); final boolean haveParams = (stmt.getNumParams() > 0); reader.markCollection(); int codePoint = reader.getCodePoint(); while (codePoint != -1) { ...
private void parseSQLDTA_work(DRDAStatement stmt) throws DRDAProtocolException,SQLException { PreparedStatement ps = stmt.getPreparedStatement(); final boolean haveParams = (stmt.getNumParams() > 0); reader.markCollection(); int codePoint = reader.getCodePoint(); while (codePoint != -1) { ...
1,104,975
private void readAndSetAllExtParams(DRDAStatement stmt) throws SQLException, DRDAProtocolException { int extCount = 0; final int end = stmt.getNumParams(); for (int i = 0; i < end; i++) { final DRDAStatement.CliParam cp = stmt.getCliParam(i); if (cp.isExt == false) continue...
private void readAndSetAllExtParams(DRDAStatement stmt) throws SQLException, DRDAProtocolException { int extCount = 0; final int end = stmt.getNumParams(); for (int i = 0; i < end; i++) { final DRDAStatement.CliParam cp = stmt.getCliParam(i); if (cp.isExt == false) continue...
1,104,976
private void readAndSetParams(int i, DRDAStatement stmt, DRDAStatement.CliParam cp, EmbedParameterSetMetaData pmeta) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); // mask out null indicator ...
private void readAndSetParams(int i, DRDAStatement stmt, DRDAStatement.CliParam cp, EmbedParameterSetMetaData pmeta) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); // mask out null indicator ...
1,104,977
private void readAndSetParams(int i, DRDAStatement stmt, DRDAStatement.CliParam cp, EmbedParameterSetMetaData pmeta) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); // mask out null indicator ...
private void readAndSetParams(int i, DRDAStatement stmt, DRDAStatement.CliParam cp, EmbedParameterSetMetaData pmeta) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); // mask out null indicator ...
1,104,978
private void readAndSetParams(int i, DRDAStatement stmt, DRDAStatement.CliParam cp, EmbedParameterSetMetaData pmeta) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); // mask out null indicator ...
private void readAndSetParams(int i, DRDAStatement stmt, DRDAStatement.CliParam cp, EmbedParameterSetMetaData pmeta) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); // mask out null indicator ...
1,104,979
private void readAndSetParams(int i, DRDAStatement stmt, DRDAStatement.CliParam cp, EmbedParameterSetMetaData pmeta) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); // mask out null indicator ...
private void readAndSetParams(int i, DRDAStatement stmt, DRDAStatement.CliParam cp, EmbedParameterSetMetaData pmeta) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); // mask out null indicator ...
1,104,980
private void readAndSetParams(int i, DRDAStatement stmt, DRDAStatement.CliParam cp, EmbedParameterSetMetaData pmeta) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); // mask out null indicator ...
private void readAndSetParams(int i, DRDAStatement stmt, DRDAStatement.CliParam cp, EmbedParameterSetMetaData pmeta) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); // mask out null indicator ...
1,104,981
private ResultSet executeQueryX(String sql) throws SqlException { flowExecute(executeQueryMethod__, sql); checkExecuteQueryPostConditions("java.sql.Statement"); return resultSet_; }
private ResultSet executeQueryX(String sql) throws SqlException { flowExecute(executeQueryMethod__, sql); return resultSet_; }
1,104,984
private int executeUpdateX(String sql) throws SqlException { flowExecute(executeUpdateMethod__, sql); checkExecuteUpdatePostConditions("java.sql.Statement"); return updateCount_; }
private int executeUpdateX(String sql) throws SqlException { flowExecute(executeUpdateMethod__, sql); return updateCount_; }
1,104,985
public void backup(String backupDir) throws StandardException { if (backupDir == null || backupDir.equals("")) { throw StandardException.newException( SQLState.RAWSTORE_CANNOT_CREATE_BACKUP_DIRECTORY, (File)null); } // in case this is an URL form String backupDirURL = null; try { U...
public void backup(String backupDir) throws StandardException { if (backupDir == null || backupDir.equals("")) { throw StandardException.newException( SQLState.RAWSTORE_CANNOT_CREATE_BACKUP_DIRECTORY, (File)null); } // in case this is an URL form String backupDirURL = null; try { U...
1,104,987
public QueryTreeNode bind( HashMap dependencies ) throws StandardException { Provider dependencyProvider = null; SchemaDescriptor sd = null; switch( objectType) { case TABLE_PRIVILEGES: TableName tableName = (TableName) objectOfPrivilege; sd = getSchemaD...
public QueryTreeNode bind( HashMap dependencies ) throws StandardException { Provider dependencyProvider = null; SchemaDescriptor sd = null; switch( objectType) { case TABLE_PRIVILEGES: TableName tableName = (TableName) objectOfPrivilege; sd = getSchemaD...
1,104,988
private boolean relativeX(int rows) throws SqlException { checkForClosedResultSet(); checkThatResultSetTypeIsScrollable(); clearWarningsX(); wasNull_ = ResultSet.WAS_NULL_UNSET; // discard all previous updates when moving the cursor. resetUpdatedColumns(); // this me...
private boolean relativeX(int rows) throws SqlException { checkForClosedResultSet(); checkThatResultSetTypeIsScrollable(); clearWarningsX(); wasNull_ = ResultSet.WAS_NULL_UNSET; // discard all previous updates when moving the cursor. resetUpdatedColumns(); // this me...
1,104,989
private boolean relativeX(int rows) throws SqlException { checkForClosedResultSet(); checkThatResultSetTypeIsScrollable(); clearWarningsX(); wasNull_ = ResultSet.WAS_NULL_UNSET; // discard all previous updates when moving the cursor. resetUpdatedColumns(); // this me...
private boolean relativeX(int rows) throws SqlException { checkForClosedResultSet(); checkThatResultSetTypeIsScrollable(); clearWarningsX(); wasNull_ = ResultSet.WAS_NULL_UNSET; // discard all previous updates when moving the cursor. resetUpdatedColumns(); // this me...
1,104,990
static Vector getSecurityProps(Vector D) throws ClassNotFoundException, IOException { if (D == null) D = new Vector(); String userDir = System.getProperty("user.dir"); String policyFile = System.getProperty("serverPolicyFile"); if (policyFile == null) { File userDirHandle = new File(userDir); CopySuppFi...
static Vector getSecurityProps(Vector D) throws ClassNotFoundException, IOException { if (D == null) D = new Vector(); String userDir = System.getProperty("user.dir"); String policyFile = System.getProperty("serverPolicyFile"); if (policyFile == null) { File userDirHandle = new File(userDir); CopySuppFi...
1,104,992
static Vector getSecurityProps(Vector D) throws ClassNotFoundException, IOException { if (D == null) D = new Vector(); String userDir = System.getProperty("user.dir"); String policyFile = System.getProperty("serverPolicyFile"); if (policyFile == null) { File userDirHandle = new File(userDir); CopySuppFi...
static Vector getSecurityProps(Vector D) throws ClassNotFoundException, IOException { if (D == null) D = new Vector(); String userDir = System.getProperty("user.dir"); String policyFile = System.getProperty("serverPolicyFile"); if (policyFile == null) { File userDirHandle = new File(userDir); CopySuppFi...
1,104,993
static Vector getSecurityProps(Vector D) throws ClassNotFoundException, IOException { if (D == null) D = new Vector(); String userDir = System.getProperty("user.dir"); String policyFile = System.getProperty("serverPolicyFile"); if (policyFile == null) { File userDirHandle = new File(userDir); CopySuppFi...
static Vector getSecurityProps(Vector D) throws ClassNotFoundException, IOException { if (D == null) D = new Vector(); String userDir = System.getProperty("user.dir"); String policyFile = System.getProperty("serverPolicyFile"); if (policyFile == null) { File userDirHandle = new File(userDir); CopySuppFi...
1,104,994
public java.io.InputStream getAsciiStream(int column) throws SqlException { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getAsciiStream", column); } checkGetterPreconditions(column); java.io.InputStream result = null; if (wasNonNullSensitiveUpdate(...
public java.io.InputStream getAsciiStream(int column) throws SqlException { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getAsciiStream", column); } checkGetterPreconditions(column); java.io.InputStream result = null; if (wasNonNullSensitiveUpdate(...
1,104,995
public void setValue(Object theValue) throws StandardException { rawData = null; if ((theValue instanceof BigDecimal) || (theValue == null)) { setCoreValue((BigDecimal)theValue); } else if (theValue instanceof Number) { value = new BigDecimal(((Number)theValue).doubleValue()); } else { genericSetObje...
public void setValue(Object theValue) throws StandardException { rawData = null; if ((theValue instanceof BigDecimal) || (theValue == null)) { setCoreValue((BigDecimal)theValue); } else if (theValue instanceof Number) { value = new BigDecimal(Double.toString(((Number)theValue).doubleValue())); } else {...
1,104,996
public void close() throws IOException { synchronized (lock) { closeIn(); parent = null; noMoreReads = true; } }
public void close() { synchronized (lock) { closeIn(); parent = null; noMoreReads = true; } }
1,104,997
private void closeIn() throws IOException { if (in != null) { try { if(in instanceof Resetable){ ((Resetable) in).resetStream(); }else{ in.close(); } } catch (StandardException e) { e.printStackTrace(); throw new IOException(e.getMessage()); } finally...
private void closeIn() { if (in != null) { try { if(in instanceof Resetable){ ((Resetable) in).resetStream(); }else{ in.close(); } } catch (StandardException e) { e.printStackTrace(); throw new IOException(e.getMessage()); } finally { in = null; ...
1,104,998
private void closeIn() throws IOException { if (in != null) { try { if(in instanceof Resetable){ ((Resetable) in).resetStream(); }else{ in.close(); } } catch (StandardException e) { e.printStackTrace(); throw new IOException(e.getMessage()); } finally...
private void closeIn() throws IOException { if (in != null) { try { if(in instanceof Resetable){ ((Resetable) in).resetStream(); }else{ in.close(); } } catch (StandardException e) { e.printStackTrace(); throw new IOException(e.getMessage()); } finally...
1,104,999
private void closeIn() throws IOException { if (in != null) { try { if(in instanceof Resetable){ ((Resetable) in).resetStream(); }else{ in.close(); } } catch (StandardException e) { e.printStackTrace(); throw new IOException(e.getMessage()); } finally...
private void closeIn() throws IOException { if (in != null) { try { if(in instanceof Resetable){ ((Resetable) in).resetStream(); }else{ in.close(); } } catch (StandardException e) { e.printStackTrace(); throw new IOException(e.getMessage()); } finally...
1,105,000
private IOException utfFormatException(String s) throws IOException { noMoreReads = true; closeIn(); return new UTFDataFormatException(s); }
private IOException utfFormatException(String s) { noMoreReads = true; closeIn(); return new UTFDataFormatException(s); }
1,105,001
public void compatible(ValueNode leftOperand) throws StandardException { int size = size(); TypeId leftType; ValueNode valueNode; TypeCompiler leftTC; leftType = leftOperand.getTypeId(); leftTC = leftOperand.getTypeCompiler(); for (int index = 0; index < size; index++) { valueNode = (ValueNode) elementAt...
public void compatible(ValueNode leftOperand) throws StandardException { int size = size(); TypeId leftType; ValueNode valueNode; TypeCompiler leftTC; leftType = leftOperand.getTypeId(); leftTC = leftOperand.getTypeCompiler(); for (int index = 0; index < size; index++) { valueNode = (ValueNode) elementAt...
1,105,005
public boolean containsAllParameterNodes() { int size = size(); for (int index = 0; index < size; index++) { if (! (((ValueNode) elementAt(index)).isParameterNode())) { return false; } } return true; }
public boolean containsAllParameterNodes() { int size = size(); for (int index = 0; index < size; index++) { if (! (((ValueNode) elementAt(index)).requiresTypeFromContext())) { return false; } } return true; }
1,105,006
public boolean containsParameterNode() { int size = size(); for (int index = 0; index < size; index++) { if (((ValueNode) elementAt(index)).isParameterNode()) { return true; } } return false; }
public boolean containsParameterNode() { int size = size(); for (int index = 0; index < size; index++) { if (((ValueNode) elementAt(index)).requiresTypeFromContext()) { return true; } } return false; }
1,105,007
public DataTypeDescriptor getDominantTypeServices() throws StandardException { DataTypeDescriptor dominantDTS = null; for (int index = 0; index < size(); index++) { ValueNode valueNode; valueNode = (ValueNode) elementAt(index); if (valueNode.isParameterNode()) continue; DataTypeDescriptor valueNodeDTS ...
public DataTypeDescriptor getDominantTypeServices() throws StandardException { DataTypeDescriptor dominantDTS = null; for (int index = 0; index < size(); index++) { ValueNode valueNode; valueNode = (ValueNode) elementAt(index); if (valueNode.requiresTypeFromContext()) continue; DataTypeDescriptor value...
1,105,008
public void setParameterDescriptor(DataTypeDescriptor descriptor) throws StandardException { int size = size(); ValueNode valueNode; for (int index = 0; index < size; index++) { valueNode = (ValueNode) elementAt(index); if (valueNode.isParameterNode()) { ((ParameterNode) valueNode).setDescriptor(desc...
public void setParameterDescriptor(DataTypeDescriptor descriptor) throws StandardException { int size = size(); ValueNode valueNode; for (int index = 0; index < size; index++) { valueNode = (ValueNode) elementAt(index); if (valueNode.requiresTypeFromContext()) { ((ParameterNode) valueNode).setDescrip...
1,105,010
public void setParameterDescriptor(DataTypeDescriptor descriptor) throws StandardException { int size = size(); ValueNode valueNode; for (int index = 0; index < size; index++) { valueNode = (ValueNode) elementAt(index); if (valueNode.isParameterNode()) { ((ParameterNode) valueNode).setDescriptor(desc...
public void setParameterDescriptor(DataTypeDescriptor descriptor) throws StandardException { int size = size(); ValueNode valueNode; for (int index = 0; index < size; index++) { valueNode = (ValueNode) elementAt(index); if (valueNode.isParameterNode()) { valueNode.setType(descriptor); } } }
1,105,011
public boolean willAutoCommitGenerateFlow() { // this logic must be in sync with writeCommit() logic if (!autoCommit_) { return false; } if (!isXAConnection_) { return true; } boolean doCommit = false; int xaState = getXAState(); if ((xaS...
public boolean willAutoCommitGenerateFlow() { // this logic must be in sync with writeCommit() logic if (!autoCommit_) { return false; } if (!isXAConnection_) { return true; } boolean doCommit = false; int xaState = getXAState(); if ((xaS...
1,105,012
public void commit(Xid xid, boolean onePhase) throws XAException { NetAgent netAgent = conn_.netAgent_; int rc = XAResource.XA_OK; exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "commit", xid, onePhase); } ...
public void commit(Xid xid, boolean onePhase) throws XAException { NetAgent netAgent = conn_.netAgent_; int rc = XAResource.XA_OK; exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "commit", xid, onePhase); } ...
1,105,013
public void commit(Xid xid, boolean onePhase) throws XAException { NetAgent netAgent = conn_.netAgent_; int rc = XAResource.XA_OK; exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "commit", xid, onePhase); } ...
public void commit(Xid xid, boolean onePhase) throws XAException { NetAgent netAgent = conn_.netAgent_; int rc = XAResource.XA_OK; exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "commit", xid, onePhase); } ...
1,105,014