bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
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... | 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,105,015 |
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... | 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,105,016 |
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_.isPhysicalConnClosed(... | 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_.isPhysicalConnClosed(... | 1,105,017 |
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_.isPhysicalConnClosed(... | 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_.isPhysicalConnClosed(... | 1,105,018 |
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,105,019 |
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,105,020 |
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_.isPhysicalConnCl... | 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_.isPhysicalConnCl... | 1,105,021 |
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_.isPhysicalConnCl... | 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_.isPhysicalConnCl... | 1,105,022 |
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_.isPhysicalConnClo... | 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_.isPhysicalConnClo... | 1,105,023 |
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_.isPhysicalConnClo... | 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_.isPhysicalConnClo... | 1,105,024 |
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,105,025 |
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,105,026 |
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,105,027 |
protected int xaRetValErrorAccumSQL(NetXACallInfo callInfo, int currentRC) { int rc; switch (callInfo.xaRetVal_) { case XARETVAL_XAOK: case XARETVAL_NODISSOCIATE: rc = XAResource.XA_OK; break; case XARETVAL_XALCSNOTSUPP: rc = XAResource.XA_OK; ... | protected int xaRetValErrorAccumSQL(NetXACallInfo callInfo, int currentRC) { int rc; switch (callInfo.xaRetVal_) { case XARETVAL_XAOK: case XARETVAL_NODISSOCIATE: rc = XAResource.XA_OK; break; case XARETVAL_XALCSNOTSUPP: rc = XAResource.XA_OK; ... | 1,105,028 |
public static void setDatabaseProperty(String key, String value) throws SQLException { LanguageConnectionContext lcc = ConnectionUtil.getCurrentLCC(); try { Authorizer a = lcc.getAuthorizer(); a.authorize(Authorizer.PROPERTY_WRITE_OP); // Get the current transaction controller TransactionController t... | public static void setDatabaseProperty(String key, String value) throws SQLException { LanguageConnectionContext lcc = ConnectionUtil.getCurrentLCC(); try { Authorizer a = lcc.getAuthorizer(); a.authorize((Activation) null, Authorizer.PROPERTY_WRITE_OP); // Get the current transaction controller Tran... | 1,105,031 |
public boolean getNextDecoratedPermutation() throws StandardException { boolean retval; Optimizable curOpt = optimizableList.getOptimizable(proposedJoinOrder[joinPosition]); double originalRowCount = 0.0; // RESOLVE: Should we step through the different join strategies here? /* Returns true until all acc... | public boolean getNextDecoratedPermutation() throws StandardException { boolean retval; Optimizable curOpt = optimizableList.getOptimizable(proposedJoinOrder[joinPosition]); double originalRowCount = 0.0; // RESOLVE: Should we step through the different join strategies here? /* Returns true until all acc... | 1,105,034 |
public boolean getNextDecoratedPermutation() throws StandardException { boolean retval; Optimizable curOpt = optimizableList.getOptimizable(proposedJoinOrder[joinPosition]); double originalRowCount = 0.0; // RESOLVE: Should we step through the different join strategies here? /* Returns true until all acc... | public boolean getNextDecoratedPermutation() throws StandardException { boolean retval; Optimizable curOpt = optimizableList.getOptimizable(proposedJoinOrder[joinPosition]); double originalRowCount = 0.0; // RESOLVE: Should we step through the different join strategies here? /* Returns true until all acc... | 1,105,035 |
public MergeJoinResultSet(NoPutResultSet leftResultSet, int leftNumCols, NoPutResultSet rightResultSet, int rightNumCols, Activation activation, GeneratedMethod leftGreaterThanRight, GeneratedMethod restriction, int resultSetNumber, boo... | public MergeJoinResultSet(NoPutResultSet leftResultSet, int leftNumCols, NoPutResultSet rightResultSet, int rightNumCols, Activation activation, GeneratedMethod leftGreaterThanRight, GeneratedMethod restriction, int resultSetNumber, boo... | 1,105,036 |
public String getParameterClassName(int param) throws SQLException { if (escapedProcedureCallWithResult_) { param--; if (param == 0) { return "java.lang.Integer"; } } return columnMetaData_.getColumnClassName(param); } | public String getParameterClassName(int param) throws SQLException { if (escapedProcedureCallWithResult_) { param--; if (param == 0) { return "java.lang.Integer"; } } return columnMetaData_.getColumnClassName(param); } | 1,105,037 |
public int getParameterCount() throws SQLException { if (escapedProcedureCallWithResult_) { return columnMetaData_.columns_++; } return columnMetaData_.columns_; } | public int getParameterCount() throws SQLException { if (escapedProcedureCallWithResult_) { return columnMetaData_.columns_++; } return columnMetaData_.columns_; } | 1,105,038 |
public int getParameterMode(int param) throws SQLException { try { if (escapedProcedureCallWithResult_) { param--; if (param == 0) { return java.sql.ParameterMetaData.parameterModeOut; } } columnMetaData_.... | public int getParameterMode(int param) throws SQLException { try { if (escapedProcedureCallWithResult_) { param--; if (param == 0) { return java.sql.ParameterMetaData.parameterModeOut; } } columnMetaData_.... | 1,105,039 |
public int getParameterType(int param) throws SQLException { if (escapedProcedureCallWithResult_) { param--; if (param == 0) { return java.sql.Types.INTEGER; } } return columnMetaData_.getColumnType(param); } | public int getParameterType(int param) throws SQLException { if (escapedProcedureCallWithResult_) { param--; if (param == 0) { return java.sql.Types.INTEGER; } } return columnMetaData_.getColumnType(param); } | 1,105,040 |
public String getParameterTypeName(int param) throws SQLException { if (escapedProcedureCallWithResult_) { param--; if (param == 0) { return "INTEGER"; } } return columnMetaData_.getColumnTypeName(param); } | public String getParameterTypeName(int param) throws SQLException { if (escapedProcedureCallWithResult_) { param--; if (param == 0) { return "INTEGER"; } } return columnMetaData_.getColumnTypeName(param); } | 1,105,041 |
public int getPrecision(int param) throws SQLException { if (escapedProcedureCallWithResult_) { param--; if (param == 0) { return 10; } } return columnMetaData_.getPrecision(param); } | public int getPrecision(int param) throws SQLException { if (escapedProcedureCallWithResult_) { param--; if (param == 0) { return 10; } } return columnMetaData_.getPrecision(param); } | 1,105,042 |
public int getScale(int param) throws SQLException { if (escapedProcedureCallWithResult_) { param--; if (param == 0) { return 0; } } return columnMetaData_.getScale(param); } | public int getScale(int param) throws SQLException { if (escapedProcedureCallWithResult_) { param--; if (param == 0) { return 0; } } return columnMetaData_.getScale(param); } | 1,105,043 |
public int isNullable(int param) throws SQLException { if (escapedProcedureCallWithResult_) { param--; if (param == 0) { return java.sql.ResultSetMetaData.columnNoNulls; } } return columnMetaData_.isNullable(param); } | public int isNullable(int param) throws SQLException { if (escapedProcedureCallWithResult_) { param--; if (param == 0) { return java.sql.ResultSetMetaData.columnNoNulls; } } return columnMetaData_.isNullable(param); } | 1,105,044 |
public boolean isSigned(int param) throws SQLException { if (escapedProcedureCallWithResult_) { param--; if (param == 0) { return true; } } return columnMetaData_.isSigned(param); } | public boolean isSigned(int param) throws SQLException { if (escapedProcedureCallWithResult_) { param--; if (param == 0) { return true; } } return columnMetaData_.isSigned(param); } | 1,105,045 |
public GenericParameter getClone(GenericParameterValueSet pvs) { GenericParameter gpClone = new GenericParameter(pvs, isReturnOutputParameter); gpClone.setStorableDataValue(this.getValue().getClone(), jdbcTypeId, declaredClassName); gpClone.isSet = true; return gpClone; } | public GenericParameter getClone(GenericParameterValueSet pvs) { GenericParameter gpClone = new GenericParameter(pvs, isReturnOutputParameter); gpClone.initialize(this.getValue().getClone(), jdbcTypeId, declaredClassName); gpClone.isSet = true; return gpClone; } | 1,105,046 |
public ClientXADataSource() { this.setResultSetHoldability(CLOSE_CURSORS_AT_COMMIT); } | public ClientXADataSource() { } | 1,105,047 |
protected boolean executeStatement(Activation a, boolean executeQuery, boolean executeUpdate) throws SQLException { // we don't differentiate the update from the resultset case. // so, there could be a result set. // note: the statement interface will paste together // an ac... | protected boolean executeStatement(Activation a, boolean executeQuery, boolean executeUpdate) throws SQLException { // we don't differentiate the update from the resultset case. // so, there could be a result set. // note: the statement interface will paste together // an ac... | 1,105,048 |
public Object getNewInstance() { switch (fmtId) { /* DependableFinders */ case StoredFormatIds.ALIAS_DESCRIPTOR_FINDER_V01_ID: case StoredFormatIds.CONGLOMERATE_DESCRIPTOR_FINDER_V01_ID: case StoredFormatIds.CONSTRAINT_DESCRIPTOR_FINDER_V01_ID: case StoredFormatIds.DEFAULT_DESCRIPTOR_FINDER_V01_ID: ca... | public Object getNewInstance() { switch (fmtId) { /* DependableFinders */ case StoredFormatIds.ALIAS_DESCRIPTOR_FINDER_V01_ID: case StoredFormatIds.CONGLOMERATE_DESCRIPTOR_FINDER_V01_ID: case StoredFormatIds.CONSTRAINT_DESCRIPTOR_FINDER_V01_ID: case StoredFormatIds.DEFAULT_DESCRIPTOR_FINDER_V01_ID: ca... | 1,105,049 |
protected int getNumRsCols() { int[] rsDrdaTypes = currentDrdaRs.getRsDRDATypes(); if (rsDrdaTypes != null) return rsDrdaTypes.length; else return 0; } | protected int getNumRsCols() { int[] rsDrdaTypes = getRsDRDATypes(); if (rsDrdaTypes != null) return rsDrdaTypes.length; else return 0; } | 1,105,050 |
public String getResultSetCursorName(int rsNum) throws SQLException { ResultSet rs = getResultSet(rsNum); return rs.getCursorName(); } | public String getResultSetCursorName(int rsNum) throws SQLException { ResultSet rs = getResultSet(rsNum); return rs.getCursorName(); } | 1,105,051 |
public ResultSet executeQuery() throws SQLException { throw new SQLException("executeQuery"); } | public ResultSet executeQuery(String sql) throws SQLException { throw new SQLException("executeQuery"); } | 1,105,052 |
private static void createKeysFrom (ResultSet rs) throws SQLException { boolean firstTime = true; while (rs.next()) { if (!rs.getBoolean(7)) // this row is NOT for a constraint, so skip it. continue; String tableId = rs.getString(3); String tableName = dblook.lookupTableId(tableId); if (dblook.isExclud... | private static void createKeysFrom (ResultSet rs) throws SQLException { boolean firstTime = true; while (rs.next()) { if (!rs.getBoolean(7)) // this row is NOT for a constraint, so skip it. continue; String tableId = rs.getString(3); String tableName = dblook.lookupTableId(tableId); if (dblook.isExclud... | 1,105,053 |
private static void createKeysFrom (ResultSet rs) throws SQLException { boolean firstTime = true; while (rs.next()) { if (!rs.getBoolean(7)) // this row is NOT for a constraint, so skip it. continue; String tableId = rs.getString(3); String tableName = dblook.lookupTableId(tableId); if (dblook.isExclud... | private static void createKeysFrom (ResultSet rs) throws SQLException { boolean firstTime = true; while (rs.next()) { if (!rs.getBoolean(7)) // this row is NOT for a constraint, so skip it. continue; String tableId = rs.getString(3); String tableName = dblook.lookupTableId(tableId); if (dblook.isExclud... | 1,105,054 |
private static void printHeader() { if (printedHeader) return; Logs.reportString("----------------------------------------------"); Logs.reportMessage("CSLOOK_Header", "keys"); Logs.reportString("----------------------------------------------\n"); printedHeader = true; } | private static void printHeader() { if (printedHeader) return; Logs.reportString("----------------------------------------------"); Logs.reportMessage("CSLOOK_KeysHeader"); Logs.reportString("----------------------------------------------\n"); printedHeader = true; } | 1,105,055 |
private SqlCode(int code) { code_ = code; } | public SqlCode(int code) { code_ = code; } | 1,105,056 |
final java.sql.Date date_valueOf(String s) throws java.lang.IllegalArgumentException { String formatError = "JDBC Date format must be yyyy-mm-dd"; if (s == null) { throw new java.lang.IllegalArgumentException(formatError); } int year = 1000 * getDigit(s, 0); year += 100... | final java.sql.Date date_valueOf(String s) throws java.lang.IllegalArgumentException { String formatError = "JDBC Date format must be yyyy-mm-dd"; if (s == null) { throw new java.lang.IllegalArgumentException(formatError); } int year = 1000 * getDigit(s, 0); year += 100... | 1,105,058 |
final java.sql.Time time_valueOf(String s) throws java.lang.IllegalArgumentException, NumberFormatException { String formatError = "JDBC Time format must be hh:mm:ss"; if (s == null) { throw new java.lang.IllegalArgumentException(); } int hour = 10 * getDigit(s, 0); hou... | final java.sql.Time time_valueOf(String s) throws java.lang.IllegalArgumentException, NumberFormatException { String formatError = "JDBC Time format must be hh:mm:ss"; if (s == null) { throw new java.lang.IllegalArgumentException(); } int hour = 10 * getDigit(s, 0); hou... | 1,105,059 |
final java.sql.Timestamp timestamp_valueOf(String s) throws java.lang.IllegalArgumentException, NumberFormatException { String formatError = "JDBC Timestamp format must be yyyy-mm-dd hh:mm:ss.fffffffff"; if (s == null) { throw new java.lang.IllegalArgumentException(); } int ye... | final java.sql.Timestamp timestamp_valueOf(String s) throws java.lang.IllegalArgumentException, NumberFormatException { String formatError = "JDBC Timestamp format must be yyyy-mm-dd hh:mm:ss.fffffffff"; if (s == null) { throw new java.lang.IllegalArgumentException(); } int ye... | 1,105,060 |
final void setObject(Object theValue) throws StandardException { Clob vc = (Clob) theValue; try { long vcl = vc.length(); if (vcl < 0L || vcl > Integer.MAX_VALUE) throw this.outOfRange(); setValue(new ReaderToUTF8Stream(vc.g... | final void setObject(Object theValue) throws StandardException { Clob vc = (Clob) theValue; try { long vcl = vc.length(); if (vcl < 0L || vcl > Integer.MAX_VALUE) throw this.outOfRange(); setValue(new ReaderToUTF8Stream(vc.g... | 1,105,061 |
public BigDecimal getBigDecimal() { if (isNull()) return null; return new BigDecimal(value); } | public BigDecimal getBigDecimal() { if (isNull()) return null; return new BigDecimal(Float.toString(value)); } | 1,105,063 |
public void setClientInfo(String name, String value) throws SQLException{ try { checkForClosedConnection(); } catch (SqlException se) { throw se.getSQLException(); } if (name == null && value == null) { return; } Properties p = new Properties(); p.setProperty(name, value); ... | public void setClientInfo(String name, String value) throws SQLClientInfoException{ Properties p = FailedProperties40.makeProperties(name,value); try { checkForClosedConnection(); } catch (SqlException se) { throw se.getSQLException(); } if (name == null && value == null) { return; } ... | 1,105,064 |
public void setClientInfo(String name, String value) throws SQLException{ try { checkForClosedConnection(); } catch (SqlException se) { throw se.getSQLException(); } if (name == null && value == null) { return; } Properties p = new Properties(); p.setProperty(name, value); ... | public void setClientInfo(String name, String value) throws SQLException{ try { checkForClosedConnection(); } catch (SqlException se) { throw new SQLClientInfoException (se.getMessage(), se.getSQLState(), new FailedProperties40(p).getProperties()); } if (name == null && value == null) { return;... | 1,105,065 |
public void setClientInfo(String name, String value) throws SQLException{ try { checkForClosedConnection(); } catch (SqlException se) { throw se.getSQLException(); } if (name == null && value == null) { return; } Properties p = new Properties(); p.setProperty(name, value); ... | public void setClientInfo(String name, String value) throws SQLException{ try { checkForClosedConnection(); } catch (SqlException se) { throw se.getSQLException(); } if (name == null && value == null) { return; } Properties p = new Properties(); p.setProperty(name, value); ... | 1,105,066 |
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... | 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,105,067 |
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... | 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,105,068 |
public Reader getCharacterStream(int parameterIndex) throws SQLException { throw Util.notImplemented(); } | public Reader getCharacterStream(String parameterName) throws SQLException { throw Util.notImplemented(); } | 1,105,069 |
private void addNewColumnsForAggregation() throws StandardException { /* ** Now we have two new nodes, the sort and a new PR above ** it. They all map to the child result set. Now we must ** find every aggregate and massage the tree. For now we ** will examine every result column of the original select ** li... | private void addNewColumnsForAggregation() throws StandardException { /* ** Now we have two new nodes, the sort and a new PR above ** it. They all map to the child result set. Now we must ** find every aggregate and massage the tree. For now we ** will examine every result column of the original select ** li... | 1,105,070 |
private void addNewColumnsForAggregation() throws StandardException { /* ** Now we have two new nodes, the sort and a new PR above ** it. They all map to the child result set. Now we must ** find every aggregate and massage the tree. For now we ** will examine every result column of the original select ** li... | private void addNewColumnsForAggregation() throws StandardException { /* ** Now we have two new nodes, the sort and a new PR above ** it. They all map to the child result set. Now we must ** find every aggregate and massage the tree. For now we ** will examine every result column of the original select ** li... | 1,105,071 |
private void addNewColumnsForAggregation() throws StandardException { /* ** Now we have two new nodes, the sort and a new PR above ** it. They all map to the child result set. Now we must ** find every aggregate and massage the tree. For now we ** will examine every result column of the original select ** li... | private void addNewColumnsForAggregation() throws StandardException { /* ** Now we have two new nodes, the sort and a new PR above ** it. They all map to the child result set. Now we must ** find every aggregate and massage the tree. For now we ** will examine every result column of the original select ** li... | 1,105,072 |
private void addNewColumnsForAggregation() throws StandardException { /* ** Now we have two new nodes, the sort and a new PR above ** it. They all map to the child result set. Now we must ** find every aggregate and massage the tree. For now we ** will examine every result column of the original select ** li... | private void addNewColumnsForAggregation() throws StandardException { /* ** Now we have two new nodes, the sort and a new PR above ** it. They all map to the child result set. Now we must ** find every aggregate and massage the tree. For now we ** will examine every result column of the original select ** li... | 1,105,073 |
public void init( Object bottomPR, Object groupingList, Object aggregateVector, Object tableProperties) throws StandardException { super.init(bottomPR, tableProperties); /* Group by without aggregates gets xformed into distinct */ if (SanityManager.DEBUG) { SanityManager.ASSERT(((Vector) a... | public void init( Object bottomPR, Object groupingList, Object aggregateVector, Object tableProperties) throws StandardException { super.init(bottomPR, tableProperties); /* Group by without aggregates gets xformed into distinct */ if (SanityManager.DEBUG) { SanityManager.ASSERT(((Vector) a... | 1,105,074 |
public void init( Object bottomPR, Object groupingList, Object aggregateVector, Object tableProperties) throws StandardException { super.init(bottomPR, tableProperties); /* Group by without aggregates gets xformed into distinct */ if (SanityManager.DEBUG) { SanityManager.ASSERT(((Vector) a... | public void init( Object bottomPR, Object groupingList, Object aggregateVector, Object tableProperties) throws StandardException { super.init(bottomPR, tableProperties); /* Group by without aggregates gets xformed into distinct */ if (SanityManager.DEBUG) { SanityManager.ASSERT(((Vector) a... | 1,105,075 |
public void init( Object bottomPR, Object groupingList, Object aggregateVector, Object tableProperties) throws StandardException { super.init(bottomPR, tableProperties); /* Group by without aggregates gets xformed into distinct */ if (SanityManager.DEBUG) { SanityManager.ASSERT(((Vector) a... | public void init( Object bottomPR, Object groupingList, Object aggregateVector, Object tableProperties) throws StandardException { super.init(bottomPR, tableProperties); /* Group by without aggregates gets xformed into distinct */ if (SanityManager.DEBUG) { SanityManager.ASSERT(((Vector) a... | 1,105,076 |
public ResultColumnList getAllResultColumns(String allTableName) throws StandardException { ResultColumnList rcList = null; ResultColumn resultColumn; ValueNode valueNode; String columnName; if (allTableName != null && ! allTableName.equals(getExposedName())) { return null; } rcList = (ResultColumnLi... | public ResultColumnList getAllResultColumns(TableName allTableName) throws StandardException { ResultColumnList rcList = null; ResultColumn resultColumn; ValueNode valueNode; String columnName; if (allTableName != null && ! allTableName.equals(getExposedName())) { return null; } rcList = (ResultColum... | 1,105,077 |
public ResultColumnList getAllResultColumns(String allTableName) throws StandardException { ResultColumnList rcList = null; ResultColumn resultColumn; ValueNode valueNode; String columnName; if (allTableName != null && ! allTableName.equals(getExposedName())) { return null; } rcList = (ResultColumnLi... | public ResultColumnList getAllResultColumns(String allTableName) throws StandardException { ResultColumnList rcList = null; ResultColumn resultColumn; ValueNode valueNode; String columnName; if (allTableName != null && ! allTableName.equals(getExposedName())) { return null; } rcList = (ResultColumnLi... | 1,105,078 |
private void handleSQLException(LocalizedOutput out, SQLException e) throws ijFatalException { String errorCode; String sqlState = null; SQLException fatalException = null; if (Boolean.getBoolean("ij.showErrorCode")) { errorCode = langUtil.getTextMessage("IJ_Erro0", langUtil.getNumberAsString(e.getErrorCode... | private void handleSQLException(LocalizedOutput out, SQLException e) throws ijFatalException { String errorCode; String sqlState = null; SQLException fatalException = null; if (showErrorCode) { errorCode = langUtil.getTextMessage("IJ_Erro0", langUtil.getNumberAsString(e.getErrorCode())); } else { errorC... | 1,105,079 |
private void runScriptGuts() { boolean done = false; String command = null; while (!ijParser.exit && !done) { try{ ijParser.setConnection(connEnv[currCE], (numConnections > 1)); } catch(Throwable t){ //do nothing } connEnv[currCE].doPrompt(true, out); try { command = null; out.flush()... | private int runScriptGuts() { boolean done = false; String command = null; while (!ijParser.exit && !done) { try{ ijParser.setConnection(connEnv[currCE], (numConnections > 1)); } catch(Throwable t){ //do nothing } connEnv[currCE].doPrompt(true, out); try { command = null; out.flush();... | 1,105,080 |
public ResultColumnList getAllResultColumns(String allTableName) throws StandardException { ResultColumnList rcList = null; TableName exposedName; if (allTableName != null && ! allTableName.equals(getExposedName())) { return null; } /* Cache exposed name for this table. * The exposed name becomes the qua... | public ResultColumnList getAllResultColumns(TableName allTableName) throws StandardException { ResultColumnList rcList = null; TableName exposedName; if (allTableName != null && ! allTableName.equals(getExposedName())) { return null; } /* Cache exposed name for this table. * The exposed name becomes the ... | 1,105,082 |
public ResultColumnList getAllResultColumns(String allTableName) throws StandardException { ResultColumnList rcList = null; TableName exposedName; if (allTableName != null && ! allTableName.equals(getExposedName())) { return null; } /* Cache exposed name for this table. * The exposed name becomes the qua... | public ResultColumnList getAllResultColumns(String allTableName) throws StandardException { ResultColumnList rcList = null; TableName exposedName; if (allTableName != null && ! allTableName.equals(getExposedName())) { return null; } /* Cache exposed name for this table. * The exposed name becomes the qua... | 1,105,083 |
public static SQLException notImplemented() { return newEmbedSQLException(SQLState.NOT_IMPLEMENTED, new Object[] {MessageService.getTextMessage(MessageId.CONN_NO_DETAILS)}, StandardException.getSeverityFromIdentifier(SQLState.NOT_IMPLEMENTED)); } | public static SQLException notImplemented() { return newEmbedSQLException(SQLState.NOT_IMPLEMENTED, new Object[] {MessageService.getTextMessage(MessageId.CONN_NO_DETAILS)}, StandardException.getSeverityFromIdentifier(SQLState.NOT_IMPLEMENTED)); } | 1,105,084 |
private long setJar(final String jarExternalName, final InputStream contents) throws StandardException { try { return ((Long) AccessController .doPrivileged(new java.security.PrivilegedExceptionAction() { public Object run() throws StandardExcep... | private long setJar(final String jarExternalName, final InputStream contents, final boolean add, final long currentGenerationId) throws StandardException { try { return ((Long) AccessController .doPrivileged(new java.security.PrivilegedExceptionAction() { ... | 1,105,085 |
private long setJar(final String jarExternalName, final InputStream contents) throws StandardException { try { return ((Long) AccessController .doPrivileged(new java.security.PrivilegedExceptionAction() { public Object run() throws StandardExcep... | private long setJar(final String jarExternalName, final InputStream contents) throws StandardException { try { return ((Long) AccessController .doPrivileged(new java.security.PrivilegedExceptionAction() { public Object run() throws StandardExcep... | 1,105,086 |
public Object run() throws StandardException { long generatedId = fr.add(jarExternalName, contents); return new Long(generatedId); } | public Object run() throws StandardException { long generatedId = fr.add(jarExternalName, contents); return new Long(generatedId); } | 1,105,087 |
protected BasePage newPage(BaseContainerHandle userHandle, RawTransaction ntt, BaseContainerHandle allocHandle, boolean isOverflow) throws StandardException { // NOTE: we are single threaded thru this method, see MT comment boolean useNTT = (ntt != null); // if ntt is null, use user t... | protected BasePage newPage(BaseContainerHandle userHandle, RawTransaction ntt, BaseContainerHandle allocHandle, boolean isOverflow) throws StandardException { // NOTE: we are single threaded thru this method, see MT comment boolean useNTT = (ntt != null); // if ntt is null, use user t... | 1,105,088 |
public ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { testCondition = testCondition.bindExpression(fromList, subqueryList, aggregateVector); if (thisIsNullIfNode) { //for NULLIF(V1,V2), parser binds thenElseList.elementAt(0) to unty... | public ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { testCondition = testCondition.bindExpression(fromList, subqueryList, aggregateVector); if (thisIsNullIfNode) { //for NULLIF(V1,V2), parser binds thenElseList.elementAt(0) to unty... | 1,105,089 |
public ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { testCondition = testCondition.bindExpression(fromList, subqueryList, aggregateVector); if (thisIsNullIfNode) { //for NULLIF(V1,V2), parser binds thenElseList.elementAt(0) to unty... | public ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { testCondition = testCondition.bindExpression(fromList, subqueryList, aggregateVector); if (thisIsNullIfNode) { //for NULLIF(V1,V2), parser binds thenElseList.elementAt(0) to unty... | 1,105,090 |
public ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { testCondition = testCondition.bindExpression(fromList, subqueryList, aggregateVector); if (thisIsNullIfNode) { //for NULLIF(V1,V2), parser binds thenElseList.elementAt(0) to unty... | public ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { testCondition = testCondition.bindExpression(fromList, subqueryList, aggregateVector); if (thisIsNullIfNode) { //for NULLIF(V1,V2), parser binds thenElseList.elementAt(0) to unty... | 1,105,091 |
private void addDatabase(String dbname) { Database db; if (appRequester.isXARequester()) { db = new XADatabase(dbname); } else db = new Database(dbname); session.addDatabase(db); session.database = db; database = db; } | private void addDatabase(String dbname) { Database db; if (appRequester.isXARequester()) { db = new XADatabase(dbname); } else db = new Database(dbname); session.addDatabase(db); session.database = db; database = db; } | 1,105,093 |
private void addDatabase(String dbname) { Database db; if (appRequester.isXARequester()) { db = new XADatabase(dbname); } else db = new Database(dbname); session.addDatabase(db); session.database = db; database = db; } | private void addDatabase(String dbname) { Database db; if (appRequester.isXARequester()) { db = new XADatabase(dbname); } else db = new Database(dbname); session.addDatabase(db); session.database = db; database = db; } | 1,105,094 |
private void checkRequired(int codePoint) throws DRDAProtocolException { int firstMissing = 0; for (int i = 0; i < currentRequiredLength; i++) { if (required[i] != 0) { firstMissing = required[i]; break; } } if (firstMissing != 0) missingCodePoint(firstMissing); } | private void checkRequired(int codePoint) throws DRDAProtocolException { int firstMissing = 0; for (int i = 0; i < currentRequiredLength; i++) { if (required[i] != 0) { firstMissing = required[i]; break; } } if (firstMissing != 0) missingCodePoint(firstMissing); } | 1,105,095 |
private void checkRequired(int codePoint) throws DRDAProtocolException { int firstMissing = 0; for (int i = 0; i < currentRequiredLength; i++) { if (required[i] != 0) { firstMissing = required[i]; break; } } if (firstMissing != 0) missingCodePoint(firstMissing); } | private void checkRequired(int codePoint) throws DRDAProtocolException { int firstMissing = 0; for (int i = 0; i < currentRequiredLength; i++) { if (required[i] != 0) { firstMissing = required[i]; break; } } if (firstMissing != 0) missingCodePoint(firstMissing); } | 1,105,096 |
private void checkWarning(Connection conn, Statement stmt, ResultSet rs, int updateCount, boolean alwaysSend, boolean sendWarn) throws DRDAProtocolException, SQLException { // instead of writing a chain of sql warning, we send the first one, this is // jcc/db2 limitation, see beetle 4629 SQLWarning warning ... | private void checkWarning(Connection conn, Statement stmt, ResultSet rs, int updateCount, boolean alwaysSend, boolean sendWarn) throws DRDAProtocolException, SQLException { // instead of writing a chain of sql warning, we send the first one, this is // jcc/db2 limitation, see beetle 4629 SQLWarning warning ... | 1,105,097 |
private void checkWarning(Connection conn, Statement stmt, ResultSet rs, int updateCount, boolean alwaysSend, boolean sendWarn) throws DRDAProtocolException, SQLException { // instead of writing a chain of sql warning, we send the first one, this is // jcc/db2 limitation, see beetle 4629 SQLWarning warning ... | private void checkWarning(Connection conn, Statement stmt, ResultSet rs, int updateCount, boolean alwaysSend, boolean sendWarn) throws DRDAProtocolException, SQLException { // instead of writing a chain of sql warning, we send the first one, this is // jcc/db2 limitation, see beetle 4629 SQLWarning warning ... | 1,105,098 |
private void checkWarning(Connection conn, Statement stmt, ResultSet rs, int updateCount, boolean alwaysSend, boolean sendWarn) throws DRDAProtocolException, SQLException { // instead of writing a chain of sql warning, we send the first one, this is // jcc/db2 limitation, see beetle 4629 SQLWarning warning ... | private void checkWarning(Connection conn, Statement stmt, ResultSet rs, int updateCount, boolean alwaysSend, boolean sendWarn) throws DRDAProtocolException, SQLException { // instead of writing a chain of sql warning, we send the first one, this is // jcc/db2 limitation, see beetle 4629 SQLWarning warning ... | 1,105,099 |
protected void close() { synchronized (closeSync) { close = true; } } | protected void close() { synchronized (closeSync) { close = true; } } | 1,105,100 |
protected void close() { synchronized (closeSync) { close = true; } } | protected void close() { synchronized (closeSync) { close = true; | 1,105,101 |
private void closeSession() { if (session == null) return; server.removeFromSessionTable(session.connNum); try { session.close(); } catch (SQLException se) { // If something went wrong closing down the session. // Print an error to the console and close this //thread. (6013) sendUnexpectedE... | private void closeSession() { if (session == null) return; server.removeFromSessionTable(session.connNum); try { session.close(); } catch (SQLException se) { // If something went wrong closing down the session. // Print an error to the console and close this //thread. (6013) sendUnexpectedE... | 1,105,102 |
private void closeSession() { if (session == null) return; server.removeFromSessionTable(session.connNum); try { session.close(); } catch (SQLException se) { // If something went wrong closing down the session. // Print an error to the console and close this //thread. (6013) sendUnexpectedE... | private void closeSession() { if (session == null) return; server.removeFromSessionTable(session.connNum); try { session.close(); } catch (SQLException se) { // If something went wrong closing down the session. // Print an error to the console and close this //thread. (6013) sendUnexpectedE... | 1,105,103 |
private boolean closed() { synchronized (closeSync) { return close; } } | private boolean closed() { synchronized (closeSync) { return close; } } | 1,105,104 |
private boolean closed() { synchronized (closeSync) { return close; } } | private boolean closed() { synchronized (closeSync) { return close; | 1,105,105 |
private String convertToHexString(byte [] buf) { StringBuffer str = new StringBuffer(); str.append("0x"); String val; int byteVal; for (int i = 0; i < buf.length; i++) { byteVal = buf[i] & 0xff; val = Integer.toHexString(byteVal); if (val.length() < 2) str.append("0"); str.append(val); } return str... | private String convertToHexString(byte [] buf) { StringBuffer str = new StringBuffer(); str.append("0x"); String val; int byteVal; for (int i = 0; i < buf.length; i++) { byteVal = buf[i] & 0xff; val = Integer.toHexString(byteVal); if (val.length() < 2) str.append("0"); str.append(val); } return str... | 1,105,106 |
private String convertToHexString(byte [] buf) { StringBuffer str = new StringBuffer(); str.append("0x"); String val; int byteVal; for (int i = 0; i < buf.length; i++) { byteVal = buf[i] & 0xff; val = Integer.toHexString(byteVal); if (val.length() < 2) str.append("0"); str.append(val); } return str... | private String convertToHexString(byte [] buf) { StringBuffer str = new StringBuffer(); str.append("0x"); String val; int byteVal; for (int i = 0; i < buf.length; i++) { byteVal = buf[i] & 0xff; val = Integer.toHexString(byteVal); if (val.length() < 2) str.append("0"); str.append(val); } return str... | 1,105,107 |
private void doneData(DRDAStatement stmt, ResultSet rs) throws DRDAProtocolException, SQLException { if (SanityManager.DEBUG) trace("*****NO MORE DATA!!"); int blksize = stmt.getBlksize() > 0 ? stmt.getBlksize() : CodePoint.QRYBLKSZ_MAX; if (rs != null) { if (stmt.isScrollable()) { //keep isAfterLast and... | private void doneData(DRDAStatement stmt, ResultSet rs) throws DRDAProtocolException, SQLException { if (SanityManager.DEBUG) trace("*****NO MORE DATA!!"); int blksize = stmt.getBlksize() > 0 ? stmt.getBlksize() : CodePoint.QRYBLKSZ_MAX; if (rs != null) { if (stmt.isScrollable()) { //keep isAfterLast and... | 1,105,108 |
private void doneData(DRDAStatement stmt, ResultSet rs) throws DRDAProtocolException, SQLException { if (SanityManager.DEBUG) trace("*****NO MORE DATA!!"); int blksize = stmt.getBlksize() > 0 ? stmt.getBlksize() : CodePoint.QRYBLKSZ_MAX; if (rs != null) { if (stmt.isScrollable()) { //keep isAfterLast and... | private void doneData(DRDAStatement stmt, ResultSet rs) throws DRDAProtocolException, SQLException { if (SanityManager.DEBUG) trace("*****NO MORE DATA!!"); int blksize = stmt.getBlksize() > 0 ? stmt.getBlksize() : CodePoint.QRYBLKSZ_MAX; if (rs != null) { if (stmt.isScrollable()) { //keep isAfterLast and... | 1,105,109 |
private void doneData(DRDAStatement stmt, ResultSet rs) throws DRDAProtocolException, SQLException { if (SanityManager.DEBUG) trace("*****NO MORE DATA!!"); int blksize = stmt.getBlksize() > 0 ? stmt.getBlksize() : CodePoint.QRYBLKSZ_MAX; if (rs != null) { if (stmt.isScrollable()) { //keep isAfterLast and... | private void doneData(DRDAStatement stmt, ResultSet rs) throws DRDAProtocolException, SQLException { if (SanityManager.DEBUG) trace("*****NO MORE DATA!!"); int blksize = stmt.getBlksize() > 0 ? stmt.getBlksize() : CodePoint.QRYBLKSZ_MAX; if (rs != null) { if (stmt.isScrollable()) { //keep isAfterLast and... | 1,105,110 |
private void doneData(DRDAStatement stmt, ResultSet rs) throws DRDAProtocolException, SQLException { if (SanityManager.DEBUG) trace("*****NO MORE DATA!!"); int blksize = stmt.getBlksize() > 0 ? stmt.getBlksize() : CodePoint.QRYBLKSZ_MAX; if (rs != null) { if (stmt.isScrollable()) { //keep isAfterLast and... | private void doneData(DRDAStatement stmt, ResultSet rs) throws DRDAProtocolException, SQLException { if (SanityManager.DEBUG) trace("*****NO MORE DATA!!"); int blksize = stmt.getBlksize() > 0 ? stmt.getBlksize() : CodePoint.QRYBLKSZ_MAX; if (rs != null) { if (stmt.isScrollable()) { //keep isAfterLast and... | 1,105,111 |
private void errorInChain(SQLException e) throws DRDAProtocolException { if (reader.terminateChainOnErr() && (getExceptionSeverity(e) > CodePoint.SVRCOD_ERROR)) { if (SanityManager.DEBUG) trace("terminating the chain on error..."); skipRemainder(false); } } | private void errorInChain(SQLException e) throws DRDAProtocolException { if (reader.terminateChainOnErr() && (getExceptionSeverity(e) > CodePoint.SVRCOD_ERROR)) { if (SanityManager.DEBUG) trace("terminating the chain on error..."); skipRemainder(false); } } | 1,105,112 |
private void errorInChain(SQLException e) throws DRDAProtocolException { if (reader.terminateChainOnErr() && (getExceptionSeverity(e) > CodePoint.SVRCOD_ERROR)) { if (SanityManager.DEBUG) trace("terminating the chain on error..."); skipRemainder(false); } } | private void errorInChain(SQLException e) throws DRDAProtocolException { if (reader.terminateChainOnErr() && (getExceptionSeverity(e) > CodePoint.SVRCOD_ERROR)) { if (SanityManager.DEBUG) trace("terminating the chain on error..."); skipRemainder(false); | 1,105,113 |
private void exchangeServerAttributes() throws DRDAProtocolException { int codePoint; correlationID = reader.readDssHeader(); if (SanityManager.DEBUG) { if (correlationID == 0) { SanityManager.THROWASSERT( "Unexpected value for correlationId = " + correlationID); } } codePoint = reader.readLengthAnd... | private void exchangeServerAttributes() throws DRDAProtocolException { int codePoint; correlationID = reader.readDssHeader(); if (SanityManager.DEBUG) { if (correlationID == 0) { SanityManager.THROWASSERT( "Unexpected value for correlationId = " + correlationID); } } codePoint = reader.readLengthAnd... | 1,105,114 |
private void exchangeServerAttributes() throws DRDAProtocolException { int codePoint; correlationID = reader.readDssHeader(); if (SanityManager.DEBUG) { if (correlationID == 0) { SanityManager.THROWASSERT( "Unexpected value for correlationId = " + correlationID); } } codePoint = reader.readLengthAnd... | private void exchangeServerAttributes() throws DRDAProtocolException { int codePoint; correlationID = reader.readDssHeader(); if (SanityManager.DEBUG) { if (correlationID == 0) { SanityManager.THROWASSERT( "Unexpected value for correlationId = " + correlationID); } } codePoint = reader.readLengthAnd... | 1,105,115 |
private int getConnFromDatabaseName() throws DRDAProtocolException { Properties p = new Properties(); databaseAccessException = null; //if we haven't got the correlation token yet, use session number for drdaID if (session.drdaID == null) session.drdaID = leftBrace + session.connNum + rightBrace; p.put(Attribut... | private int getConnFromDatabaseName() throws DRDAProtocolException { Properties p = new Properties(); databaseAccessException = null; //if we haven't got the correlation token yet, use session number for drdaID if (session.drdaID == null) session.drdaID = leftBrace + session.connNum + rightBrace; p.put(Attribut... | 1,105,116 |
private int getConnFromDatabaseName() throws DRDAProtocolException { Properties p = new Properties(); databaseAccessException = null; //if we haven't got the correlation token yet, use session number for drdaID if (session.drdaID == null) session.drdaID = leftBrace + session.connNum + rightBrace; p.put(Attribut... | private int getConnFromDatabaseName() throws DRDAProtocolException { Properties p = new Properties(); databaseAccessException = null; //if we haven't got the correlation token yet, use session number for drdaID if (session.drdaID == null) session.drdaID = leftBrace + session.connNum + rightBrace; p.put(Attribut... | 1,105,117 |
private int getExceptionSeverity (SQLException e) { int severity= CodePoint.SVRCOD_INFO; if (e == null) return severity; int ec = e.getErrorCode(); switch (ec) { case ExceptionSeverity.STATEMENT_SEVERITY: case ExceptionSeverity.TRANSACTION_SEVERITY: severity = CodePoint.SVRCOD_ERROR; break; case Excepti... | private int getExceptionSeverity (SQLException e) { int severity= CodePoint.SVRCOD_INFO; if (e == null) return severity; int ec = e.getErrorCode(); switch (ec) { case ExceptionSeverity.STATEMENT_SEVERITY: case ExceptionSeverity.TRANSACTION_SEVERITY: severity = CodePoint.SVRCOD_ERROR; break; case Excepti... | 1,105,118 |
private int getExceptionSeverity (SQLException e) { int severity= CodePoint.SVRCOD_INFO; if (e == null) return severity; int ec = e.getErrorCode(); switch (ec) { case ExceptionSeverity.STATEMENT_SEVERITY: case ExceptionSeverity.TRANSACTION_SEVERITY: severity = CodePoint.SVRCOD_ERROR; break; case Excepti... | private int getExceptionSeverity (SQLException e) { int severity= CodePoint.SVRCOD_INFO; if (e == null) return severity; int ec = e.getErrorCode(); switch (ec) { case ExceptionSeverity.STATEMENT_SEVERITY: case ExceptionSeverity.TRANSACTION_SEVERITY: severity = CodePoint.SVRCOD_ERROR; break; case Excepti... | 1,105,119 |
private boolean getLogConnections() { synchronized(logConnectionsSync) { return logConnections; } } | private boolean getLogConnections() { synchronized(logConnectionsSync) { return logConnections; } } | 1,105,120 |
private boolean getLogConnections() { synchronized(logConnectionsSync) { return logConnections; } } | private boolean getLogConnections() { synchronized(logConnectionsSync) { return logConnections; | 1,105,121 |
private long getTimeSlice() { synchronized(timeSliceSync) { return timeSlice; } } | private long getTimeSlice() { synchronized(timeSliceSync) { return timeSlice; } } | 1,105,122 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.