bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public void setCharacterStream(int parameterIndex, Reader x) throws SQLException { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setCharacterStream", parameterIndex, x); } try {... | public void setCharacterStream(int parameterIndex, Reader x) throws SQLException { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setCharacterStream", parameterIndex, x); } try {... | 1,103,488 |
void setClobX(int parameterIndex, java.sql.Clob x) throws SqlException { parameterIndex = checkForEscapedCallWithResult(parameterIndex); parameterMetaData_.clientParamtertype_[parameterIndex - 1] = java.sql.Types.CLOB; if (x == null) { this.setNullX(parameterIndex, Types.CLOB); ... | void setClobX(int parameterIndex, java.sql.Clob x) throws SqlException { parameterMetaData_.clientParamtertype_[parameterIndex - 1] = java.sql.Types.CLOB; if (x == null) { this.setNullX(parameterIndex, Types.CLOB); return; } setInput(parameterIndex, x); } | 1,103,489 |
public void setDate(int parameterIndex, java.sql.Date x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setDate", parameterIndex, x); } ... | public void setDate(int parameterIndex, java.sql.Date x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setDate", parameterIndex, x); } ... | 1,103,490 |
public void setDate(int parameterIndex, java.sql.Date x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setDate", parameterIndex, x); } ... | public void setDate(int parameterIndex, java.sql.Date x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setDate", parameterIndex, x); } ... | 1,103,491 |
public void setDouble(int parameterIndex, double x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setDouble", parameterIndex, x); } f... | public void setDouble(int parameterIndex, double x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setDouble", parameterIndex, x); } f... | 1,103,492 |
public void setDouble(int parameterIndex, double x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setDouble", parameterIndex, x); } f... | public void setDouble(int parameterIndex, double x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setDouble", parameterIndex, x); } f... | 1,103,493 |
public void setFloat(int parameterIndex, float x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setFloat", parameterIndex, x); } fina... | public void setFloat(int parameterIndex, float x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setFloat", parameterIndex, x); } fina... | 1,103,494 |
public void setFloat(int parameterIndex, float x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setFloat", parameterIndex, x); } fina... | public void setFloat(int parameterIndex, float x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setFloat", parameterIndex, x); } fina... | 1,103,495 |
public void setInt(int parameterIndex, int x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setInt", parameterIndex, x); } final int ... | public void setInt(int parameterIndex, int x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setInt", parameterIndex, x); } final int ... | 1,103,496 |
void setIntX(int parameterIndex, int x) throws SqlException { parameterIndex = checkForEscapedCallWithResult(parameterIndex); parameterMetaData_.clientParamtertype_[parameterIndex - 1] = java.sql.Types.INTEGER; setInput(parameterIndex, new Integer(x)); } | void setIntX(int parameterIndex, int x) throws SqlException { parameterMetaData_.clientParamtertype_[parameterIndex - 1] = java.sql.Types.INTEGER; setInput(parameterIndex, new Integer(x)); } | 1,103,497 |
public void setLong(int parameterIndex, long x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setLong", parameterIndex, x); } final i... | public void setLong(int parameterIndex, long x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setLong", parameterIndex, x); } final i... | 1,103,498 |
public void setLong(int parameterIndex, long x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setLong", parameterIndex, x); } final i... | public void setLong(int parameterIndex, long x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setLong", parameterIndex, x); } final i... | 1,103,499 |
public void setNull(int parameterIndex, int jdbcType) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setNull", parameterIndex, jdbcType); } checkForCl... | public void setNull(int parameterIndex, int jdbcType) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setNull", parameterIndex, jdbcType); } checkForCl... | 1,103,500 |
void setNullX(int parameterIndex, int jdbcType) throws SqlException { parameterIndex = checkForEscapedCallWithResult(parameterIndex); parameterMetaData_.clientParamtertype_[parameterIndex - 1] = jdbcType; if (!parameterMetaData_.nullable_[parameterIndex - 1]) { throw new SqlException... | void setNullX(int parameterIndex, int jdbcType) throws SqlException { parameterMetaData_.clientParamtertype_[parameterIndex - 1] = jdbcType; if (!parameterMetaData_.nullable_[parameterIndex - 1]) { throw new SqlException(agent_.logWriter_, new ClientMessageId(SQLStat... | 1,103,501 |
private void setObjectX(int parameterIndex, Object x, int targetJdbcType, int scale) throws SqlException { parameterIndex = checkForEscapedCallWithResult(parameterIndex); checkForValidScale(scale); // JDBC 4.0 requ... | private void setObjectX(int parameterIndex, Object x, int targetJdbcType, int scale) throws SqlException { checkForValidScale(scale); // JDBC 4.0 requires us to throw SQLFeatureNotSupportedException for // ... | 1,103,502 |
public void setRef(int parameterIndex, java.sql.Ref x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setRef", parameterIndex, x); } parameterIndex = ... | public void setRef(int parameterIndex, java.sql.Ref x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setRef", parameterIndex, x); } t... | 1,103,503 |
public void setShort(int parameterIndex, short x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setShort", parameterIndex, x); } fina... | public void setShort(int parameterIndex, short x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setShort", parameterIndex, x); } fina... | 1,103,504 |
void setShortX(int parameterIndex, short x) throws SqlException { parameterIndex = checkForEscapedCallWithResult(parameterIndex); parameterMetaData_.clientParamtertype_[parameterIndex - 1] = java.sql.Types.SMALLINT; setInput(parameterIndex, new Short(x)); } | void setShortX(int parameterIndex, short x) throws SqlException { parameterMetaData_.clientParamtertype_[parameterIndex - 1] = java.sql.Types.SMALLINT; setInput(parameterIndex, new Short(x)); } | 1,103,505 |
public void setString(int parameterIndex, String x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setString", parameterIndex, x); } f... | public void setString(int parameterIndex, String x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setString", parameterIndex, x); } f... | 1,103,506 |
void setStringX(int parameterIndex, String x) throws SqlException { parameterIndex = checkForEscapedCallWithResult(parameterIndex); parameterMetaData_.clientParamtertype_[parameterIndex - 1] = java.sql.Types.LONGVARCHAR; if (x == null) { setNullX(parameterIndex, java.sql.Types.LONGVA... | void setStringX(int parameterIndex, String x) throws SqlException { parameterMetaData_.clientParamtertype_[parameterIndex - 1] = java.sql.Types.LONGVARCHAR; if (x == null) { setNullX(parameterIndex, java.sql.Types.LONGVARCHAR); return; } setInput(parameterIn... | 1,103,507 |
public void setTime(int parameterIndex, java.sql.Time x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setTime", parameterIndex, x); } ... | public void setTime(int parameterIndex, java.sql.Time x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setTime", parameterIndex, x); } ... | 1,103,508 |
public void setTime(int parameterIndex, java.sql.Time x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setTime", parameterIndex, x); } ... | public void setTime(int parameterIndex, java.sql.Time x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setTime", parameterIndex, x); } ... | 1,103,509 |
public void setTimestamp(int parameterIndex, java.sql.Timestamp x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setTimestamp", parameterIndex, x); } ... | public void setTimestamp(int parameterIndex, java.sql.Timestamp x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setTimestamp", parameterIndex, x); } ... | 1,103,510 |
public void setTimestamp(int parameterIndex, java.sql.Timestamp x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setTimestamp", parameterIndex, x); } ... | public void setTimestamp(int parameterIndex, java.sql.Timestamp x) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setTimestamp", parameterIndex, x); } ... | 1,103,511 |
public ValueNode bindExpression( FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { super.bindExpression(fromList, subqueryList, aggregateVector); if (operatorType == SQRT || operatorType == ABSOLUTE) { bindSQRTABS(); } else if (operatorType == UNARY_PLUS || ... | public ValueNode bindExpression( FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { super.bindExpression(fromList, subqueryList, aggregateVector); if (operatorType == SQRT || operatorType == ABSOLUTE) { bindSQRTABS(); } else if (operatorType == UNARY_PLUS || ... | 1,103,513 |
void bindParameter() throws StandardException { if (operatorType == SQRT || operatorType == ABSOLUTE) { ((ParameterNode) operand).setDescriptor( new DataTypeDescriptor(TypeId.getBuiltInTypeId(Types.DOUBLE), true)); } else if (operand.getTypeServices() == null) { throw StandardException.newException(SQLStat... | void bindParameter() throws StandardException { if (operatorType == SQRT || operatorType == ABSOLUTE) { operand.setType( new DataTypeDescriptor(TypeId.getBuiltInTypeId(Types.DOUBLE), true)); } else if (operand.getTypeServices() == null) { throw StandardException.newException(SQLState.LANG_UNARY_OPERAND_PAR... | 1,103,514 |
public Optimizable modifyAccessPath(JBitSet outerTables) throws StandardException { boolean origChildOptimizable = true; /* It is okay to optimize most nodes multiple times. However, * modifying the access path is something that should only be done * once per node. One reason for this is that the predicate l... | public Optimizable modifyAccessPath(JBitSet outerTables) throws StandardException { boolean origChildOptimizable = true; /* It is okay to optimize most nodes multiple times. However, * modifying the access path is something that should only be done * once per node. One reason for this is that the predicate l... | 1,103,516 |
private static boolean getValidValue(PreparedStatement ps, int jdbcType) throws SQLException, IOException { ResultSet rs = ps.executeQuery(); rs.next(); switch (jdbcType) { case Types.SMALLINT: System.out.print("getShort=" + rs.getShort(1) + " was null " + rs.wasNull()); return true; case Types.INTEGER: Sy... | private static boolean getValidValue(PreparedStatement ps, int jdbcType) throws SQLException, IOException { ResultSet rs = ps.executeQuery(); rs.next(); switch (jdbcType) { case Types.SMALLINT: System.out.print("getShort=" + rs.getShort(1) + " was null " + rs.wasNull()); return true; case Types.INTEGER: Sy... | 1,103,518 |
public Visitable visit(Visitable node) throws StandardException { if (node instanceof ValueNode) { if (ignoreParameters && ((ValueNode)node).isParameterNode()) return node; if (((ValueNode)node).getOrderableVariantType() <= variantType) { hasVariant = true; } } return node; } | public Visitable visit(Visitable node) throws StandardException { if (node instanceof ValueNode) { if (ignoreParameters && ((ValueNode)node).requiresTypeFromContext()) return node; if (((ValueNode)node).getOrderableVariantType() <= variantType) { hasVariant = true; } } return node; } | 1,103,519 |
private void createSPSSet(TransactionController tc, boolean net, UUID schemaID) throws StandardException { Properties p = getQueryDescriptions(net); Enumeration enum = p.keys(); //statement will get compiled on first execution //Note: Don't change this to FALSE LCC is not available for compiling boolean nocompil... | private void createSPSSet(TransactionController tc, boolean net, UUID schemaID) throws StandardException { Properties p = getQueryDescriptions(net); Enumeration e = p.keys(); //statement will get compiled on first execution //Note: Don't change this to FALSE LCC is not available for compiling boolean nocompile =... | 1,103,521 |
private void createSPSSet(TransactionController tc, boolean net, UUID schemaID) throws StandardException { Properties p = getQueryDescriptions(net); Enumeration enum = p.keys(); //statement will get compiled on first execution //Note: Don't change this to FALSE LCC is not available for compiling boolean nocompil... | private void createSPSSet(TransactionController tc, boolean net, UUID schemaID) throws StandardException { Properties p = getQueryDescriptions(net); Enumeration enum = p.keys(); //statement will get compiled on first execution //Note: Don't change this to FALSE LCC is not available for compiling boolean nocompil... | 1,103,522 |
private void createSPSSet(TransactionController tc, boolean net, UUID schemaID) throws StandardException { Properties p = getQueryDescriptions(net); Enumeration enum = p.keys(); //statement will get compiled on first execution //Note: Don't change this to FALSE LCC is not available for compiling boolean nocompil... | private void createSPSSet(TransactionController tc, boolean net, UUID schemaID) throws StandardException { Properties p = getQueryDescriptions(net); Enumeration enum = p.keys(); //statement will get compiled on first execution //Note: Don't change this to FALSE LCC is not available for compiling boolean nocompil... | 1,103,523 |
public static void main(String[] args) { Connection con = null; Statement s; PreparedStatement ps; System.out.println("Test autoGeneratedJdbc30 starting"); try { ij.getPropertyArg(args); con = ij.startJBMS(); s = con.createStatement(); /* Create the tables and do any other set-up */ setUpTest(s); c... | public static void main(String[] args) { Connection con = null; Statement s; PreparedStatement ps; System.out.println("Test autoGeneratedJdbc30 starting"); try { ij.getPropertyArg(args); con = ij.startJBMS(); s = con.createStatement(); /* Create the tables and do any other set-up */ setUpTest(s); c... | 1,103,525 |
private void readFromStream(InputStream in) throws IOException { dataValue = null; // allow gc of the old value before the new. byte[] tmpData = new byte[32 * 1024]; int off = 0; for (;;) { int len = in.read(tmpData, off, tmpData.length - off); if (len == -1) break; off += len; int available = in.ava... | private void readFromStream(InputStream in) throws IOException { dataValue = null; // allow gc of the old value before the new. byte[] tmpData = new byte[32 * 1024]; int off = 0; for (;;) { int len = in.read(tmpData, off, tmpData.length - off); if (len == -1) break; off += len; int available = Math.m... | 1,103,526 |
public SystemColumn[] buildColumnList() { /* ** Create one less than the number of columns, we ** skip the last one deliberately. */ SystemColumn[] columnList = new SystemColumn[SYSSTATEMENTS_COLUMN_COUNT - SYSSTATEMENTS_HIDDEN_COLUMN_COUNT]; // describe columns columnList[0] = new SystemColumnImpl( con... | public SystemColumn[] buildColumnList() { /* ** Create one less than the number of columns, we ** skip the last one deliberately. */ SystemColumn[] columnList = new SystemColumn[SYSSTATEMENTS_COLUMN_COUNT - SYSSTATEMENTS_HIDDEN_COLUMN_COUNT]; // describe columns columnList[0] = new SystemColumnImpl( con... | 1,103,527 |
public TupleDescriptor buildDescriptor( ExecRow row, TupleDescriptor parentTupleDescriptor, DataDictionary dd ) throws StandardException { DataValueDescriptor col; SPSDescriptor descriptor; String name; String text; String usingText; UUID uuid; UUID compUuid; Strin... | public TupleDescriptor buildDescriptor( ExecRow row, TupleDescriptor parentTupleDescriptor, DataDictionary dd ) throws StandardException { DataValueDescriptor col; SPSDescriptor descriptor; String name; String text; String usingText; UUID uuid; UUID compUuid = null;... | 1,103,528 |
public TupleDescriptor buildDescriptor( ExecRow row, TupleDescriptor parentTupleDescriptor, DataDictionary dd ) throws StandardException { DataValueDescriptor col; SPSDescriptor descriptor; String name; String text; String usingText; UUID uuid; UUID compUuid; Strin... | public TupleDescriptor buildDescriptor( ExecRow row, TupleDescriptor parentTupleDescriptor, DataDictionary dd ) throws StandardException { DataValueDescriptor col; SPSDescriptor descriptor; String name; String text; String usingText; UUID uuid; UUID compUuid; Strin... | 1,103,529 |
private void generateMinion(ExpressionClassBuilder acb, MethodBuilder mb, boolean genChildResultSet) throws StandardException { /* If this ProjectRestrict doesn't do anything, bypass its generation. * (Remove any true and true predicates first, as they could be left * by the like transformation.)... | private void generateMinion(ExpressionClassBuilder acb, MethodBuilder mb, boolean genChildResultSet) throws StandardException { /* If this ProjectRestrict doesn't do anything, bypass its generation. * (Remove any true and true predicates first, as they could be left * by the like transformation.)... | 1,103,530 |
private void generateMinion(ExpressionClassBuilder acb, MethodBuilder mb, boolean genChildResultSet) throws StandardException { /* If this ProjectRestrict doesn't do anything, bypass its generation. * (Remove any true and true predicates first, as they could be left * by the like transformation.)... | private void generateMinion(ExpressionClassBuilder acb, MethodBuilder mb, boolean genChildResultSet) throws StandardException { /* If this ProjectRestrict doesn't do anything, bypass its generation. * (Remove any true and true predicates first, as they could be left * by the like transformation.)... | 1,103,531 |
public synchronized Row getRowFrom(int input_rowset_nr) { // Read from one specific rowset // int sleeptime=transMeta.getSleepTimeEmpty(); RowSet in=(RowSet)inputRowSets.get(input_rowset_nr); while (in.isEmpty() && !in.isDone() && !stopped) { try { if (sleeptime>0) sleep(0, sleeptime); else super.notifyAll();... | public synchronized Row getRowFrom(String from) { // Read from one specific rowset // int sleeptime=transMeta.getSleepTimeEmpty(); RowSet in=(RowSet)inputRowSets.get(input_rowset_nr); while (in.isEmpty() && !in.isDone() && !stopped) { try { if (sleeptime>0) sleep(0, sleeptime); else super.notifyAll(); } ca... | 1,103,532 |
public synchronized Row getRowFrom(int input_rowset_nr) { // Read from one specific rowset // int sleeptime=transMeta.getSleepTimeEmpty(); RowSet in=(RowSet)inputRowSets.get(input_rowset_nr); while (in.isEmpty() && !in.isDone() && !stopped) { try { if (sleeptime>0) sleep(0, sleeptime); else super.notifyAll();... | public synchronized Row getRowFrom(int input_rowset_nr) { // Read from one specific rowset // int sleeptime=transMeta.getSleepTimeEmpty(); RowSet in=(RowSet)inputRowSets.get(input_rowset_nr); while (in.isEmpty() && !in.isDone() && !stopped) { try { if (sleeptime>0) sleep(0, sleeptime); else super.notifyAll();... | 1,103,533 |
public synchronized Row getRowFrom(int input_rowset_nr) { // Read from one specific rowset // int sleeptime=transMeta.getSleepTimeEmpty(); RowSet in=(RowSet)inputRowSets.get(input_rowset_nr); while (in.isEmpty() && !in.isDone() && !stopped) { try { if (sleeptime>0) sleep(0, sleeptime); else super.notifyAll();... | public synchronized Row getRowFrom(int input_rowset_nr) { // Read from one specific rowset // int sleeptime=transMeta.getSleepTimeEmpty(); RowSet in=(RowSet)inputRowSets.get(input_rowset_nr); while (in.isEmpty() && !in.isDone() && !stopped) { try { if (sleeptime>0) sleep(0, sleeptime); else super.notifyAll();... | 1,103,534 |
public synchronized Row getRowFrom(int input_rowset_nr) { // Read from one specific rowset // int sleeptime=transMeta.getSleepTimeEmpty(); RowSet in=(RowSet)inputRowSets.get(input_rowset_nr); while (in.isEmpty() && !in.isDone() && !stopped) { try { if (sleeptime>0) sleep(0, sleeptime); else super.notifyAll();... | public synchronized Row getRowFrom(int input_rowset_nr) { // Read from one specific rowset // int sleeptime=transMeta.getSleepTimeEmpty(); RowSet in=(RowSet)inputRowSets.get(input_rowset_nr); while (in.isEmpty() && !in.isDone() && !stopped) { try { if (sleeptime>0) sleep(0, sleeptime); else super.notifyAll();... | 1,103,535 |
public Object getObject (int i, java.util.Map map) throws SQLException { throw Util.notImplemented(); } | public Object getObject (int i, java.util.Map map) throws SQLException { if( map == null) throw Util.generateCsSQLException(SQLState.INVALID_API_PARAMETER,map,"map", "java.sql.CallableStatement.getObject"); if(!(map.isEmpty())) throw Util.notImplemented(); return getObject(i); } | 1,103,537 |
public java.sql.Date getDate(int parameterIndex, Calendar cal) throws SQLException { return getDate(parameterIndex); } | public java.sql.Date getDate(int parameterIndex, Calendar cal) throws SQLException { return getDate(parameterIndex); } | 1,103,538 |
public java.sql.Date getDate(int parameterIndex, Calendar cal) throws SQLException { return getDate(parameterIndex); } | public java.sql.Date getDate(int parameterIndex, Calendar cal) throws SQLException { checkStatus(); try { Date v = getParms().getParameterForGet(parameterIndex-1).getDate(getCal()); wasNull = (v == null); return v; } catch (StandardException e) { throw EmbedResultSet.noStateChangeException(e); } } | 1,103,539 |
public java.sql.Time getTime(int parameterIndex, Calendar cal) throws SQLException { return getTime(parameterIndex); } | public java.sql.Time getTime(int parameterIndex, Calendar cal) throws SQLException { return getTime(parameterIndex); } | 1,103,540 |
public java.sql.Time getTime(int parameterIndex, Calendar cal) throws SQLException { return getTime(parameterIndex); } | public java.sql.Time getTime(int parameterIndex, Calendar cal) throws SQLException { checkStatus(); try { Time v = getParms().getParameterForGet(parameterIndex-1).getTime(getCal()); wasNull = (v == null); return v; } catch (StandardException e) { throw EmbedResultSet.noStateChangeException(e); } } | 1,103,541 |
public java.sql.Timestamp getTimestamp(int parameterIndex, Calendar cal) throws SQLException { return getTimestamp(parameterIndex); } | public java.sql.Timestamp getTimestamp(int parameterIndex, Calendar cal) throws SQLException { return getTimestamp(parameterIndex); } | 1,103,542 |
public java.sql.Timestamp getTimestamp(int parameterIndex, Calendar cal) throws SQLException { return getTimestamp(parameterIndex); } | public java.sql.Timestamp getTimestamp(int parameterIndex, Calendar cal) throws SQLException { checkStatus(); try { Timestamp v = getParms().getParameterForGet(parameterIndex-1).getTimestamp(getCal()); wasNull = (v == null); return v; } catch (StandardException e) { throw EmbedResultSet.noStateChangeExcept... | 1,103,543 |
final void closeContainer() { if (fileData != null) { try { fileData.close(); } catch (IOException ioe) { } finally { fileData = null; } } } | void closeContainer() { if (fileData != null) { try { fileData.close(); } catch (IOException ioe) { } finally { fileData = null; } } } | 1,103,544 |
private byte[] updatePageArray(long pageNumber, byte[] pageData, byte[] encryptionBuf, boolean encryptWithNewEngine) throws StandardException, IOException { if (pageNumber == FIRST_ALLOC_PAGE_N... | protected byte[] updatePageArray(long pageNumber, byte[] pageData, byte[] encryptionBuf, boolean encryptWithNewEngine) throws StandardException, IOException { if (pageNumber == FIRST_ALLOC_PAGE... | 1,103,545 |
private static void blobNegativeTest_Derby265(Connection conn) throws SQLException, FileNotFoundException,IOException { System.out.println(START + "blobTestNegativeTest_Derby265"); // basically setup the tables for clob and blob Statement s = conn.createStatement(); s.execute("creat... | private static void blobNegativeTest_Derby265(Connection conn) throws SQLException, FileNotFoundException,IOException { System.out.println(START + "blobTestNegativeTest_Derby265"); // basically setup the tables for clob and blob Statement s = conn.createStatement(); s.execute("creat... | 1,103,546 |
private static void clobNegativeTest_Derby265(Connection conn) throws SQLException, FileNotFoundException,IOException { System.out.println(START + "clobNegativeTest_Derby265"); // basically setup the tables for clob Statement s = conn.createStatement(); s.execute("create table \"MA... | private static void clobNegativeTest_Derby265(Connection conn) throws SQLException, FileNotFoundException,IOException { System.out.println(START + "clobNegativeTest_Derby265"); // basically setup the tables for clob Statement s = conn.createStatement(); s.execute("create table \"MA... | 1,103,547 |
public static boolean isRowEmpty( DataValueDescriptor[] row, FormatableBitSet columnList) { if (row == null) return true; if (row.length == 0) return true; if (columnList == null) return false; int size = columnList.getLength(); for (int i = 0; i < size; i--) { if (columnList.... | public static boolean isRowEmpty( DataValueDescriptor[] row, FormatableBitSet columnList) { if (row == null) return true; if (row.length == 0) return true; if (columnList == null) return false; int size = columnList.getLength(); for (int i = 0; i < size; i--) { if (columnList.... | 1,103,548 |
public static boolean isRowEmpty( DataValueDescriptor[] row, FormatableBitSet columnList) { if (row == null) return true; if (row.length == 0) return true; if (columnList == null) return false; int size = columnList.getLength(); for (int i = 0; i < size; i--) { if (columnList.... | public static boolean isRowEmpty( DataValueDescriptor[] row, FormatableBitSet columnList) { if (row == null) return true; if (row.length == 0) return true; if (columnList == null) return false; int size = columnList.getLength(); for (int i = 0; i < size; i--) { if (columnList.... | 1,103,549 |
public ClassHolder(String fullyQualifiedName, String superClassName, int modifiers) { this(100); access_flags = modifiers | /* Modifier.SUPER */ 0x0020; this_class = addClassReference(fullyQualifiedName); super_class = addClassReference(superClassName); method_info = new MemberTable(0); } | public ClassHolder(String fullyQualifiedName, String superClassName, int modifiers) { this(100); access_flags = modifiers | /* Modifier.SUPER */ 0x0020; this_class = addClassReference(fullyQualifiedName); super_class = addClassReference(superClassName); method_info = new MemberTable(0); } | 1,103,550 |
public ClassHolder(String fullyQualifiedName, String superClassName, int modifiers) { this(100); access_flags = modifiers | /* Modifier.SUPER */ 0x0020; this_class = addClassReference(fullyQualifiedName); super_class = addClassReference(superClassName); method_info = new MemberTable(0); } | public ClassHolder(String fullyQualifiedName, String superClassName, int modifiers) { this(100); access_flags = modifiers | /* Modifier.SUPER */ 0x0020; this_class = addClassReference(fullyQualifiedName); super_class = addClassReference(superClassName); method_info = new MemberTable(0); } | 1,103,551 |
public int addFieldReference(ClassMember field) { return addReference(VMDescriptor.CONSTANT_Fieldref, (ClassMember) field); } | public int addFieldReference(ClassMember field) { return addReference(VMDescriptor.CONSTANT_Fieldref, (ClassMember) field); } | 1,103,552 |
public ClassFormatOutput(int size) { super(new AccessibleByteArrayOutputStream(size)); } | public ClassFormatOutput(int size) { super(new AccessibleByteArrayOutputStream(size)); } | 1,103,553 |
static int width(short type) { switch (type) { case BCExpr.vm_void: return 0; case BCExpr.vm_long: case BCExpr.vm_double: return 2; default: return 1; } } | static int width(short type) { switch (type) { case BCExpr.vm_void: return 0; case BCExpr.vm_long: case BCExpr.vm_double: return 2; default: return 1; } } | 1,103,554 |
void complete(BCMethod mb, ClassHolder ch, ClassMember method, int maxStack, int maxLocals) { int codeLength = getPC(); ClassFormatOutput out = cout; try { out.putU2(0); // exception_table_length if (SanityManager.DEBUG) { if (SanityManager.DEBUG_ON("ClassLineNumbers")) { // Add a single attri... | void complete(BCMethod mb, ClassHolder ch, ClassMember method, int maxStack, int maxLocals) { int codeLength = getPC(); ClassFormatOutput out = cout; try { out.putU2(0); // exception_table_length if (SanityManager.DEBUG) { if (SanityManager.DEBUG_ON("ClassLineNumbers")) { // Add a single attri... | 1,103,555 |
private static void insertDataUsingCharacterStream(PreparedStatement ps, int intValue, String fileName, int maxValueAllowed) throws Exception{ File file = new File(fileName); InputStream fileIn = new FileInputStream(file); Reader filer = new InputStreamReader(fileIn); System.out.println("===> testing(using set... | private static void insertDataUsingCharacterStream(PreparedStatement ps, int intValue, String fileName, int maxValueAllowed) throws Exception{ File file = new File(fileName); InputStream fileIn = new FileInputStream(file); Reader filer = new InputStreamReader(fileIn, "US-ASCII"); System.out.println("===> testi... | 1,103,556 |
public static int streamInLongCol(PreparedStatement ps, Object data) throws Exception { String s = (String)data; ByteArrayInputStream bais = new ByteArrayInputStream(s.getBytes()); ps.setAsciiStream(1, bais, s.length()); int nRows = ps.executeUpdate(); bais.close(); return nRows; } | public static int streamInLongCol(PreparedStatement ps, Object data) throws Exception { String s = (String)data; ByteArrayInputStream bais = new ByteArrayInputStream(s.getBytes("US-ASCII")); ps.setAsciiStream(1, bais, s.length()); int nRows = ps.executeUpdate(); bais.close(); return nRows; } | 1,103,557 |
private static void streamTest11(Connection conn) { Statement stmt; System.out.println("Test 11 - Can't pass negative length as the stream length for various setXXXStream methods"); try { stmt = conn.createStatement(); stmt.execute("create table testLongVarCharInvalidStreamLength (a int, b long varchar, c long ... | private static void streamTest11(Connection conn) { Statement stmt; System.out.println("Test 11 - Can't pass negative length as the stream length for various setXXXStream methods"); try { stmt = conn.createStatement(); stmt.execute("create table testLongVarCharInvalidStreamLength (a int, b long varchar, c long ... | 1,103,558 |
static void streamTest7(Connection conn) throws Exception { conn.setAutoCommit(false); System.out.println("streamTest7"); Statement s = conn.createStatement(); s.executeUpdate("call SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY('derby.storage.pageSize', '1024')"); s.execute("create table testlvc (a int, b char(100), lv... | static void streamTest7(Connection conn) throws Exception { conn.setAutoCommit(false); System.out.println("streamTest7"); Statement s = conn.createStatement(); s.executeUpdate("call SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY('derby.storage.pageSize', '1024')"); s.execute("create table testlvc (a int, b char(100), lv... | 1,103,559 |
static void streamTest8(Connection conn, int stream1_len, int stream2_len) { System.out.println( "Starting streamTest8(conn, " + stream1_len + ", " + stream2_len + ")"); ResultSetMetaData met; ResultSet rs; Statement stmt; String createsql = new String(... | static void streamTest8(Connection conn, int stream1_len, int stream2_len) { System.out.println( "Starting streamTest8(conn, " + stream1_len + ", " + stream2_len + ")"); ResultSetMetaData met; ResultSet rs; Statement stmt; String createsql = new String(... | 1,103,560 |
static void streamTest8(Connection conn, int stream1_len, int stream2_len) { System.out.println( "Starting streamTest8(conn, " + stream1_len + ", " + stream2_len + ")"); ResultSetMetaData met; ResultSet rs; Statement stmt; String createsql = new String(... | static void streamTest8(Connection conn, int stream1_len, int stream2_len) { System.out.println( "Starting streamTest8(conn, " + stream1_len + ", " + stream2_len + ")"); ResultSetMetaData met; ResultSet rs; Statement stmt; String createsql = new String(... | 1,103,561 |
static int updateLongString(Connection conn, int oldkey, int newkey) throws Exception { PreparedStatement ps = conn.prepareStatement( "update foo set a = ?, b = ? where a = " + oldkey); String updateString = pad("", newkey); ByteArrayInputStream bais = new ByteArrayInputStream(updateString.getBytes()); ps.setI... | static int updateLongString(Connection conn, int oldkey, int newkey) throws Exception { PreparedStatement ps = conn.prepareStatement( "update foo set a = ?, b = ? where a = " + oldkey); String updateString = pad("", newkey); ByteArrayInputStream bais = new ByteArrayInputStream(updateString.getBytes("US-ASCII"))... | 1,103,562 |
public String toString() { return "colPerms: grantor=" + getGrantee() + ",grantor=" + getGrantor() + ",tableUUID=" + getTableUUID() + ",type=" + getType() + ",columns=" + getColumns(); } | public String toString() { return "colPerms: grantee=" + getGrantee() + ",colPermsUUID=" + getUUID() + ",grantor=" + getGrantor() + ",tableUUID=" + getTableUUID() + ",type=" + getType() + ",columns=" + getColumns(); } | 1,103,563 |
public void setBlob(String parameterName, InputStream inputStream, long length) throws SQLException{ throw Util.notImplemented(); } | public void setBlob(String parameterName, InputStream inputStream, long length) throws SQLException{ throw Util.notImplemented(); } | 1,103,564 |
public void setClob(String parameterName, Reader reader, long length) throws SQLException{ throw Util.notImplemented(); } | public void setClob(String parameterName, Reader reader, long length) throws SQLException{ throw Util.notImplemented(); } | 1,103,565 |
public boolean removeContainer() throws StandardException { close(); if (file.exists()) { return file.delete(); } else { return true; } } | public boolean removeContainer() throws StandardException { close(); if (privExists(file)) { return file.delete(); } else { return true; } } | 1,103,567 |
public boolean removeContainer() throws StandardException { close(); if (file.exists()) { return file.delete(); } else { return true; } } | public boolean removeContainer() throws StandardException { close(); if (file.exists()) { return privDelete(file); } else { return true; } } | 1,103,568 |
void checkForTransactionInProgress() throws SqlException { // The following precondition matches CLI semantics, see SQLDisconnect() if (!autoCommit_ && inUnitOfWork_ && !allowCloseInUOW_()) { throw new SqlException(agent_.logWriter_, new MessageId (SQLState.CANNOT_CLOSE_A... | void checkForTransactionInProgress() throws SqlException { // The following precondition matches CLI semantics, see SQLDisconnect() if (!autoCommit_ && inUnitOfWork_ && !allowCloseInUOW_()) { throw new SqlException(agent_.logWriter_, new MessageId (SQLState.CANNOT_CLOSE_A... | 1,103,569 |
private void checkError() throws IOException, DRDAProtocolException { int svrcod = 0; int invalidCodePoint = 0; int prccnvcd = 0; int synerrcd = 0; int codepoint; int reqVal; Vector manager = new Vector(), managerLevel = new Vector() ; reader.readReplyDss(); int error = reader.readLengthAndCodePoint(); int r... | private void checkError() throws IOException, DRDAProtocolException { int svrcod = 0; int invalidCodePoint = 0; int prccnvcd = 0; int synerrcd = 0; int codepoint; int reqVal; Vector manager = new Vector(), managerLevel = new Vector() ; reader.readReplyDss(); int error = reader.readLengthAndCodePoint( false );... | 1,103,570 |
private void checkError() throws IOException, DRDAProtocolException { int svrcod = 0; int invalidCodePoint = 0; int prccnvcd = 0; int synerrcd = 0; int codepoint; int reqVal; Vector manager = new Vector(), managerLevel = new Vector() ; reader.readReplyDss(); int error = reader.readLengthAndCodePoint(); int r... | private void checkError() throws IOException, DRDAProtocolException { int svrcod = 0; int invalidCodePoint = 0; int prccnvcd = 0; int synerrcd = 0; int codepoint; int reqVal; Vector manager = new Vector(), managerLevel = new Vector() ; reader.readReplyDss(); int error = reader.readLengthAndCodePoint(); int r... | 1,103,571 |
private void checkSQLCARD(int sqlCode, String sqlState) throws IOException, DRDAProtocolException { reader.readReplyDss(); int codepoint = reader.readLengthAndCodePoint(); if (codepoint != CodePoint.SQLCARD) { fail("Expecting SQLCARD got "+ Integer.toHexString(codepoint)); return; } int nullind = reader.rea... | private void checkSQLCARD(int sqlCode, String sqlState) throws IOException, DRDAProtocolException { reader.readReplyDss(); int codepoint = reader.readLengthAndCodePoint( false ); if (codepoint != CodePoint.SQLCARD) { fail("Expecting SQLCARD got "+ Integer.toHexString(codepoint)); return; } int nullind = rea... | 1,103,572 |
private void readLengthAndCodePoint() throws IOException, DRDAProtocolException { int codepoint = reader.readLengthAndCodePoint(); int reqCP = getCP(); if (codepoint != reqCP) cpError(codepoint, reqCP); } | private void readLengthAndCodePoint() throws IOException, DRDAProtocolException { int codepoint = reader.readLengthAndCodePoint( false ); int reqCP = getCP(); if (codepoint != reqCP) cpError(codepoint, reqCP); } | 1,103,573 |
private void readSecMecAndSECCHKCD() throws IOException, DRDAProtocolException { int codepoint; boolean notDone = true; int val = -1; do { codepoint = reader.readLengthAndCodePoint(); switch(codepoint) { case CodePoint.SECMEC: ... | private void readSecMecAndSECCHKCD() throws IOException, DRDAProtocolException { int codepoint; boolean notDone = true; int val = -1; do { codepoint = reader.readLengthAndCodePoint( false ); switch(codepoint) { case CodePoint.SECMEC... | 1,103,574 |
private void skipDdm() throws DRDAProtocolException { reader.readLengthAndCodePoint(); reader.skipBytes(); } | private void skipDdm() throws DRDAProtocolException { reader.readLengthAndCodePoint( false ); reader.skipBytes(); } | 1,103,575 |
private boolean exchangeServerAttributes() throws DRDAProtocolException, SQLException { int codePoint; correlationID = reader.readDssHeader(); if (SanityManager.DEBUG) { if (correlationID == 0) { SanityManager.THROWASSERT( "Unexpected value for correlationId = " + correlationID); } } cod... | private boolean exchangeServerAttributes() throws DRDAProtocolException, SQLException { int codePoint; correlationID = reader.readDssHeader(); if (SanityManager.DEBUG) { if (correlationID == 0) { SanityManager.THROWASSERT( "Unexpected value for correlationId = " + correlationID); } } cod... | 1,103,576 |
private boolean exchangeServerAttributes() throws DRDAProtocolException, SQLException { int codePoint; correlationID = reader.readDssHeader(); if (SanityManager.DEBUG) { if (correlationID == 0) { SanityManager.THROWASSERT( "Unexpected value for correlationId = " + correlationID); } } cod... | private boolean exchangeServerAttributes() throws DRDAProtocolException, SQLException { int codePoint; correlationID = reader.readDssHeader(); if (SanityManager.DEBUG) { if (correlationID == 0) { SanityManager.THROWASSERT( "Unexpected value for correlationId = " + correlationID); } } cod... | 1,103,577 |
private boolean parseDRDAConnection() throws DRDAProtocolException { int codePoint; boolean sessionOK = true; appRequester = new AppRequester(); parseEXCSAT(); writeEXCSATRD(); finalizeChain(); //we may have to do the access security more than once if we don't //provide the requested security mechanism or we r... | private boolean parseDRDAConnection() throws DRDAProtocolException { int codePoint; boolean sessionOK = true; appRequester = new AppRequester(); parseEXCSAT(); writeEXCSATRD(); finalizeChain(); //we may have to do the access security more than once if we don't //provide the requested security mechanism or we r... | 1,103,579 |
private boolean parseDRDAConnection() throws DRDAProtocolException { int codePoint; boolean sessionOK = true; appRequester = new AppRequester(); parseEXCSAT(); writeEXCSATRD(); finalizeChain(); //we may have to do the access security more than once if we don't //provide the requested security mechanism or we r... | private boolean parseDRDAConnection() throws DRDAProtocolException { int codePoint; boolean sessionOK = true; appRequester = new AppRequester(); parseEXCSAT(); writeEXCSATRD(); finalizeChain(); //we may have to do the access security more than once if we don't //provide the requested security mechanism or we r... | 1,103,580 |
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); int writerMark = writer.markDSSClearPoint(); switch(codePoint) { ... | private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); int writerMark = writer.markDSSClearPoint(); switch(codePoint) { ... | 1,103,583 |
private void sessionInitialState() throws Exception { // process NetworkServerControl commands - if it is not either valid protocol let the // DRDA error handling handle it if (reader.isCmd()) { try { server.processCommands(reader, writer, session); // reset reader and writer reader.initialize(this, ... | private void sessionInitialState() throws Exception { // process NetworkServerControl commands - if it is not either valid protocol let the // DRDA error handling handle it if (reader.isCmd()) { try { server.processCommands(reader, writer, session); // reset reader and writer reader.initialize(this, ... | 1,103,584 |
public ColPermsDescriptor getColumnPermissions( UUID tableUUID, int privType, boolean forGrant, String authorizationId) throws StandardException { ... | public ColPermsDescriptor getColumnPermissions( UUID tableUUID, int privType, boolean forGrant, String authorizationId) throws StandardException { ... | 1,103,585 |
ColPermsDescriptor getUncachedColPermsDescriptor( ColPermsDescriptor key) throws StandardException { return (ColPermsDescriptor) getUncachedPermissionsDescriptor( SYSCOLPERMS_CATALOG_NUM, SYSCOLPERMSRowFactory.GRANTEE_TABLE_TYPE_GRANTOR_INDEX_NUM,... | ColPermsDescriptor getUncachedColPermsDescriptor( ColPermsDescriptor key) throws StandardException { return (ColPermsDescriptor) getUncachedPermissionsDescriptor( SYSCOLPERMS_CATALOG_NUM, SYSCOLPERMSRowFactory.GRANTEE_TABLE_TYPE_GRANTOR_INDEX_NUM,... | 1,103,586 |
RoutinePermsDescriptor getUncachedRoutinePermsDescriptor( RoutinePermsDescriptor key) throws StandardException { return (RoutinePermsDescriptor) getUncachedPermissionsDescriptor( SYSROUTINEPERMS_CATALOG_NUM, SYSROUTINEPERMSRowFactory.GRANTEE_ALIAS... | RoutinePermsDescriptor getUncachedRoutinePermsDescriptor( RoutinePermsDescriptor key) throws StandardException { return (RoutinePermsDescriptor) getUncachedPermissionsDescriptor( SYSROUTINEPERMS_CATALOG_NUM, SYSROUTINEPERMSRowFactory.GRANTEE_ALIAS... | 1,103,587 |
TablePermsDescriptor getUncachedTablePermsDescriptor( TablePermsDescriptor key) throws StandardException { return (TablePermsDescriptor) getUncachedPermissionsDescriptor( SYSTABLEPERMS_CATALOG_NUM, SYSTABLEPERMSRowFactory.GRANTEE_TABLE_GRANTOR_IND... | TablePermsDescriptor getUncachedTablePermsDescriptor( TablePermsDescriptor key) throws StandardException { return (TablePermsDescriptor) getUncachedPermissionsDescriptor( SYSTABLEPERMS_CATALOG_NUM, SYSTABLEPERMSRowFactory.GRANTEE_TABLE_GRANTOR_IND... | 1,103,588 |
public void boot(boolean create, Properties startParams) throws StandardException { dataDirectory = startParams.getProperty(PersistentService.ROOT); logDevice = startParams.getProperty(Attribute.LOG_DEVICE); if( logDevice != null) { // in case the user specifies logDevice in URL form String... | public void boot(boolean create, Properties startParams) throws StandardException { dataDirectory = startParams.getProperty(PersistentService.ROOT); logDevice = startParams.getProperty(Attribute.LOG_DEVICE); if( logDevice != null) { // in case the user specifies logDevice in URL form String... | 1,103,589 |
public Value plus(long v) { return plus(new Value("tmp", v)); } | public Value plus(BigDecimal v) { return plus(new Value("tmp", v)); } | 1,103,590 |
public void tearDown() throws SQLException { // Close default connection // Check if connection is open to avoid exception on rollback. if (con != null && !con.isClosed()) { // Abort changes that may have been done in the test. // The test-method may however commit... | public void tearDown() throws SQLException { // Close default connection // Check if connection is open to avoid exception on rollback. if (con != null && !con.isClosed()) { // Abort changes that may have been done in the test. // The test-method may however commit... | 1,103,591 |
public DataTypeDescriptor getTypeServices() { DataTypeDescriptor dtd = super.getTypeServices(); if( dtd == null && sourceColumn != null) { dtd = sourceColumn.getTypeServices(); if( dtd != null) setType( dtd); } return dtd; } // end of getTypeSe... | public DataTypeDescriptor getTypeServices() throws StandardException { DataTypeDescriptor dtd = super.getTypeServices(); if( dtd == null && sourceColumn != null) { dtd = sourceColumn.getTypeServices(); if( dtd != null) setType( dtd); } return dtd;... | 1,103,593 |
public void init( Object sourceResultSet, Object sourceColumn, Object columnId) { ResultColumn source = (ResultColumn) sourceColumn; this.sourceResultSet = (ResultSetNode) sourceResultSet; this.sourceColumn = source; this.columnId = ((Integer) columnId).intValue(); setType(source.getTypeServices())... | public void init( Object sourceResultSet, Object sourceColumn, Object columnId) throws StandardException { ResultColumn source = (ResultColumn) sourceColumn; this.sourceResultSet = (ResultSetNode) sourceResultSet; this.sourceColumn = source; this.columnId = ((Integer) columnId).intValue(); setType(... | 1,103,594 |
public void updateNCharacterStream(int columnIndex, Reader x, long length) throws SQLException { throw Util.notImplemented(); } | public void updateNCharacterStream(int columnIndex, Reader x, long length) throws SQLException { throw Util.notImplemented(); } | 1,103,595 |
public BackingStoreHashTableFromScan( TransactionController tc, long conglomId, int open_mode, int lock_level, int isolation_level, FormatableBitSet scanColumnList, DataValueDescriptor[] start... | public BackingStoreHashTableFromScan( TransactionController tc, long conglomId, int open_mode, int lock_level, int isolation_level, FormatableBitSet scanColumnList, DataValueDescriptor[] start... | 1,103,596 |
void markUpdatableByCursor(Vector updateColumns) { commonCodeForUpdatableByCursor(updateColumns, false); } | void markUpdatableByCursor() { commonCodeForUpdatableByCursor(updateColumns, false); } | 1,103,597 |
void markUpdatableByCursor(Vector updateColumns) { commonCodeForUpdatableByCursor(updateColumns, false); } | void markUpdatableByCursor(Vector updateColumns) { int size = size(); for (int index = 0; index < size; index++) { if (((ResultColumn) elementAt(index)).getSourceTableName() != null) ((ResultColumn) elementAt(index)).markUpdatableByCursor(); } } | 1,103,598 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.