bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
protected void checkServerJdbcVersionX(String method, int major, int minor) throws SqlException { if (serverJdbcMajorVersion < major || (serverJdbcMajorVersion == major && serverJdbcMinorVersion < minor)) { MessageId mid = new MessageId(SQLState.JDBC... | protected void checkServerJdbcVersionX(String method, int major, int minor) throws SqlException { if (serverJdbcMajorVersion < major || (serverJdbcMajorVersion == major && serverJdbcMinorVersion < minor)) { MessageId mid = new MessageId(SQLState.JDBC... | 1,106,656 |
private ResultSet executeCatalogQuery(PreparedStatement cs) throws SqlException { try { return cs.executeQueryX(); } catch (SqlException e) { if (e.getErrorCode() == -440) { SqlException newException = new SqlException(agent_.logWriter_, ... | private ResultSet executeCatalogQuery(PreparedStatement cs) throws SqlException { try { return cs.executeQueryX(); } catch (SqlException e) { if (e.getErrorCode() == -440) { SqlException newException = new SqlException(agent_.logWriter_, ... | 1,106,657 |
private ResultSet executeCatalogQuery(PreparedStatement cs) throws SqlException { try { return cs.executeQueryX(); } catch (SqlException e) { if (e.getErrorCode() == -440) { SqlException newException = new SqlException(agent_.logWriter_, ... | private ResultSet executeCatalogQuery(PreparedStatement cs) throws SqlException { try { return cs.executeQueryX(); } catch (SqlException e) { if (e.getErrorCode() == -440) { SqlException newException = new SqlException(agent_.logWriter_, ... | 1,106,658 |
protected void initConnection(org.apache.derby.client.am.LogWriter logWriter, String user, org.apache.derby.jdbc.ClientDataSource dataSource) throws SqlException { if (logWriter != null) { logWriter.traceConnectEntry(dataSource); ... | protected void initConnection(org.apache.derby.client.am.LogWriter logWriter, String user, org.apache.derby.jdbc.ClientDataSource dataSource) throws SqlException { if (logWriter != null) { logWriter.traceConnectEntry(dataSource); ... | 1,106,659 |
private void generateConstructor(ActivationClassBuilder acb, MethodBuilder mb, boolean reuseablePs) throws StandardException { // this sets up the method and the static field. // generates: // java.sql.ResultSet userExprFun { } MethodBuilder userExprFun = acb.newGeneratedFun( version2 ? "java.sql.P... | private void generateConstructor(ActivationClassBuilder acb, MethodBuilder mb, boolean reuseablePs) throws StandardException { // this sets up the method and the static field. // generates: // java.sql.ResultSet userExprFun { } MethodBuilder userExprFun = acb.newGeneratedFun( vtiType, Modifier.PUBL... | 1,106,660 |
public void checkHoldCursors(int holdability) throws SQLException { if (holdability == JDBC30Translation.HOLD_CURSORS_OVER_COMMIT) { if (currentXid != null) throw Util.generateCsSQLException(SQLState.CANNOT_HOLD_CURSOR_XA); } super.checkHoldCursors(holdability); } | public void checkHoldCursors(int holdability) throws SQLException { if (holdability == JDBC30Translation.HOLD_CURSORS_OVER_COMMIT) { if (xaRes.getCurrentXid () != null) throw Util.generateCsSQLException(SQLState.CANNOT_HOLD_CURSOR_XA); } super.checkHoldCursors(holdability); } | 1,106,662 |
public void generate(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException { int erdNumber; if (SanityManager.DEBUG) SanityManager.ASSERT(resultColumns != null, "Tree structure bad"); /* Get the next ResultSet #, so that we can number this ResultSetNode, its * ResultColumnL... | public void generate(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException { int erdNumber; if (SanityManager.DEBUG) SanityManager.ASSERT(resultColumns != null, "Tree structure bad"); /* Get the next ResultSet #, so that we can number this ResultSetNode, its * ResultColumnL... | 1,106,663 |
public void generate(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException { int erdNumber; if (SanityManager.DEBUG) SanityManager.ASSERT(resultColumns != null, "Tree structure bad"); /* Get the next ResultSet #, so that we can number this ResultSetNode, its * ResultColumnL... | public void generate(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException { int erdNumber; if (SanityManager.DEBUG) SanityManager.ASSERT(resultColumns != null, "Tree structure bad"); /* Get the next ResultSet #, so that we can number this ResultSetNode, its * ResultColumnL... | 1,106,664 |
public void executeGrantRevoke( Activation activation, boolean grant, List grantees) throws StandardException { // Check that the current user has permission to grant the privileges. LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDataDictionary... | public void executeGrantRevoke( Activation activation, boolean grant, List grantees) throws StandardException { // Check that the current user has permission to grant the privileges. LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDataDictionary... | 1,106,665 |
public Date getDate( Calendar cal) { if (encodedDate != 0) return new Date( getTimeInMillis( cal)); return null; } | public NumberDataValue getDate(NumberDataValue result) throws StandardException { if (encodedDate != 0) return new Date( getTimeInMillis( cal)); return null; } | 1,106,669 |
public Date getDate( Calendar cal) { if (encodedDate != 0) return new Date( getTimeInMillis( cal)); return null; } | public Date getDate( Calendar cal) { if (encodedDate != 0) return new Date( getTimeInMillis( cal)); return null; } | 1,106,670 |
public static void main(String[] args) { Connection con; Statement stmt; try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); Class.forName("org.apache.derby.jdbc.EmbeddedDriver"); con = DriverManager.getConnection("jdbc:derby:wombat"); stmt... | public static void main(String[] args) { Connection con; Statement stmt; try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); Class.forName("org.apache.derby.jdbc.EmbeddedDriver"); con = DriverManager.getConnection("jdbc:derby:wombat"); stmt... | 1,106,671 |
public void setDatabaseEncrypted() { databaseEncrypted = true; } | public void setDatabaseEncrypted(boolean flushLog) throws StandardException { databaseEncrypted = true; } | 1,106,672 |
public void generate(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException { //If the DML is on the temporary table, generate the code to mark temporary table as modified in the current UOW generateCodeForTemporaryTable(acb, mb); /* generate the parameters */ generateParameterValueSet... | public void generate(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException { //If the DML is on the temporary table, generate the code to mark temporary table as modified in the current UOW generateCodeForTemporaryTable(acb, mb); /* generate the parameters */ generateParameterValueSet... | 1,106,674 |
public DeleteConstantAction( long conglomId, StaticCompiledOpenConglomInfo heapSCOCI, IndexRowGenerator[] irgs, long[] indexCIDS, StaticCompiledOpenConglomInfo[] indexSCOCIs, ExecRow emptyHeapRow, boolean deferred, UUID targetUUID, int l... | public DeleteConstantAction( long conglomId, StaticCompiledOpenConglomInfo heapSCOCI, IndexRowGenerator[] irgs, long[] indexCIDS, StaticCompiledOpenConglomInfo[] indexSCOCIs, ExecRow emptyHeapRow, boolean deferred, UUID targetUUID, int l... | 1,106,675 |
public UpdatableVTIConstantAction( int statementType, boolean deferred, int[] changedColumnIds) { super(0, null, null, null, null, null, deferred , null, null, 0, null, null, (ExecRow)nu... | public UpdatableVTIConstantAction( int statementType, boolean deferred, int[] changedColumnIds) { super(0, null, null, null, null, null, deferred , null, null, 0, null, null, (ExecRow)nu... | 1,106,676 |
public UpdateStatisticsConstantAction(boolean forTable, String objectName, UUID tableUUID, UUID[] objectUUID, long[] conglomerateNumber, ExecIndexRow[] indexRow) { this.forTable = forTable; this.objectName = objectName; this.tableUUID = tableUUID; this.objec... | public UpdateStatisticsConstantAction(boolean forTable, String objectName, UUID tableUUID, UUID[] objectUUID, long[] conglomerateNumber, ExecIndexRow[] indexRow) { this.forTable = forTable; this.objectName = objectName; this.tableUUID = tableUUID; this.objec... | 1,106,677 |
private URLClassLoader createClassLoader(String jarLoc) throws MalformedURLException { URL[] url = new URL[jarFiles.length + 1]; for(int i=0; i < jarFiles.length; i++) { url[i] = new URL(urlProtocol + jarLoc + File.separator + jarFiles[i]); } // Add derbyTesting.jar. Added from newer release url[jarF... | private URLClassLoader createClassLoader(String jarLoc) throws MalformedURLException { URL[] url = new URL[jarFiles.length + 1]; for(int i=0; i < jarFiles.length; i++) { url[i] = new File(jarLoc + File.separator + jarFiles[i]).toURL(); } // Add derbyTesting.jar. Added from newer release url[jarFiles.... | 1,106,678 |
private URLClassLoader createClassLoader(String jarLoc) throws MalformedURLException { URL[] url = new URL[jarFiles.length + 1]; for(int i=0; i < jarFiles.length; i++) { url[i] = new URL(urlProtocol + jarLoc + File.separator + jarFiles[i]); } // Add derbyTesting.jar. Added from newer release url[jarF... | private URLClassLoader createClassLoader(String jarLoc) throws MalformedURLException { URL[] url = new URL[jarFiles.length + 1]; for(int i=0; i < jarFiles.length; i++) { url[i] = new URL(urlProtocol + jarLoc + File.separator + jarFiles[i]); } // Add derbyTesting.jar. Added from newer release url[jarF... | 1,106,679 |
private Connection getConnection(URLClassLoader classLoader, String dbName, int phase) throws Exception{ Connection conn = null; Properties prop = new Properties(); prop.setProperty("databaseName", dbName); switch(phase) { case PH_CREATE: prop.setProperty("connectionAttributes", "create=true"); b... | private Connection getConnection(URLClassLoader classLoader, String dbName, int phase) throws Exception{ Connection conn = null; Properties prop = new Properties(); prop.setProperty("databaseName", dbName); switch(phase) { case PH_CREATE: prop.setProperty("connectionAttributes", "create=true"); b... | 1,106,680 |
private void shutdown(URLClassLoader classLoader, String dbName) throws Exception { Properties prop = new Properties(); prop.setProperty("databaseName", dbName); prop.setProperty("connectionAttributes", "shutdown=true"); try { getConnectionUsingReflection(classLoader, prop); } catch (SQLException... | private void shutdown(URLClassLoader classLoader, String dbName) throws Exception { Properties prop = new Properties(); prop.setProperty("databaseName", dbName); prop.setProperty("connectionAttributes", "shutdown=true"); try { getConnectionUsingDataSource(classLoader, prop); } catch (SQLException... | 1,106,681 |
public ValueNode bindExpression( FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { // deal with binding operands leftOperand = leftOperand.bindExpression(fromList, subqueryList, aggregateVector); rightOperand = rightOperand.bindExpression(fromList, subqueryList, ... | public ValueNode bindExpression( FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { // deal with binding operands leftOperand = leftOperand.bindExpression(fromList, subqueryList, aggregateVector); rightOperand = rightOperand.bindExpression(fromList, subqueryList, ... | 1,106,682 |
public ValueNode bindExpression( FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { // deal with binding operands leftOperand = leftOperand.bindExpression(fromList, subqueryList, aggregateVector); rightOperand = rightOperand.bindExpression(fromList, subqueryList, ... | public ValueNode bindExpression( FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { // deal with binding operands leftOperand = leftOperand.bindExpression(fromList, subqueryList, aggregateVector); rightOperand = rightOperand.bindExpression(fromList, subqueryList, ... | 1,106,683 |
public ValueNode bindExpression( FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { // deal with binding operands leftOperand = leftOperand.bindExpression(fromList, subqueryList, aggregateVector); rightOperand = rightOperand.bindExpression(fromList, subqueryList, ... | public ValueNode bindExpression( FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { // deal with binding operands leftOperand = leftOperand.bindExpression(fromList, subqueryList, aggregateVector); rightOperand = rightOperand.bindExpression(fromList, subqueryList, ... | 1,106,684 |
public ValueNode bindExpression( FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { // deal with binding operands leftOperand = leftOperand.bindExpression(fromList, subqueryList, aggregateVector); rightOperand = rightOperand.bindExpression(fromList, subqueryList, ... | public ValueNode bindExpression( FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { // deal with binding operands leftOperand = leftOperand.bindExpression(fromList, subqueryList, aggregateVector); rightOperand = rightOperand.bindExpression(fromList, subqueryList, ... | 1,106,685 |
public ValueNode bindExpression( FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { // deal with binding operands leftOperand = leftOperand.bindExpression(fromList, subqueryList, aggregateVector); rightOperand = rightOperand.bindExpression(fromList, subqueryList, ... | public ValueNode bindExpression( FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { // deal with binding operands leftOperand = leftOperand.bindExpression(fromList, subqueryList, aggregateVector); rightOperand = rightOperand.bindExpression(fromList, subqueryList, ... | 1,106,686 |
public ValueNode bindExpression( FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { // deal with binding operands leftOperand = leftOperand.bindExpression(fromList, subqueryList, aggregateVector); rightOperand = rightOperand.bindExpression(fromList, subqueryList, ... | public ValueNode bindExpression( FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { // deal with binding operands leftOperand = leftOperand.bindExpression(fromList, subqueryList, aggregateVector); rightOperand = rightOperand.bindExpression(fromList, subqueryList, ... | 1,106,687 |
public ValueNode bindExpression( FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { // deal with binding operands leftOperand = leftOperand.bindExpression(fromList, subqueryList, aggregateVector); rightOperand = rightOperand.bindExpression(fromList, subqueryList, ... | public ValueNode bindExpression( FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { // deal with binding operands leftOperand = leftOperand.bindExpression(fromList, subqueryList, aggregateVector); rightOperand = rightOperand.bindExpression(fromList, subqueryList, ... | 1,106,688 |
public ValueNode bindExpression( FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { // deal with binding operands leftOperand = leftOperand.bindExpression(fromList, subqueryList, aggregateVector); rightOperand = rightOperand.bindExpression(fromList, subqueryList, ... | public ValueNode bindExpression( FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { // deal with binding operands leftOperand = leftOperand.bindExpression(fromList, subqueryList, aggregateVector); rightOperand = rightOperand.bindExpression(fromList, subqueryList, ... | 1,106,689 |
public ValueNode bindExpression( FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { // deal with binding operands leftOperand = leftOperand.bindExpression(fromList, subqueryList, aggregateVector); rightOperand = rightOperand.bindExpression(fromList, subqueryList, ... | public ValueNode bindExpression( FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { // deal with binding operands leftOperand = leftOperand.bindExpression(fromList, subqueryList, aggregateVector); rightOperand = rightOperand.bindExpression(fromList, subqueryList, ... | 1,106,690 |
public final Object run() throws Exception { switch( actionCode) { case BOOT_ACTION: readOnly = storageFactory.isReadOnlyDatabase(); supportsRandomAccess = storageFactory.supportsRandomAccess(); return null; case GET_TEMP_DIRECTORY_ACTION: ... | public final Object run() throws Exception { switch( actionCode) { case BOOT_ACTION: readOnly = storageFactory.isReadOnlyDatabase(); supportsRandomAccess = storageFactory.supportsRandomAccess(); return null; case GET_TEMP_DIRECTORY_ACTION: ... | 1,106,691 |
public static void main(String[] args) { Connection con; ResultSetMetaData met; ResultSet rs; Statement stmt; System.out.println("Test resultsetStream starting"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); con = ij.startJBMS(); st... | public static void main(String[] args) { Connection con; ResultSetMetaData met; ResultSet rs; Statement stmt; System.out.println("Test resultsetStream starting"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); con = ij.startJBMS(); st... | 1,106,692 |
public boolean addRemovePermissionsDescriptor( boolean add, PermissionsDescriptor perm, String grantee, TransactionController tc) throws StandardException { i... | public boolean addRemovePermissionsDescriptor( boolean add, PermissionsDescriptor perm, String grantee, TransactionController tc) throws StandardException { i... | 1,106,693 |
private void dropColumnPermDescriptor( TransactionController tc, ExecIndexRow keyRow) throws StandardException { ExecRow curRow; PermissionsDescriptor perm; ExecIndexRow newKey; TabInfoImpl ti = getNonCoreTI(SYSCOLPERMS_CATALOG_NUM); SYSCOLPERMSRowFactory rf = (SYSCOLPERMSRowFactory) ti.getCatalogRowFac... | private void dropColumnPermDescriptor( TransactionController tc, ExecIndexRow keyRow) throws StandardException { ExecRow curRow; PermissionsDescriptor perm; TabInfoImpl ti = getNonCoreTI(SYSCOLPERMS_CATALOG_NUM); SYSCOLPERMSRowFactory rf = (SYSCOLPERMSRowFactory) ti.getCatalogRowFactory(); while ((cur... | 1,106,694 |
private void dropTablePermDescriptor( TransactionController tc, ExecIndexRow keyRow) throws StandardException { ExecRow curRow; PermissionsDescriptor perm; ExecIndexRow newKey; TabInfoImpl ti = getNonCoreTI(SYSTABLEPERMS_CATALOG_NUM); SYSTABLEPERMSRowFactory rf = (SYSTABLEPERMSRowFactory) ti.getCatalogR... | private void dropTablePermDescriptor( TransactionController tc, ExecIndexRow keyRow) throws StandardException { ExecRow curRow; PermissionsDescriptor perm; TabInfoImpl ti = getNonCoreTI(SYSTABLEPERMS_CATALOG_NUM); SYSTABLEPERMSRowFactory rf = (SYSTABLEPERMSRowFactory) ti.getCatalogRowFactory(); while ... | 1,106,695 |
public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println... | public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println... | 1,106,696 |
public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println... | public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println... | 1,106,697 |
public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println... | public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println... | 1,106,698 |
public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println... | public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println... | 1,106,699 |
public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println... | public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println... | 1,106,700 |
public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println... | public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println... | 1,106,701 |
public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println... | public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println... | 1,106,702 |
public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println... | public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println... | 1,106,703 |
public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println... | public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println... | 1,106,704 |
public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println... | public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println... | 1,106,705 |
public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println... | public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println... | 1,106,706 |
public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println... | public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println... | 1,106,707 |
public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println... | public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println... | 1,106,708 |
public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println... | public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println... | 1,106,709 |
protected void resetRealConnection() throws SQLException { // ensure any outstanding changes from the previous // user are rolledback. realConnection.rollback(); // clear any warnings that are left over realConnection.clearWarnings(); // need to reset transaction isolation, autocommit, readonly, holdability stat... | protected void resetRealConnection() throws SQLException { // ensure any outstanding changes from the previous // user are rolledback. realConnection.rollback(); // clear any warnings that are left over realConnection.clearWarnings(); // need to reset transaction isolation, autocommit, readonly, holdability stat... | 1,106,710 |
private static void detectLocalHost(java.lang.SecurityManager security, java.io.PrintWriter printWriter) { String header = "[derby] "; // getLocalHost() will hang the HotJava 1.0 browser with a high security manager. if (security == null) { try { printWriter.print(head... | private static void detectLocalHost(java.lang.SecurityManager security, java.io.PrintWriter printWriter) { String header = "[derby] "; // getLocalHost() will hang the HotJava 1.0 browser with a high security manager. if (security == null) { try { printWriter.print(head... | 1,106,711 |
private static void printSystemProperty(java.lang.SecurityManager security, String prefix, String property, java.io.PrintWriter printWriter) { String header = "[derby] "; sy... | private static void printSystemProperty(java.lang.SecurityManager security, String prefix, String property, java.io.PrintWriter printWriter) { String header = "[derby] "; sy... | 1,106,712 |
void check( Vector validProps){ checkName( validProps); //checkValue(); displayErrors(); } | public void check( Vector validProps){ checkName( validProps); //checkValue(); displayErrors(); } | 1,106,713 |
void addError(String aString) { //Keep track of error message for later display. if (!errors.contains(aString)) errors.addElement(aString); } | public void addError(String aString) { //Keep track of error message for later display. if (!errors.contains(aString)) errors.addElement(aString); } | 1,106,714 |
void setName(String aString){ name = aString; } | public void setName(String aString){ name = aString; } | 1,106,715 |
void setValue(String aString){ value = aString; } | public void setValue(String aString){ value = aString; } | 1,106,716 |
void setToken(String aString){ token = aString; } | public void setToken(String aString){ token = aString; } | 1,106,717 |
private LocalizedResource getCurrentAppUI(HttpServletRequest request) { LocalizedResource localUtil; String acceptLanguage = request.getHeader("Accept-Language"); localUtil = new LocalizedResource(null,null,SERVLET_PROP_MESSAGES); // if no language specified use one set by db2j.locale, db2j.codeset locale = null;... | private LocalizedResource getCurrentAppUI(HttpServletRequest request) { LocalizedResource localUtil; String acceptLanguage = request.getHeader("Accept-Language"); localUtil = new LocalizedResource(null,null,SERVLET_PROP_MESSAGES); // if no language specified use one set by db2j.locale, db2j.codeset locale = null;... | 1,106,718 |
public void init(ServletConfig config) throws ServletException { LocalizedResource langUtil = new LocalizedResource(); String port = config.getInitParameter("portNumber"); if (port != null) { int p = Integer.valueOf(port).intValue(); if (p > 0) portNumber = p; } String tracingDirectory = config.getIni... | public void init(ServletConfig config) throws ServletException { LocalizedResource langUtil = new LocalizedResource(null,null,SERVLET_PROP_MESSAGES); String port = config.getInitParameter("portNumber"); if (port != null) { int p = Integer.valueOf(port).intValue(); if (p > 0) portNumber = p; } String t... | 1,106,719 |
static private void printTestData(Connection conn) throws SQLException { PreparedStatement st = null; ResultSet rs = null; try{ st = conn.prepareStatement("select text_data from t3"); rs = st.executeQuery(); while(rs.next()){ printTestDataInARowViaStream(rs); printTestDataInARowViaRea... | static private void printTestData(Connection conn) throws SQLException { PreparedStatement st = null; ResultSet rs = null; try{ st = conn.prepareStatement("select " + "text_data as text_data_col1," + "text_data as text_data_col2 " + "from " + "t3"); rs = st.executeQuery(); while(rs.next()){ ... | 1,106,720 |
static private void printTestDataInARowViaReader(ResultSet rs) throws SQLException, IOException{ Reader reader = null; try{ reader = rs.getCharacterStream(1); for(int c = reader.read(); c > -1; c = reader.read()){ System.out.print(getCharacterCodeString((char) c)); ... | static private void printTestDataInARowViaReader(ResultSet rs) throws SQLException, IOException{ Reader reader = null; try{ reader = rs.getCharacterStream(2); for(int c = reader.read(); c > -1; c = reader.read()){ System.out.print(getCharacterCodeString((char) c)); ... | 1,106,721 |
public int getScanArgs( TransactionController tc, MethodBuilder mb, Optimizable innerTable, OptimizablePredicateList storeRestrictionList, OptimizablePredicateList nonStoreRestrictionList, ExpressionClassBuilderInterface acbi, int bulkFetch, MethodBuilder resultRowAlloca... | public int getScanArgs( TransactionController tc, MethodBuilder mb, Optimizable innerTable, OptimizablePredicateList storeRestrictionList, OptimizablePredicateList nonStoreRestrictionList, ExpressionClassBuilderInterface acbi, int bulkFetch, MethodBuilder resultRowAlloca... | 1,106,722 |
public PMenuGraph(Composite par, int style, LogWriter l, SchemaMeta sch, PMenu sp) { this(par, style, sch, sp); } | public PMenuGraph(Composite par, int style, LogWriter l, SchemaMeta sch, PMenu sp) { this(par, style, sch, sp); } | 1,106,723 |
public QueryTreeNode bind() throws StandardException { // We just need select privilege on the expressions getCompilerContext().pushCurrentPrivType( Authorizer.SELECT_PRIV); FromList fromList = (FromList) getNodeFactory().getNode( C_NodeTypes.FROM_LIST, getNodeFactory().doJoinOrderOptimization(), ... | public QueryTreeNode bind() throws StandardException { // We just need select privilege on the expressions getCompilerContext().pushCurrentPrivType( Authorizer.SELECT_PRIV); FromList fromList = (FromList) getNodeFactory().getNode( C_NodeTypes.FROM_LIST, getNodeFactory().doJoinOrderOptimization(), ... | 1,106,724 |
public ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { //bind all the arguments argumentsList.bindExpression(fromList, subqueryList, aggregateVector); //There should be more than one argument if (argumentsList.size() < 2) throw S... | public ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { //bind all the arguments argumentsList.bindExpression(fromList, subqueryList, aggregateVector); //There should be more than one argument if (argumentsList.size() < 2) throw S... | 1,106,725 |
public ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { //bind all the arguments argumentsList.bindExpression(fromList, subqueryList, aggregateVector); //There should be more than one argument if (argumentsList.size() < 2) throw S... | public ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { //bind all the arguments argumentsList.bindExpression(fromList, subqueryList, aggregateVector); //There should be more than one argument if (argumentsList.size() < 2) throw S... | 1,106,726 |
public ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { //bind all the arguments argumentsList.bindExpression(fromList, subqueryList, aggregateVector); //There should be more than one argument if (argumentsList.size() < 2) throw S... | public ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { //bind all the arguments argumentsList.bindExpression(fromList, subqueryList, aggregateVector); //There should be more than one argument if (argumentsList.size() < 2) throw S... | 1,106,727 |
public void reset() { // Reset variables for connection re-use. Currently only takes care // of reset the variables that affect EUSRIDPWD security mechanism. (DERBY-1080) decryptedUserId = null; decryptedPassword = null; publicKeyIn = null; publicKeyOut = null; u... | public void reset() { // Reset variables for connection re-use. Currently only takes care // of reset the variables that affect EUSRIDPWD security mechanism. (DERBY-1080) decryptedUserId = null; decryptedPassword = null; publicKeyIn = null; publicKeyOut = null; u... | 1,106,728 |
public ColPermsDescriptor( DataDictionary dd, String grantee, String grantor, UUID tableUUID, String type, FormatableBitSet columns) throws StandardException { super (dd, grante... | public ColPermsDescriptor( DataDictionary dd, String grantee, String grantor, UUID tableUUID, String type, FormatableBitSet columns) throws StandardException { super (dd, grante... | 1,106,731 |
public DependableFinder getDependableFinder() { return new DDColumnPermissionsDependableFinder(StoredFormatIds.COLUMNS_PERMISSION_FINDER_V01_ID, type); } | public DependableFinder getDependableFinder() { return new DDColumnPermissionsDependableFinder(StoredFormatIds.COLUMNS_PERMISSION_FINDER_V01_ID, type); } | 1,106,732 |
private static void verifyShutdownError(SQLException e) throws SQLException{ if(!isShutdownError(e)) throw e; System.err.println("SQLException of shutting down was found."); } | private static void verifyShutdownError(SQLException e) throws SQLException{ if(!isShutdownError(e)) throw e; System.out.println("SQLException of shutting down was found."); } | 1,106,733 |
public ResultSet getProcedureColumns(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern) throws SQLException { return doGetProcCols(catalog, schemaPattern, procedureNamePattern, columnNamePattern, "getProcedureColumns"); } | public ResultSet getProcedureColumns(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern) throws SQLException { return doGetProcCols(catalog, schemaPattern, procedureNamePattern, columnNamePattern, "getProcedureColumns40"); } | 1,106,734 |
public Section getDynamicSection(int resultSetHoldability) throws SqlException { int cursorHoldIndex; if (resultSetHoldability == JDBC30Translation.HOLD_CURSORS_OVER_COMMIT) { return getSection(freeSectionsHold_, packageNameWithHold__, cursorNamePrefixWithHold__, resultSetHoldability); ... | public Section getDynamicSection(int resultSetHoldability) throws SqlException { int cursorHoldIndex; if (resultSetHoldability == JDBC30Translation.HOLD_CURSORS_OVER_COMMIT) { return getSection(freeSectionsHold_, packageNameWithHold__, cursorNamePrefixWithHold__, resultSetHoldability); ... | 1,106,735 |
ResultSet getPositionedUpdateResultSet(String cursorName) throws SqlException { ResultSet rs = (ResultSet) positionedUpdateCursorNameToResultSet_.get(cursorName); if (rs == null) { throw new SqlException(agent_.logWriter_, "ResultSet for cursor " + cursorName + " is close... | ResultSet getPositionedUpdateResultSet(String cursorName) throws SqlException { ResultSet rs = (ResultSet) positionedUpdateCursorNameToResultSet_.get(cursorName); if (rs == null) { throw new SqlException(agent_.logWriter_, "ResultSet for cursor " + cursorName + " is close... | 1,106,736 |
protected Section getSection(java.util.Stack freeSections, String packageName, String cursorNamePrefix, int resultSetHoldability) throws SqlException { if (!freeSections.empty()) { return (Section) freeSections.pop(); } else if (nextAvailableSectionNumber_ < (maxNumSections_ - 1)) { ... | protected Section getSection(java.util.Stack freeSections, String packageName, String cursorNamePrefix, int resultSetHoldability) throws SqlException { if (!freeSections.empty()) { return (Section) freeSections.pop(); } else if (nextAvailableSectionNumber_ < (maxNumSections_ - 1)) { ... | 1,106,737 |
private boolean bindParameter( ValueNode arg, int jdbcType) throws StandardException { if( arg.isParameterNode() && arg.getTypeId() == null) { ((ParameterNode) arg).setDescriptor( new DataTypeDescriptor(TypeId.getBuiltInTypeId( jdbcType), true)); return true; } r... | private boolean bindParameter( ValueNode arg, int jdbcType) throws StandardException { if( arg.requiresTypeFromContext() && arg.getTypeId() == null) { ((ParameterNode) arg).setDescriptor( new DataTypeDescriptor(TypeId.getBuiltInTypeId( jdbcType), true)); return true; } ... | 1,106,738 |
private boolean bindParameter( ValueNode arg, int jdbcType) throws StandardException { if( arg.isParameterNode() && arg.getTypeId() == null) { ((ParameterNode) arg).setDescriptor( new DataTypeDescriptor(TypeId.getBuiltInTypeId( jdbcType), true)); return true; } r... | private boolean bindParameter( ValueNode arg, int jdbcType) throws StandardException { if( arg.isParameterNode() && arg.getTypeId() == null) { arg.setType( new DataTypeDescriptor(TypeId.getBuiltInTypeId( jdbcType), true)); return true; } return false; } // end... | 1,106,739 |
public ValueNode locateBind() throws StandardException { TypeId firstOperandType, secondOperandType, offsetType; /* * Is there a ? parameter for the first arg. Copy the * left/firstOperand's. If the left/firstOperand are both parameters, * both will be max length. */ if( receiver.isParameterNode()) { ... | public ValueNode locateBind() throws StandardException { TypeId firstOperandType, secondOperandType, offsetType; /* * Is there a ? parameter for the first arg. Copy the * left/firstOperand's. If the left/firstOperand are both parameters, * both will be max length. */ if( receiver.requiresTypeFromContext(... | 1,106,740 |
public ValueNode locateBind() throws StandardException { TypeId firstOperandType, secondOperandType, offsetType; /* * Is there a ? parameter for the first arg. Copy the * left/firstOperand's. If the left/firstOperand are both parameters, * both will be max length. */ if( receiver.isParameterNode()) { ... | public ValueNode locateBind() throws StandardException { TypeId firstOperandType, secondOperandType, offsetType; /* * Is there a ? parameter for the first arg. Copy the * left/firstOperand's. If the left/firstOperand are both parameters, * both will be max length. */ if( receiver.isParameterNode()) { ... | 1,106,741 |
public ValueNode locateBind() throws StandardException { TypeId firstOperandType, secondOperandType, offsetType; /* * Is there a ? parameter for the first arg. Copy the * left/firstOperand's. If the left/firstOperand are both parameters, * both will be max length. */ if( receiver.isParameterNode()) { ... | public ValueNode locateBind() throws StandardException { TypeId firstOperandType, secondOperandType, offsetType; /* * Is there a ? parameter for the first arg. Copy the * left/firstOperand's. If the left/firstOperand are both parameters, * both will be max length. */ if( receiver.isParameterNode()) { ... | 1,106,742 |
public ValueNode locateBind() throws StandardException { TypeId firstOperandType, secondOperandType, offsetType; /* * Is there a ? parameter for the first arg. Copy the * left/firstOperand's. If the left/firstOperand are both parameters, * both will be max length. */ if( receiver.isParameterNode()) { ... | public ValueNode locateBind() throws StandardException { TypeId firstOperandType, secondOperandType, offsetType; /* * Is there a ? parameter for the first arg. Copy the * left/firstOperand's. If the left/firstOperand are both parameters, * both will be max length. */ if( receiver.isParameterNode()) { ... | 1,106,743 |
public ValueNode locateBind() throws StandardException { TypeId firstOperandType, secondOperandType, offsetType; /* * Is there a ? parameter for the first arg. Copy the * left/firstOperand's. If the left/firstOperand are both parameters, * both will be max length. */ if( receiver.isParameterNode()) { ... | public ValueNode locateBind() throws StandardException { TypeId firstOperandType, secondOperandType, offsetType; /* * Is there a ? parameter for the first arg. Copy the * left/firstOperand's. If the left/firstOperand are both parameters, * both will be max length. */ if( receiver.isParameterNode()) { ... | 1,106,744 |
public ValueNode locateBind() throws StandardException { TypeId firstOperandType, secondOperandType, offsetType; /* * Is there a ? parameter for the first arg. Copy the * left/firstOperand's. If the left/firstOperand are both parameters, * both will be max length. */ if( receiver.isParameterNode()) { ... | public ValueNode locateBind() throws StandardException { TypeId firstOperandType, secondOperandType, offsetType; /* * Is there a ? parameter for the first arg. Copy the * left/firstOperand's. If the left/firstOperand are both parameters, * both will be max length. */ if( receiver.isParameterNode()) { ... | 1,106,745 |
public ValueNode locateBind() throws StandardException { TypeId firstOperandType, secondOperandType, offsetType; /* * Is there a ? parameter for the first arg. Copy the * left/firstOperand's. If the left/firstOperand are both parameters, * both will be max length. */ if( receiver.isParameterNode()) { ... | public ValueNode locateBind() throws StandardException { TypeId firstOperandType, secondOperandType, offsetType; /* * Is there a ? parameter for the first arg. Copy the * left/firstOperand's. If the left/firstOperand are both parameters, * both will be max length. */ if( receiver.isParameterNode()) { ... | 1,106,746 |
public ValueNode locateBind() throws StandardException { TypeId firstOperandType, secondOperandType, offsetType; /* * Is there a ? parameter for the first arg. Copy the * left/firstOperand's. If the left/firstOperand are both parameters, * both will be max length. */ if( receiver.isParameterNode()) { ... | public ValueNode locateBind() throws StandardException { TypeId firstOperandType, secondOperandType, offsetType; /* * Is there a ? parameter for the first arg. Copy the * left/firstOperand's. If the left/firstOperand are both parameters, * both will be max length. */ if( receiver.isParameterNode()) { ... | 1,106,747 |
public ValueNode substrBind() throws StandardException { TypeId receiverType; TypeId resultType; // handle parameters here /* Is there a ? parameter for the receiver? */ if (receiver.isParameterNode()) { /* ** According to the SQL standard, if substr has a ? receiver, ** its type is varchar with the im... | public ValueNode substrBind() throws StandardException { TypeId receiverType; TypeId resultType; // handle parameters here /* Is there a ? parameter for the receiver? */ if (receiver.requiresTypeFromContext()) { /* ** According to the SQL standard, if substr has a ? receiver, ** its type is varchar wit... | 1,106,748 |
public ValueNode substrBind() throws StandardException { TypeId receiverType; TypeId resultType; // handle parameters here /* Is there a ? parameter for the receiver? */ if (receiver.isParameterNode()) { /* ** According to the SQL standard, if substr has a ? receiver, ** its type is varchar with the im... | public ValueNode substrBind() throws StandardException { TypeId receiverType; TypeId resultType; // handle parameters here /* Is there a ? parameter for the receiver? */ if (receiver.isParameterNode()) { /* ** According to the SQL standard, if substr has a ? receiver, ** its type is varchar with the im... | 1,106,749 |
public ValueNode substrBind() throws StandardException { TypeId receiverType; TypeId resultType; // handle parameters here /* Is there a ? parameter for the receiver? */ if (receiver.isParameterNode()) { /* ** According to the SQL standard, if substr has a ? receiver, ** its type is varchar with the im... | public ValueNode substrBind() throws StandardException { TypeId receiverType; TypeId resultType; // handle parameters here /* Is there a ? parameter for the receiver? */ if (receiver.isParameterNode()) { /* ** According to the SQL standard, if substr has a ? receiver, ** its type is varchar with the im... | 1,106,750 |
public ValueNode substrBind() throws StandardException { TypeId receiverType; TypeId resultType; // handle parameters here /* Is there a ? parameter for the receiver? */ if (receiver.isParameterNode()) { /* ** According to the SQL standard, if substr has a ? receiver, ** its type is varchar with the im... | public ValueNode substrBind() throws StandardException { TypeId receiverType; TypeId resultType; // handle parameters here /* Is there a ? parameter for the receiver? */ if (receiver.isParameterNode()) { /* ** According to the SQL standard, if substr has a ? receiver, ** its type is varchar with the im... | 1,106,751 |
public ValueNode substrBind() throws StandardException { TypeId receiverType; TypeId resultType; // handle parameters here /* Is there a ? parameter for the receiver? */ if (receiver.isParameterNode()) { /* ** According to the SQL standard, if substr has a ? receiver, ** its type is varchar with the im... | public ValueNode substrBind() throws StandardException { TypeId receiverType; TypeId resultType; // handle parameters here /* Is there a ? parameter for the receiver? */ if (receiver.isParameterNode()) { /* ** According to the SQL standard, if substr has a ? receiver, ** its type is varchar with the im... | 1,106,752 |
public ValueNode substrBind() throws StandardException { TypeId receiverType; TypeId resultType; // handle parameters here /* Is there a ? parameter for the receiver? */ if (receiver.isParameterNode()) { /* ** According to the SQL standard, if substr has a ? receiver, ** its type is varchar with the im... | public ValueNode substrBind() throws StandardException { TypeId receiverType; TypeId resultType; // handle parameters here /* Is there a ? parameter for the receiver? */ if (receiver.isParameterNode()) { /* ** According to the SQL standard, if substr has a ? receiver, ** its type is varchar with the im... | 1,106,753 |
private ValueNode trimBind() throws StandardException { TypeId receiverType; TypeId resultType = TypeId.getBuiltInTypeId(Types.VARCHAR); // handle parameters here /* Is there a ? parameter for the receiver? */ if (receiver.isParameterNode()) { /* ** According to the SQL standard, if trim has a ? receiver,... | private ValueNode trimBind() throws StandardException { TypeId receiverType; TypeId resultType = TypeId.getBuiltInTypeId(Types.VARCHAR); // handle parameters here /* Is there a ? parameter for the receiver? */ if (receiver.requiresTypeFromContext()) { /* ** According to the SQL standard, if trim has a ? r... | 1,106,754 |
private ValueNode trimBind() throws StandardException { TypeId receiverType; TypeId resultType = TypeId.getBuiltInTypeId(Types.VARCHAR); // handle parameters here /* Is there a ? parameter for the receiver? */ if (receiver.isParameterNode()) { /* ** According to the SQL standard, if trim has a ? receiver,... | private ValueNode trimBind() throws StandardException { TypeId receiverType; TypeId resultType = TypeId.getBuiltInTypeId(Types.VARCHAR); // handle parameters here /* Is there a ? parameter for the receiver? */ if (receiver.isParameterNode()) { /* ** According to the SQL standard, if trim has a ? receiver,... | 1,106,755 |
private ValueNode trimBind() throws StandardException { TypeId receiverType; TypeId resultType = TypeId.getBuiltInTypeId(Types.VARCHAR); // handle parameters here /* Is there a ? parameter for the receiver? */ if (receiver.isParameterNode()) { /* ** According to the SQL standard, if trim has a ? receiver,... | private ValueNode trimBind() throws StandardException { TypeId receiverType; TypeId resultType = TypeId.getBuiltInTypeId(Types.VARCHAR); // handle parameters here /* Is there a ? parameter for the receiver? */ if (receiver.isParameterNode()) { /* ** According to the SQL standard, if trim has a ? receiver,... | 1,106,756 |
private ValueNode trimBind() throws StandardException { TypeId receiverType; TypeId resultType = TypeId.getBuiltInTypeId(Types.VARCHAR); // handle parameters here /* Is there a ? parameter for the receiver? */ if (receiver.isParameterNode()) { /* ** According to the SQL standard, if trim has a ? receiver,... | private ValueNode trimBind() throws StandardException { TypeId receiverType; TypeId resultType = TypeId.getBuiltInTypeId(Types.VARCHAR); // handle parameters here /* Is there a ? parameter for the receiver? */ if (receiver.isParameterNode()) { /* ** According to the SQL standard, if trim has a ? receiver,... | 1,106,757 |
protected void positionAtInitScan( DataValueDescriptor[] startKeyValue, int startSearchOperator, Qualifier qualifier[][], DataValueDescriptor[] stopKeyValue, int stopSearchOperator, RowPosition pos) throws StandardException ... | protected void positionAtInitScan( DataValueDescriptor[] startKeyValue, int startSearchOperator, Qualifier qualifier[][], DataValueDescriptor[] stopKeyValue, int stopSearchOperator, RowPosition pos) throws StandardException ... | 1,106,758 |
protected void positionAtInitScan( DataValueDescriptor[] startKeyValue, int startSearchOperator, Qualifier qualifier[][], DataValueDescriptor[] stopKeyValue, int stopSearchOperator, RowPosition pos) throws StandardException ... | protected void positionAtInitScan( DataValueDescriptor[] startKeyValue, int startSearchOperator, Qualifier qualifier[][], DataValueDescriptor[] stopKeyValue, int stopSearchOperator, RowPosition pos) throws StandardException ... | 1,106,759 |
public BigDecimal getBigDecimal() { if (isNull()) return null; return new BigDecimal(value); } | public BigDecimal getBigDecimal() { if (isNull()) return null; return new BigDecimal(Double.toString(value)); } | 1,106,761 |
public void run() { //System.out.println("Thread run... " + tname); if ( in == null ) { System.out.println("The inputstream is null"); System.exit(1); } try { char[] ca = new char[1024]; int valid; interrupted = false; // Create an InputStreamReade... | public void run() { //System.out.println("Thread run... " + tname); if ( in == null ) { System.out.println("The inputstream is null"); System.exit(1); } try { char[] ca = new char[1024]; int valid; interrupted = false; // Create an InputStreamReade... | 1,106,762 |
public int maxCapacity(); | public int maxCapacity( JoinStrategy joinStrategy, int maxMemoryPerTable) throws StandardException; | 1,106,763 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.