bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
private boolean exchangeServerAttributes() throws DRDAProtocolException, SQLException { int codePoint; boolean sessionOK = true; correlationID = reader.readDssHeader(); if (SanityManager.DEBUG) { if (correlationID == 0) { SanityManager.THROWASSERT( "Unexpected value for correlationId = " + c...
private boolean exchangeServerAttributes() throws DRDAProtocolException, SQLException { int codePoint; boolean sessionOK = true; correlationID = reader.readDssHeader(); if (SanityManager.DEBUG) { if (correlationID == 0) { SanityManager.THROWASSERT( "Unexpected value for correlationId = " + c...
1,103,961
private boolean exchangeServerAttributes() throws DRDAProtocolException, SQLException { int codePoint; boolean sessionOK = true; correlationID = reader.readDssHeader(); if (SanityManager.DEBUG) { if (correlationID == 0) { SanityManager.THROWASSERT( "Unexpected value for correlationId = " + c...
private boolean exchangeServerAttributes() throws DRDAProtocolException, SQLException { int codePoint; boolean sessionOK = true; correlationID = reader.readDssHeader(); if (SanityManager.DEBUG) { if (correlationID == 0) { SanityManager.THROWASSERT( "Unexpected value for correlationId = " + c...
1,103,962
private boolean exchangeServerAttributes() throws DRDAProtocolException, SQLException { int codePoint; boolean sessionOK = true; correlationID = reader.readDssHeader(); if (SanityManager.DEBUG) { if (correlationID == 0) { SanityManager.THROWASSERT( "Unexpected value for correlationId = " + c...
private boolean exchangeServerAttributes() throws DRDAProtocolException, SQLException { int codePoint; boolean sessionOK = true; correlationID = reader.readDssHeader(); if (SanityManager.DEBUG) { if (correlationID == 0) { SanityManager.THROWASSERT( "Unexpected value for correlationId = " + c...
1,103,963
private boolean exchangeServerAttributes() throws DRDAProtocolException, SQLException { int codePoint; boolean sessionOK = true; correlationID = reader.readDssHeader(); if (SanityManager.DEBUG) { if (correlationID == 0) { SanityManager.THROWASSERT( "Unexpected value for correlationId = " + c...
private boolean exchangeServerAttributes() throws DRDAProtocolException, SQLException { int codePoint; boolean sessionOK = true; correlationID = reader.readDssHeader(); if (SanityManager.DEBUG) { if (correlationID == 0) { SanityManager.THROWASSERT( "Unexpected value for correlationId = " + c...
1,103,964
private void handleException(Exception e) { String dbname = null; if (database != null) dbname = database.dbName; // protocol error - write error message and close session if (e instanceof DRDAProtocolException) { try { DRDAProtocolException de = (DRDAProtocolException) e; println2Log(dbname,session...
private void handleException(Exception e) { String dbname = null; if (database != null) dbname = database.dbName; // protocol error - write error message and close session if (e instanceof DRDAProtocolException) { try { DRDAProtocolException de = (DRDAProtocolException) e; println2Log(dbname,session...
1,103,965
private DRDAStatement parseCNTQRY() throws DRDAProtocolException, SQLException { byte val; String pkgnamcsn = null; boolean gotQryblksz = false; boolean qryrelscr = true; long qryrownbr = 1; boolean qryrfrtbl = false; int nbrrow = 1; int blksize = 0; int maxblkext = -1; long qryinsid; boolean gotQryinsid = ...
private DRDAStatement parseCNTQRY() throws DRDAProtocolException, SQLException { byte val; String pkgnamcsn = null; boolean gotQryblksz = false; boolean qryrelscr = true; long qryrownbr = 1; boolean qryrfrtbl = false; int nbrrow = 1; int blksize = 0; int maxblkext = -1; long qryinsid; boolean gotQryinsid = ...
1,103,966
private void parseEXCSQLSTT() throws DRDAProtocolException,SQLException { int codePoint; String strVal; reader.markCollection(); codePoint = reader.getCodePoint(); boolean outputExpected = false; String pkgnamcsn = null; int numRows = 1; // default value int blkSize = 0; int maxrslcnt = 0; // default value...
private void parseEXCSQLSTT() throws DRDAProtocolException,SQLException { int codePoint; String strVal; reader.markCollection(); codePoint = reader.getCodePoint(); boolean outputExpected = false; String pkgnamcsn = null; int numRows = 1; // default value int blkSize = 0; int maxrslcnt = 0; // default value...
1,103,967
private void parseEXCSQLSTT() throws DRDAProtocolException,SQLException { int codePoint; String strVal; reader.markCollection(); codePoint = reader.getCodePoint(); boolean outputExpected = false; String pkgnamcsn = null; int numRows = 1; // default value int blkSize = 0; int maxrslcnt = 0; // default value...
private void parseEXCSQLSTT() throws DRDAProtocolException,SQLException { int codePoint; String strVal; reader.markCollection(); codePoint = reader.getCodePoint(); boolean outputExpected = false; String pkgnamcsn = null; int numRows = 1; // default value int blkSize = 0; int maxrslcnt = 0; // default value...
1,103,968
private void parseEXCSQLSTT() throws DRDAProtocolException,SQLException { int codePoint; String strVal; reader.markCollection(); codePoint = reader.getCodePoint(); boolean outputExpected = false; String pkgnamcsn = null; int numRows = 1; // default value int blkSize = 0; int maxrslcnt = 0; // default value...
private void parseEXCSQLSTT() throws DRDAProtocolException,SQLException { int codePoint; String strVal; reader.markCollection(); codePoint = reader.getCodePoint(); boolean outputExpected = false; String pkgnamcsn = null; int numRows = 1; // default value int blkSize = 0; int maxrslcnt = 0; // default value...
1,103,969
private void parseSQLDTA(DRDAStatement stmt) throws DRDAProtocolException,SQLException { try { parseSQLDTA_work(stmt); } catch (SQLException se) { reader.skipDss(); while (reader.isChainedWithSameID() || reader.isChainedWithDiffID()) { correlationID = reader.readDssHeader(); reader.skipDss();...
private void parseSQLDTA(DRDAStatement stmt) throws DRDAProtocolException,SQLException { try { parseSQLDTA_work(stmt); } catch (SQLException se) { reader.skipDss(); while (reader.isChainedWithSameID() || reader.isChainedWithDiffID()) { correlationID = reader.readDssHeader(); reader.skipDss();...
1,103,970
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { case CodePoint.CNTQRY: try{ stmt = pa...
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { case CodePoint.CNTQRY: try{ stmt = pa...
1,103,971
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { case CodePoint.CNTQRY: try{ stmt = pa...
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { case CodePoint.CNTQRY: try{ stmt = pa...
1,103,972
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { case CodePoint.CNTQRY: try{ stmt = pa...
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { case CodePoint.CNTQRY: try{ stmt = pa...
1,103,973
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { case CodePoint.CNTQRY: try{ stmt = pa...
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { case CodePoint.CNTQRY: try{ stmt = pa...
1,103,974
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { case CodePoint.CNTQRY: try{ stmt = pa...
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { case CodePoint.CNTQRY: try{ stmt = pa...
1,103,975
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { case CodePoint.CNTQRY: try{ stmt = pa...
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { case CodePoint.CNTQRY: try{ stmt = pa...
1,103,976
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { case CodePoint.CNTQRY: try{ stmt = pa...
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { case CodePoint.CNTQRY: try{ stmt = pa...
1,103,977
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { case CodePoint.CNTQRY: try{ stmt = pa...
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { case CodePoint.CNTQRY: try{ stmt = pa...
1,103,978
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { case CodePoint.CNTQRY: try{ stmt = pa...
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { case CodePoint.CNTQRY: try{ stmt = pa...
1,103,979
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { case CodePoint.CNTQRY: try{ stmt = pa...
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { case CodePoint.CNTQRY: try{ stmt = pa...
1,103,980
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { case CodePoint.CNTQRY: try{ stmt = pa...
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { case CodePoint.CNTQRY: try{ stmt = pa...
1,103,981
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { case CodePoint.CNTQRY: try{ stmt = pa...
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { case CodePoint.CNTQRY: try{ stmt = pa...
1,103,982
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { case CodePoint.CNTQRY: try{ stmt = pa...
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { case CodePoint.CNTQRY: try{ stmt = pa...
1,103,983
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { case CodePoint.CNTQRY: try{ stmt = pa...
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { case CodePoint.CNTQRY: try{ stmt = pa...
1,103,984
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { case CodePoint.CNTQRY: try{ stmt = pa...
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { case CodePoint.CNTQRY: try{ stmt = pa...
1,103,985
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { case CodePoint.CNTQRY: try{ stmt = pa...
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { case CodePoint.CNTQRY: try{ stmt = pa...
1,103,986
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { case CodePoint.CNTQRY: try{ stmt = pa...
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { case CodePoint.CNTQRY: try{ stmt = pa...
1,103,987
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { case CodePoint.CNTQRY: try{ stmt = pa...
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { case CodePoint.CNTQRY: try{ stmt = pa...
1,103,988
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { case CodePoint.CNTQRY: try{ stmt = pa...
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { case CodePoint.CNTQRY: try{ stmt = pa...
1,103,989
private void sendUnexpectedException(Exception e) { DRDAProtocolException unExpDe; String dbname = null; try { if (database != null) dbname = database.dbName; println2Log(dbname,session.drdaID, e.getMessage()); server.consoleExceptionPrintTrace(e); unExpDe = DRDAProtocolException.newAgentError(this, ...
private void sendUnexpectedException(Exception e) { DRDAProtocolException unExpDe; String dbname = null; try { if (database != null) dbname = database.dbName; println2Log(dbname,session.drdaID, e.getMessage()); server.consoleExceptionPrintTrace(e); unExpDe = DRDAProtocolException.newAgentError(this, ...
1,103,990
private void skipRemainder() throws DRDAProtocolException { reader.skipDss(); while (reader.isChainedWithSameID()) { reader.readDssHeader(); reader.skipDss(); } }
private void skipRemainder(boolean onlySkipSameIds) throws DRDAProtocolException { reader.skipDss(); while (reader.isChainedWithSameID()) { reader.readDssHeader(); reader.skipDss(); } }
1,103,991
private void skipRemainder() throws DRDAProtocolException { reader.skipDss(); while (reader.isChainedWithSameID()) { reader.readDssHeader(); reader.skipDss(); } }
private void skipRemainder() throws DRDAProtocolException { reader.skipDss(); while (reader.isChainedWithSameID() || (!onlySkipSameIds && reader.isChainedWithDiffID())) { reader.readDssHeader(); reader.skipDss(); } }
1,103,992
private void splitQRYDTA(DRDAStatement stmt, int blksize) throws SQLException, DRDAProtocolException { // make copy of extra data byte [] temp = writer.copyDataToEnd(blksize); // truncate to end of blocksize writer.setOffset(blksize); int remain = temp.length; int start = 0; int dataLen = blksize - 10; //DSS...
private void splitQRYDTA(DRDAStatement stmt, int blksize) throws SQLException, DRDAProtocolException { // make copy of extra data byte [] temp = writer.copyDataToEnd(blksize); // truncate to end of blocksize writer.setOffset(blksize); int remain = temp.length; int start = 0; int dataLen = blksize - 10; //DSS...
1,103,993
private void writeACCRDBRM(int svrcod) throws DRDAProtocolException { writer.createDssReply(); writer.startDdm(CodePoint.ACCRDBRM); writer.writeScalar2Bytes(CodePoint.SVRCOD, svrcod); writer.writeScalarString(CodePoint.PRDID, server.prdId); //TYPDEFNAM -required - JCC doesn't support QTDSQLJVM so for now we // j...
private void writeACCRDBRM(int svrcod) throws DRDAProtocolException { writer.createDssReply(); writer.startDdm(CodePoint.ACCRDBRM); writer.writeScalar2Bytes(CodePoint.SVRCOD, svrcod); writer.writeScalarString(CodePoint.PRDID, server.prdId); //TYPDEFNAM -required - JCC doesn't support QTDSQLJVM so for now we // j...
1,103,994
private void writeACCSECRD(int securityCheckCode) throws DRDAProtocolException { writer.createDssReply(); writer.startDdm(CodePoint.ACCSECRD); if (securityCheckCode != CodePoint.SECCHKCD_NOTSUPPORTED) writer.writeScalar2Bytes(CodePoint.SECMEC, database.securityMechanism); else { // these are the ones we kn...
private void writeACCSECRD(int securityCheckCode) throws DRDAProtocolException { writer.createDssReply(); writer.startDdm(CodePoint.ACCSECRD); if (securityCheckCode != CodePoint.SECCHKCD_NOTSUPPORTED) writer.writeScalar2Bytes(CodePoint.SECMEC, database.securityMechanism); else { // these are the ones we kn...
1,103,995
void writeEXTDTA (DRDAStatement stmt) throws SQLException, DRDAProtocolException { ArrayList extdtaValues = stmt.getExtDtaObjects(); // build the EXTDTA data, if necessary if (extdtaValues == null) return; boolean chainFlag, chainedWithSameCorrelator; boolean writeNullByte = false; for (int i = 0; i < extd...
void writeEXTDTA (DRDAStatement stmt) throws SQLException, DRDAProtocolException { ArrayList extdtaValues = stmt.getExtDtaObjects(); // build the EXTDTA data, if necessary if (extdtaValues == null) return; boolean chainFlag, chainedWithSameCorrelator; boolean writeNullByte = false; for (int i = 0; i < extd...
1,103,996
private void writeQRYDTA (DRDAStatement stmt) throws DRDAProtocolException, SQLException { boolean getMoreData = true; boolean sentExtData = false; int startOffset = writer.getOffset(); writer.createDssObject(); if (SanityManager.DEBUG) trace("Write QRYDTA"); writer.startDdm(CodePoint.QRYDTA); while(getM...
private void writeQRYDTA (DRDAStatement stmt) throws DRDAProtocolException, SQLException { boolean getMoreData = true; boolean sentExtData = false; int startOffset = writer.getOffset(); writer.createDssObject(); if (SanityManager.DEBUG) trace("Write QRYDTA"); writer.startDdm(CodePoint.QRYDTA); while(getM...
1,103,997
private void writeSECCHKRM(int securityCheckCode) throws DRDAProtocolException { writer.createDssReply(); writer.startDdm(CodePoint.SECCHKRM); writer.writeScalar2Bytes(CodePoint.SVRCOD, svrcodFromSecchkcd(securityCheckCode)); writer.writeScalar1Byte(CodePoint.SECCHKCD, securityCheckCode); writer.endDdmAndDss (...
private void writeSECCHKRM(int securityCheckCode) throws DRDAProtocolException { writer.createDssReply(); writer.startDdm(CodePoint.SECCHKRM); writer.writeScalar2Bytes(CodePoint.SVRCOD, svrcodFromSecchkcd(securityCheckCode)); writer.writeScalar1Byte(CodePoint.SECCHKCD, securityCheckCode); if (securityCheckCode...
1,103,998
private void writeSQLCARD(boolean reuseCorrID, SQLException e,int severity, int updateCount, long rowCount ) throws DRDAProtocolException { writer.createDssObject(reuseCorrID); writer.startDdm(CodePoint.SQLCARD); writeSQLCAGRP(e, getSqlCode(severity), updateCount, rowCount); writer.endDdmAndDss(); // If we have...
private void writeSQLCARD(SQLException e,int severity, int updateCount, long rowCount ) throws DRDAProtocolException { writer.createDssObject(reuseCorrID); writer.startDdm(CodePoint.SQLCARD); writeSQLCAGRP(e, getSqlCode(severity), updateCount, rowCount); writer.endDdmAndDss(); // If we have a shutdown exception...
1,103,999
private void writeSQLCARD(boolean reuseCorrID, SQLException e,int severity, int updateCount, long rowCount ) throws DRDAProtocolException { writer.createDssObject(reuseCorrID); writer.startDdm(CodePoint.SQLCARD); writeSQLCAGRP(e, getSqlCode(severity), updateCount, rowCount); writer.endDdmAndDss(); // If we have...
private void writeSQLCARD(boolean reuseCorrID, SQLException e,int severity, int updateCount, long rowCount ) throws DRDAProtocolException { writer.createDssObject(); writer.startDdm(CodePoint.SQLCARD); writeSQLCAGRP(e, getSqlCode(severity), updateCount, rowCount); writer.endDdmAndDss(); // If we have a shutdown...
1,104,000
private void writeSQLCARDs(SQLException e, boolean reuseCorrID, int updateCount) throws DRDAProtocolException { writeSQLCARDs(e, reuseCorrID, updateCount, false); }
private void writeSQLCARDs(SQLException e, int updateCount) throws DRDAProtocolException { writeSQLCARDs(e, reuseCorrID, updateCount, false); }
1,104,001
private void writeSQLCARDs(SQLException e, boolean reuseCorrID, int updateCount) throws DRDAProtocolException { writeSQLCARDs(e, reuseCorrID, updateCount, false); }
private void writeSQLCARDs(SQLException e, boolean reuseCorrID, int updateCount) throws DRDAProtocolException { writeSQLCARDs(e, updateCount, false); }
1,104,002
private void writeSQLDARD(DRDAStatement stmt, boolean rtnOutput, SQLException e) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); ResultSetMetaData rsmeta = ps.getMetaData(); EmbedParameterSetMetaData pmeta = ((EmbedPreparedStatement) ps).getEmbedParameterSetMetaData(...
private void writeSQLDARD(DRDAStatement stmt, boolean rtnOutput, SQLException e) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); ResultSetMetaData rsmeta = ps.getMetaData(); EmbedParameterSetMetaData pmeta = ((EmbedPreparedStatement) ps).getEmbedParameterSetMetaData(...
1,104,003
public HashTableResultSet(NoPutResultSet s, Activation a, GeneratedMethod str, Qualifier[][] nextQualifiers, GeneratedMethod p, int resultSetNumber, int mapRefItem, boolean reuseResult, int keyColItem, boolean removeDuplicates, long maxInMemoryRowCount, int initialCapacit...
HashTableResultSet(NoPutResultSet s, Activation a, GeneratedMethod str, Qualifier[][] nextQualifiers, GeneratedMethod p, int resultSetNumber, int mapRefItem, boolean reuseResult, int keyColItem, boolean removeDuplicates, long maxInMemoryRowCount, int initialCapacity, ...
1,104,004
public HashTableResultSet(NoPutResultSet s, Activation a, GeneratedMethod str, Qualifier[][] nextQualifiers, GeneratedMethod p, int resultSetNumber, int mapRefItem, boolean reuseResult, int keyColItem, boolean removeDuplicates, long maxInMemoryRowCount, int initialCapacit...
public HashTableResultSet(NoPutResultSet s, Activation a, GeneratedMethod str, Qualifier[][] nextQualifiers, GeneratedMethod p, int resultSetNumber, int mapRefItem, boolean reuseResult, int keyColItem, boolean removeDuplicates, long maxInMemoryRowCount, int initialCapacit...
1,104,005
public HashTableResultSet(NoPutResultSet s, Activation a, GeneratedMethod str, Qualifier[][] nextQualifiers, GeneratedMethod p, int resultSetNumber, int mapRefItem, boolean reuseResult, int keyColItem, boolean removeDuplicates, long maxInMemoryRowCount, int initialCapacit...
public HashTableResultSet(NoPutResultSet s, Activation a, GeneratedMethod str, Qualifier[][] nextQualifiers, GeneratedMethod p, int resultSetNumber, int mapRefItem, boolean reuseResult, int keyColItem, boolean removeDuplicates, long maxInMemoryRowCount, int initialCapacit...
1,104,006
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 (clos...
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 (clos...
1,104,007
public void convertFromAsciiToCharacterStream() throws SqlException { try { characterStream_ = new java.io.InputStreamReader(asciiStream_, "US-ASCII"); dataType_ = CHARACTER_STREAM; } catch (java.io.UnsupportedEncodingException e) { throw new SqlExce...
public void convertFromAsciiToCharacterStream() throws SqlException { try { characterStream_ = new java.io.InputStreamReader(asciiStream_, "US-ASCII"); dataType_ = CHARACTER_STREAM; } catch (java.io.UnsupportedEncodingException e) { throw new SqlExce...
1,104,008
protected Clob createClobWrapper(java.sql.Clob clob) throws SqlException { long length; java.io.Reader rdr; try { length = clob.length(); } catch (java.sql.SQLException e) { throw new SqlException(agent_.logWriter_, e.getMessage()); } if (length > java...
protected Clob createClobWrapper(java.sql.Clob clob) throws SqlException { long length; java.io.Reader rdr; try { length = clob.length(); } catch (java.sql.SQLException e) { throw new SqlException(e); } if (length > java.lang.Integer.MAX_VALUE) { ...
1,104,009
protected Clob createClobWrapper(java.sql.Clob clob) throws SqlException { long length; java.io.Reader rdr; try { length = clob.length(); } catch (java.sql.SQLException e) { throw new SqlException(agent_.logWriter_, e.getMessage()); } if (length > java...
protected Clob createClobWrapper(java.sql.Clob clob) throws SqlException { long length; java.io.Reader rdr; try { length = clob.length(); } catch (java.sql.SQLException e) { throw new SqlException(agent_.logWriter_, e.getMessage()); } if (length > java...
1,104,010
public String getSubString(long pos, int length) throws SQLException { try { synchronized (agent_.connection_) { String retVal = null; if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getSubString", (int) pos, length); ...
public String getSubString(long pos, int length) throws SQLException { try { synchronized (agent_.connection_) { String retVal = null; if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getSubString", (int) pos, length); ...
1,104,011
public int getUTF8Length() throws SqlException { if (utf8String_ != null) { return utf8String_.length; } try { utf8String_ = string_.getBytes("UTF-8"); return utf8String_.length; } catch (java.io.UnsupportedEncodingException e) { throw new SqlE...
public int getUTF8Length() throws SqlException { if (utf8String_ != null) { return utf8String_.length; } try { utf8String_ = string_.getBytes("UTF-8"); return utf8String_.length; } catch (java.io.UnsupportedEncodingException e) { throw new SqlE...
1,104,012
public long position(String searchstr, long start) throws SQLException { try { synchronized (agent_.connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "position(String, long)", ...
public long position(String searchstr, long start) throws SQLException { try { synchronized (agent_.connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "position(String, long)", ...
1,104,013
private long positionX(String searchstr, long start) throws SqlException { checkForClosedConnection(); if (start <= 0) { throw new SqlException(agent_.logWriter_, "Clob.position(): start must be >= 1."); } int index = string_.indexOf(searchstr, (int) start - 1); if (ind...
private long positionX(String searchstr, long start) throws SqlException { checkForClosedConnection(); if (start <= 0) { throw new SqlException(agent_.logWriter_, new MessageId(SQLState.INVALID_API_PARAMETER), new Long(start), "start", "Clob.position()"); } int index = string_...
1,104,014
public int setStringX(long pos, String str, int offset, int len) throws SqlException { if ((int) pos <= 0 || pos - 1 > sqlLength_) { throw new SqlException(agent_.logWriter_, "Invalid position " + pos + " , offset " + offset + " or length " + len); } if ((offset < ...
public int setStringX(long pos, String str, int offset, int len) throws SqlException { if ((int) pos <= 0 || pos - 1 > sqlLength_) { throw new SqlException(agent_.logWriter_, "Invalid position " + pos + " , offset " + offset + " or length " + len); } if ((offset < ...
1,104,015
public int setStringX(long pos, String str, int offset, int len) throws SqlException { if ((int) pos <= 0 || pos - 1 > sqlLength_) { throw new SqlException(agent_.logWriter_, "Invalid position " + pos + " , offset " + offset + " or length " + len); } if ((offset < ...
public int setStringX(long pos, String str, int offset, int len) throws SqlException { if ((int) pos <= 0 || pos - 1 > sqlLength_) { throw new SqlException(agent_.logWriter_, "Invalid position " + pos + " , offset " + offset + " or length " + len); } if ((offset < ...
1,104,016
public void truncate(long len) throws SQLException { try { synchronized (agent_.connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, " truncate", (int) len); } if (len < 0 || len > this.length()) { ...
public void truncate(long len) throws SQLException { try { synchronized (agent_.connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, " truncate", (int) len); } if (len < 0 || len > this.length()) { ...
1,104,018
StreamFileContainer( ContainerKey identity, BaseDataFileFactory dataFactory, Properties prop) throws StandardException { this.identity = identity; this.dataFactory = dataFactory; try { file = getFileName(identity, true, false); if (file.exists()) ...
StreamFileContainer( ContainerKey identity, BaseDataFileFactory dataFactory, Properties prop) throws StandardException { this.identity = identity; this.dataFactory = dataFactory; try { file = getFileName(identity, true, false); if (file.exists()) ...
1,104,020
StreamFileContainer( ContainerKey identity, BaseDataFileFactory dataFactory, Properties prop) throws StandardException { this.identity = identity; this.dataFactory = dataFactory; try { file = getFileName(identity, true, false); if (file.exists()) ...
StreamFileContainer( ContainerKey identity, BaseDataFileFactory dataFactory, Properties prop) throws StandardException { this.identity = identity; this.dataFactory = dataFactory; try { file = getFileName(identity, true, false); if (file.exists()) ...
1,104,021
protected StorageFile getFileName( ContainerKey identity, boolean forCreate, boolean errorOK) throws StandardException { if (identity.getSegmentId() == StreamContainerHandle.TEMPORARY_SEGMENT) { return( dataFactory.storageFactory.newStorageFile( dataFactory.storageFactory....
protected StorageFile getFileName( ContainerKey identity, boolean forCreate, boolean errorOK) throws StandardException { if (identity.getSegmentId() == StreamContainerHandle.TEMPORARY_SEGMENT) { return( dataFactory.storageFactory.newStorageFile( dataFactory.storageFactory....
1,104,022
protected StorageFile getFileName( ContainerKey identity, boolean forCreate, boolean errorOK) throws StandardException { if (identity.getSegmentId() == StreamContainerHandle.TEMPORARY_SEGMENT) { return( dataFactory.storageFactory.newStorageFile( dataFactory.storageFactory....
protected StorageFile getFileName( ContainerKey identity, boolean forCreate, boolean errorOK) throws StandardException { if (identity.getSegmentId() == StreamContainerHandle.TEMPORARY_SEGMENT) { return( dataFactory.storageFactory.newStorageFile( dataFactory.storageFactory....
1,104,023
protected StorageFile getFileName( ContainerKey identity, boolean forCreate, boolean errorOK) throws StandardException { if (identity.getSegmentId() == StreamContainerHandle.TEMPORARY_SEGMENT) { return( dataFactory.storageFactory.newStorageFile( dataFactory.storageFactory....
protected StorageFile getFileName( ContainerKey identity, boolean forCreate, boolean errorOK) throws StandardException { if (identity.getSegmentId() == StreamContainerHandle.TEMPORARY_SEGMENT) { return( dataFactory.storageFactory.newStorageFile( dataFactory.storageFactory....
1,104,024
public void load(RowSource rowSource) throws StandardException { // use this output stream to buffer rows before inserting into file. out = new DynamicByteArrayOutputStream(bufferSize); logicalDataOut = new FormatIdOutputStream(out); boolean encrypted = dataFactory.databaseEncryp...
public void load(RowSource rowSource) throws StandardException { // use this output stream to buffer rows before inserting into file. out = new DynamicByteArrayOutputStream(bufferSize); logicalDataOut = new FormatIdOutputStream(out); boolean encrypted = dataFactory.databaseEncryp...
1,104,025
protected StreamFileContainer open(boolean forUpdate) throws StandardException { file = getFileName(this.identity, false, true); if (!file.exists()) return null; try { if (!forUpdate) { fileIn = file.getInputStream(); if (dataFactory.databaseEncrypted()) ...
protected StreamFileContainer open(boolean forUpdate) throws StandardException { file = getFileName(this.identity, false, true); if (!privExists(file)) return null; try { if (!forUpdate) { fileIn = file.getInputStream(); if (dataFactory.databaseEncrypted()) ...
1,104,026
protected StreamFileContainer open(boolean forUpdate) throws StandardException { file = getFileName(this.identity, false, true); if (!file.exists()) return null; try { if (!forUpdate) { fileIn = file.getInputStream(); if (dataFactory.databaseEncrypted()) ...
protected StreamFileContainer open(boolean forUpdate) throws StandardException { file = getFileName(this.identity, false, true); if (!file.exists()) return null; try { if (!forUpdate) { fileIn = privGetInputStream(file); if (dataFactory.databaseEncrypted()) ...
1,104,027
public EmbedResultSet(EmbedConnection conn, ResultSet resultsToWrap, boolean forMetaData, EmbedStatement stmt, boolean isAtomic) throws SQLException { super(conn); if (SanityManager.DEBUG) SanityManager.ASSERT(resultsToWrap!=null); theResults = resultsToWrap; this.forMetaData = forMetaData; this.ap...
public EmbedResultSet(EmbedConnection conn, ResultSet resultsToWrap, boolean forMetaData, EmbedStatement stmt, boolean isAtomic) throws SQLException { super(conn); if (SanityManager.DEBUG) SanityManager.ASSERT(resultsToWrap!=null); theResults = resultsToWrap; this.forMetaData = forMetaData; this.ap...
1,104,028
public void cancelRowUpdates () throws SQLException { checksBeforeUpdateOrDelete("cancelRowUpdates", -1); checkNotOnInsertRow(); if (currentRowHasBeenUpdated == false) return; //nothing got updated on this row so cancelRowUpdates is a no-op in this case. for (int i=0; i <...
public void cancelRowUpdates () throws SQLException { checksBeforeUpdateOrDelete("cancelRowUpdates", -1); checkNotOnInsertRow(); //nothing got updated on this row so cancelRowUpdates is a no-op in this case. for (int i=0; i < columnGotUpdated.length; i++){ if ...
1,104,029
public void cancelRowUpdates () throws SQLException { checksBeforeUpdateOrDelete("cancelRowUpdates", -1); checkNotOnInsertRow(); if (currentRowHasBeenUpdated == false) return; //nothing got updated on this row so cancelRowUpdates is a no-op in this case. for (int i=0; i <...
public void cancelRowUpdates () throws SQLException { checksBeforeUpdateOrDelete("cancelRowUpdates", -1); checkNotOnInsertRow(); if (currentRowHasBeenUpdated == false) return; //nothing got updated on this row so cancelRowUpdates is a no-op in this case. for (int i=0; i <...
1,104,030
protected final DataValueDescriptor[] checkOnRow() throws SQLException { DataValueDescriptor[] theCurrentRow = rowData; if (theCurrentRow == null) throw newSQLException(SQLState.NO_CURRENT_ROW); return theCurrentRow; }
protected final DataValueDescriptor[] checkOnRow() throws SQLException { DataValueDescriptor[] theCurrentRow = rowData; if (theCurrentRow == null) throw newSQLException(SQLState.NO_CURRENT_ROW); return theCurrentRow; }
1,104,031
protected final DataValueDescriptor[] checkOnRow() throws SQLException { DataValueDescriptor[] theCurrentRow = rowData; if (theCurrentRow == null) throw newSQLException(SQLState.NO_CURRENT_ROW); return theCurrentRow; }
protected final DataValueDescriptor[] checkOnRow() throws SQLException { DataValueDescriptor[] theCurrentRow = rowData; if (theCurrentRow == null) throw newSQLException(SQLState.NO_CURRENT_ROW); } }
1,104,032
protected void checksBeforeUpdateOrDelete(String methodName, int columnIndex) throws SQLException { //1)Make sure JDBC ResultSet is not closed checkIfClosed(methodName); //2)Make sure this is an updatable ResultSet checkUpdatableCursor(methodName); //3)Make sure JDBC ResultSet is positioned on...
protected void checksBeforeUpdateOrDelete(String methodName, int columnIndex) throws SQLException { //1)Make sure JDBC ResultSet is not closed checkIfClosed(methodName); //2)Make sure this is an updatable ResultSet checkUpdatableCursor(methodName); //3)Make sure JDBC ResultSet is positioned on...
1,104,033
public void close() throws SQLException { /* if this result is already closed, don't try to close again * we may have closed it earlier because of an error and trying * to close again will cause a different problem if the connection * has been closed as in XA error handling */ if (isClosed) return; clo...
public void close() throws SQLException { /* if this result is already closed, don't try to close again * we may have closed it earlier because of an error and trying * to close again will cause a different problem if the connection * has been closed as in XA error handling */ if (isClosed) return; clo...
1,104,034
public void deleteRow() throws SQLException { synchronized (getConnectionSynchronization()) { checksBeforeUpdateOrDelete("deleteRow", -1); // Check that the cursor is not positioned on insertRow checkNotOnInsertRow(); setupContextStack(); //now c...
public void deleteRow() throws SQLException { synchronized (getConnectionSynchronization()) { checksBeforeUpdateOrDelete("deleteRow", -1); // Check that the cursor is not positioned on insertRow checkNotOnInsertRow(); setupContextStack(); //now c...
1,104,035
public Blob getBlob(int columnIndex) throws SQLException { closeCurrentStream(); // closing currentStream does not depend on the // underlying connection. Do this outside of // the connection synchronization. checkIfClosed("getBlob"); // checking result set closure does not depend // on the underlying connection....
public Blob getBlob(int columnIndex) throws SQLException { closeCurrentStream(); // closing currentStream does not depend on the // underlying connection. Do this outside of // the connection synchronization. checkIfClosed("getBlob"); // checking result set closure does not depend // on the underlying connection....
1,104,037
public final Clob getClob(int columnIndex) throws SQLException { closeCurrentStream(); // closing currentStream does not depend on the // underlying connection. Do this outside of // the connection synchronization. checkIfClosed("getClob"); // checking result set closure does not depend // on the underlying conne...
public final Clob getClob(int columnIndex) throws SQLException { closeCurrentStream(); // closing currentStream does not depend on the // underlying connection. Do this outside of // the connection synchronization. checkIfClosed("getClob"); // checking result set closure does not depend // on the underlying conne...
1,104,038
protected final DataValueDescriptor getColumn(int columnIndex) throws SQLException, StandardException { closeCurrentStream(); DataValueDescriptor[] theCurrentRow = checkOnRow(); // first make sure there's a row try { return theCurrentRow[columnIndex - 1]; } catch (ArrayIndexOutOfBoundsException aoobe...
protected final DataValueDescriptor getColumn(int columnIndex) throws SQLException, StandardException { closeCurrentStream(); DataValueDescriptor[] theCurrentRow = checkOnRow(); // first make sure there's a row try { return theCurrentRow[columnIndex - 1]; } catch (ArrayIndexOutOfBoundsException aoobe...
1,104,039
final int getColumnType(int columnIndex) throws SQLException { checkOnRow(); // first make sure there's a row if (columnIndex < 1 || columnIndex > resultDescription.getColumnCount()) throw newSQLException(SQLState.COLUMN_NOT_FOUND, new Integer(columnIndex)); return resultDescriptio...
final int getColumnType(int columnIndex) throws SQLException { if (!isOnInsertRow) checkOnRow(); // first make sure there's a row if (columnIndex < 1 || columnIndex > resultDescription.getColumnCount()) throw newSQLException(SQLState.COLUMN_NOT_FOUND, new Integer(columnIndex)); ret...
1,104,040
protected DataValueDescriptor getDVDforColumnToBeUpdated(int columnIndex, String updateMethodName) throws StandardException, SQLException { checksBeforeUpdateXXX(updateMethodName, columnIndex); if (columnGotUpdated[columnIndex-1] == false) {//this is the first updateXXX call on this column //this is t...
protected DataValueDescriptor getDVDforColumnToBeUpdated(int columnIndex, String updateMethodName) throws StandardException, SQLException { checksBeforeUpdateXXX(updateMethodName, columnIndex); if (columnGotUpdated[columnIndex-1] == false) {//this is the first updateXXX call on this column //this is t...
1,104,041
protected DataValueDescriptor getDVDforColumnToBeUpdated(int columnIndex, String updateMethodName) throws StandardException, SQLException { checksBeforeUpdateXXX(updateMethodName, columnIndex); if (columnGotUpdated[columnIndex-1] == false) {//this is the first updateXXX call on this column //this is t...
protected DataValueDescriptor getDVDforColumnToBeUpdated(int columnIndex, String updateMethodName) throws StandardException, SQLException { checksBeforeUpdateXXX(updateMethodName, columnIndex); if (columnGotUpdated[columnIndex-1] == false) {//this is the first updateXXX call on this column //this is t...
1,104,042
public void insertRow() throws SQLException { synchronized (getConnectionSynchronization()) { checksBeforeInsert(); setupContextStack(); LanguageConnectionContext lcc = null; StatementContext statementContext = null; try { /* ...
public void insertRow() throws SQLException { synchronized (getConnectionSynchronization()) { checksBeforeInsert(); setupContextStack(); LanguageConnectionContext lcc = null; StatementContext statementContext = null; try { /* ...
1,104,043
public void moveToCurrentRow() throws SQLException { checkExecIfClosed("moveToCurrentRow"); // if not updatable resultset, then throw exception checkUpdatableCursor("moveToCurrentRow"); synchronized (getConnectionSynchronization()) { try { if (isOnInsertRow) { // Get position previous to moveToInsertRow ...
public void moveToCurrentRow() throws SQLException { checkExecIfClosed("moveToCurrentRow"); // if not updatable resultset, then throw exception checkUpdatableCursor("moveToCurrentRow"); synchronized (getConnectionSynchronization()) { try { if (isOnInsertRow) { // Get position previous to moveToInsertRow ...
1,104,044
public void moveToCurrentRow() throws SQLException { checkExecIfClosed("moveToCurrentRow"); // if not updatable resultset, then throw exception checkUpdatableCursor("moveToCurrentRow"); synchronized (getConnectionSynchronization()) { try { if (isOnInsertRow) { // Get position previous to moveToInsertRow ...
public void moveToCurrentRow() throws SQLException { checkExecIfClosed("moveToCurrentRow"); // if not updatable resultset, then throw exception checkUpdatableCursor("moveToCurrentRow"); synchronized (getConnectionSynchronization()) { try { if (isOnInsertRow) { // Get position previous to moveToInsertRow ...
1,104,045
public void moveToInsertRow() throws SQLException { checkExecIfClosed("moveToInsertRow"); // if not updatable resultset, then throw exception checkUpdatableCursor("moveToInsertRow"); synchronized (getConnectionSynchronization()) { try { // initialize state corresponding to insertRow/updateRow impl. for (in...
public void moveToInsertRow() throws SQLException { checkExecIfClosed("moveToInsertRow"); // if not updatable resultset, then throw exception checkUpdatableCursor("moveToInsertRow"); synchronized (getConnectionSynchronization()) { try { // initialize state corresponding to insertRow/updateRow impl. for (in...
1,104,046
public void moveToInsertRow() throws SQLException { checkExecIfClosed("moveToInsertRow"); // if not updatable resultset, then throw exception checkUpdatableCursor("moveToInsertRow"); synchronized (getConnectionSynchronization()) { try { // initialize state corresponding to insertRow/updateRow impl. for (in...
public void moveToInsertRow() throws SQLException { checkExecIfClosed("moveToInsertRow"); // if not updatable resultset, then throw exception checkUpdatableCursor("moveToInsertRow"); synchronized (getConnectionSynchronization()) { try { // initialize state corresponding to insertRow/updateRow impl. for (in...
1,104,047
public void moveToInsertRow() throws SQLException { checkExecIfClosed("moveToInsertRow"); // if not updatable resultset, then throw exception checkUpdatableCursor("moveToInsertRow"); synchronized (getConnectionSynchronization()) { try { // initialize state corresponding to insertRow/updateRow impl. for (in...
public void moveToInsertRow() throws SQLException { checkExecIfClosed("moveToInsertRow"); // if not updatable resultset, then throw exception checkUpdatableCursor("moveToInsertRow"); synchronized (getConnectionSynchronization()) { try { // initialize state corresponding to insertRow/updateRow impl. for (in...
1,104,048
public boolean next() throws SQLException { // we seem to have some trigger paths which don't have // statement initialized, may not need this check in those cases if (maxRows !=0 ) { NumberofFetchedRows++; // check whether we hit the maxRows limit ...
public boolean next() throws SQLException { // we seem to have some trigger paths which don't have // statement initialized, may not need this check in those cases if (maxRows !=0 ) { NumberofFetchedRows++; // check whether we hit the maxRows limit ...
1,104,049
public void updateObject(int columnIndex, Object x, int scale) throws SQLException { updateObject(columnIndex, x); /* * If the parameter type is DECIMAL or NUMERIC, then * we need to set them to the passed scale. */ int colType = getColumnType(columnIndex); if ((colType == Types.DECIMAL) || (colType == Types....
public void updateObject(int columnIndex, Object x, int scale) throws SQLException { updateObject(columnIndex, x); /* * If the parameter type is DECIMAL or NUMERIC, then * we need to set them to the passed scale. */ int colType = getColumnType(columnIndex); if ((colType == Types.DECIMAL) || (colType == Types....
1,104,050
public void updateRow() throws SQLException { synchronized (getConnectionSynchronization()) { checksBeforeUpdateOrDelete("updateRow", -1); // Check that the cursor is not positioned on insertRow checkNotOnInsertRow(); setupContextStack(); LanguageConnectionContex...
public void updateRow() throws SQLException { synchronized (getConnectionSynchronization()) { checksBeforeUpdateOrDelete("updateRow", -1); // Check that the cursor is not positioned on insertRow checkNotOnInsertRow(); setupContextStack(); LanguageConnectionContex...
1,104,051
public void updateRow() throws SQLException { synchronized (getConnectionSynchronization()) { checksBeforeUpdateOrDelete("updateRow", -1); // Check that the cursor is not positioned on insertRow checkNotOnInsertRow(); setupContextStack(); LanguageConnectionContex...
public void updateRow() throws SQLException { synchronized (getConnectionSynchronization()) { checksBeforeUpdateOrDelete("updateRow", -1); // Check that the cursor is not positioned on insertRow checkNotOnInsertRow(); setupContextStack(); LanguageConnectionContex...
1,104,052
public static SQLException newEmbedSQLException(String messageId, Object[] args, int severity) { return newEmbedSQLException(messageId, args, (SQLException) null, severity, (Throwable) null); }
public static SQLException newEmbedSQLException(String messageId, Object[] args, int severity) { return newEmbedSQLException(messageId, args, (SQLException) null, severity, (Throwable) null); }
1,104,054
public int maxCapacity() { if (SanityManager.DEBUG) { SanityManager.THROWASSERT("Not expected to be called"); } return 0; }
public int maxCapacity( JoinStrategy joinStrategy, int maxMemoryPerTable) throws StandardException { if (SanityManager.DEBUG) { SanityManager.THROWASSERT("Not expected to be called"); } return 0; }
1,104,055
public int maxCapacity() { if (SanityManager.DEBUG) { SanityManager.THROWASSERT("Not expected to be called"); } return 0; }
public int maxCapacity() { if (SanityManager.DEBUG) { SanityManager.THROWASSERT("Not expected to be called"); } return 0; }
1,104,056
private SQLException jdbc3MethodNotSupported() { // This will get internationalized in another patch return new SqlException(agent_.logWriter_, "JDBC 3 method called - not yet supported").getSQLException(); }
private SQLException jdbc3MethodNotSupported() { // This will get internationalized in another patch return new SqlException(agent_.logWriter_, "JDBC 3 method called - not yet supported").getSQLException(); }
1,104,057
static void initClientMessageIds() { // Add message ids that don't start with XJ here clientMessageIds.add(SQLState.NO_CURRENT_CONNECTION); clientMessageIds.add(SQLState.NOT_IMPLEMENTED); clientMessageIds.add(SQLState.CANNOT_CLOSE_ACTIVE_XA_CONNECTION); clientMessageIds.add(SQL...
static void initClientMessageIds() { // Add message ids that don't start with XJ here clientMessageIds.add(SQLState.NO_CURRENT_CONNECTION); clientMessageIds.add(SQLState.NOT_IMPLEMENTED); clientMessageIds.add(SQLState.CANNOT_CLOSE_ACTIVE_CONNECTION); clientMessageIds.add(SQLSta...
1,104,058
public DefaultInfoImpl(boolean isDefaultValueAutoinc, String defaultText, DataValueDescriptor defaultValue) { this.type = calcType(isDefaultValueAutoinc); this.defaultText = defaultText; this.defaultValue = defaultValue; }
public DefaultInfoImpl(boolean isDefaultValueAutoinc, String defaultText, DataValueDescriptor defaultValue) { this.type = calcType(isDefaultValueAutoinc); this.defaultText = defaultText; this.defaultValue = defaultValue; }
1,104,059
public void testCreateArrayNotImplemented() throws SQLException { try { con.createArray(null, null); fail("createArray(String,Object[]) should not be implemented"); } catch (SQLFeatureNotSupportedException sfnse) { // Do nothing, we are fine } }
public void testCreateArrayNotImplemented() throws SQLException { try { con.createArray(null, null); fail("createArray(String,Object[]) should not be implemented"); } catch (SQLFeatureNotSupportedException sfnse) { // Do nothing, we are fine } }
1,104,060
public void testSetClientInfoProperties() throws SQLException { con.setClientInfo(null); Properties p = new Properties(); con.setClientInfo(p); p.setProperty("prop1", "val1"); p.setProperty("prop2", "val2"); try { con.setClientInfo(p); fail("set...
public void testSetClientInfoProperties() throws SQLException { con.setClientInfo(null); Properties p = new Properties(); con.setClientInfo(p); p.setProperty("prop1", "val1"); p.setProperty("prop2", "val2"); try { con.setClientInfo(p); fail("set...
1,104,061
public void testSetClientInfoProperties() throws SQLException { con.setClientInfo(null); Properties p = new Properties(); con.setClientInfo(p); p.setProperty("prop1", "val1"); p.setProperty("prop2", "val2"); try { con.setClientInfo(p); fail("set...
public void testSetClientInfoProperties() throws SQLException { con.setClientInfo(null); Properties p = new Properties(); con.setClientInfo(p); p.setProperty("prop1", "val1"); p.setProperty("prop2", "val2"); try { con.setClientInfo(p); fail("set...
1,104,062
public void testSetClientInfoString() throws SQLException { con.setClientInfo(null, null); try { con.setClientInfo("foo", null); fail("setClientInfo(String, null) should throw "+ "NullPointerException"); } catch (NullPointerException npe) {} t...
public void testSetClientInfoString() throws SQLException { con.setClientInfo(null, null); try { con.setClientInfo("foo", null); fail("setClientInfo(String, null) should throw "+ "NullPointerException"); } catch (NullPointerException npe) {} t...
1,104,063
public void testSetClientInfoString() throws SQLException { con.setClientInfo(null, null); try { con.setClientInfo("foo", null); fail("setClientInfo(String, null) should throw "+ "NullPointerException"); } catch (NullPointerException npe) {} t...
public void testSetClientInfoString() throws SQLException { con.setClientInfo(null, null); try { con.setClientInfo("foo", null); fail("setClientInfo(String, null) should throw "+ "NullPointerException"); } catch (NullPointerException npe) {} t...
1,104,064