bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
protected void checkToString(Connection conn) throws Exception { String str = conn.toString(); if ( conns.containsKey(str)) { throw new Exception("ERROR: Connection toString() is not unique: " + str); } conns.put(str, conn); } | protected static void checkToString(Connection conn) throws Exception { String str = conn.toString(); if ( conns.containsKey(str)) { throw new Exception("ERROR: Connection toString() is not unique: " + str); } conns.put(str, conn); } | 1,105,662 |
protected void clearConnections() throws SQLException { java.util.Iterator it = conns.values().iterator(); while ( it.hasNext() ) { Connection conn = (Connection)it.next(); conn.close(); } conns.clear(); } | protected static void clearConnections() throws SQLException { java.util.Iterator it = conns.values().iterator(); while ( it.hasNext() ) { Connection conn = (Connection)it.next(); conn.close(); } conns.clear(); } | 1,105,664 |
public static void SYSCS_BACKUP_DATABASE( String backupDir) throws SQLException { Factory.getDatabaseOfConnection().backup(backupDir); } | public static void SYSCS_BACKUP_DATABASE( String backupDir) throws SQLException { backupDatabase(backupDir , true); } | 1,105,665 |
public static void SYSCS_BACKUP_DATABASE_AND_ENABLE_LOG_ARCHIVE_MODE( String backupDir, int deleteOnlineArchivedLogFiles) throws SQLException { Factory.getDatabaseOfConnection().backupAndEnableLogArchiveMode( backupDir, (deleteOnlineArchivedLogFiles != 0)); } | public static void SYSCS_BACKUP_DATABASE_AND_ENABLE_LOG_ARCHIVE_MODE( String backupDir, int deleteOnlineArchivedLogFiles) throws SQLException { backupDatabaseAndEnableLogArchiveMode( backupDir, (deleteOnlineArchivedLogFiles != 0)); } | 1,105,666 |
public static void SYSCS_BACKUP_DATABASE_AND_ENABLE_LOG_ARCHIVE_MODE( String backupDir, int deleteOnlineArchivedLogFiles) throws SQLException { Factory.getDatabaseOfConnection().backupAndEnableLogArchiveMode( backupDir, (deleteOnlineArchivedLogFiles != 0)); } | public static void SYSCS_BACKUP_DATABASE_AND_ENABLE_LOG_ARCHIVE_MODE( String backupDir, int deleteOnlineArchivedLogFiles) throws SQLException { Factory.getDatabaseOfConnection().backupAndEnableLogArchiveMode( backupDir, (deleteOnlineArchivedLogFiles != 0)); } | 1,105,667 |
public static void SYSCS_DISABLE_LOG_ARCHIVE_MODE( int deleteOnlineArchivedLogFiles) throws SQLException { Factory.getDatabaseOfConnection().disableLogArchiveMode( (deleteOnlineArchivedLogFiles != 0)); } | public static void SYSCS_DISABLE_LOG_ARCHIVE_MODE( int deleteOnlineArchivedLogFiles) throws SQLException { Factory.getDatabaseOfConnection().disableLogArchiveMode( (deleteOnlineArchivedLogFiles != 0)); } | 1,105,668 |
public void saveRep(Repository rep, IProgressMonitor monitor) throws KettleException { try { int nrWorks = 2+nrDatabases()+nrNotes()+nrJobEntries()+nrJobHops(); if (monitor!=null) monitor.beginTask("Saving transformation "+directory+Const.FILE_SEPARATOR+getName(), nrWorks); // Before we start, make sure we... | public void saveRep(Repository rep) throws KettleException { try { int nrWorks = 2+nrDatabases()+nrNotes()+nrJobEntries()+nrJobHops(); if (monitor!=null) monitor.beginTask("Saving transformation "+directory+Const.FILE_SEPARATOR+getName(), nrWorks); // Before we start, make sure we have a valid job ID! //... | 1,105,669 |
public void saveRep(Repository rep, IProgressMonitor monitor) throws KettleException { try { int nrWorks = 2+nrDatabases()+nrNotes()+nrJobEntries()+nrJobHops(); if (monitor!=null) monitor.beginTask("Saving transformation "+directory+Const.FILE_SEPARATOR+getName(), nrWorks); // Before we start, make sure we... | public void saveRep(Repository rep, IProgressMonitor monitor) throws KettleException { try { int nrWorks = 2+nrDatabases()+nrNotes()+nrJobEntries()+nrJobHops(); if (monitor!=null) monitor.beginTask("Saving transformation "+directory+Const.FILE_SEPARATOR+getName(), nrWorks); // Before we start, make sure we... | 1,105,670 |
public static Test suite() { return (new TestSuite(ResultSetMetaDataTest.class, "ResultSetMetaDataTest suite")); } | public static Test suite() { return (new TestSuite(ResultSetMetaDataTest.class, "ResultSetMetaDataTest suite")); } | 1,105,671 |
protected Predicate getPredScopedForResultSet( JBitSet parentRSNsTables, ResultSetNode childRSN) throws StandardException { // We only deal with binary relational operators here. if (!(getAndNode().getLeftOperand() instanceof BinaryRelationalOperatorNode)) { return this; } // The predicate must have an AndN... | protected Predicate getPredScopedForResultSet( JBitSet parentRSNsTables, ResultSetNode childRSN) throws StandardException { // We only deal with binary relational operators here. if (!(getAndNode().getLeftOperand() instanceof BinaryRelationalOperatorNode)) { return this; } // The predicate must have an AndN... | 1,105,673 |
protected Predicate getPredScopedForResultSet( JBitSet parentRSNsTables, ResultSetNode childRSN) throws StandardException { // We only deal with binary relational operators here. if (!(getAndNode().getLeftOperand() instanceof BinaryRelationalOperatorNode)) { return this; } // The predicate must have an AndN... | protected Predicate getPredScopedForResultSet( JBitSet parentRSNsTables, ResultSetNode childRSN) throws StandardException { // We only deal with binary relational operators here. if (!(getAndNode().getLeftOperand() instanceof BinaryRelationalOperatorNode)) { return this; } // The predicate must have an AndN... | 1,105,674 |
protected boolean isJoinPredicate() { // If the predicate isn't a binary relational operator, // then it's not a join predicate. if (!(getAndNode().getLeftOperand() instanceof BinaryRelationalOperatorNode)) { return false; } BinaryRelationalOperatorNode opNode = (BinaryRelationalOperatorNode)getAndNode().g... | protected boolean isJoinPredicate() { // If the predicate isn't a binary relational operator, // then it's not a join predicate. if (!(getAndNode().getLeftOperand() instanceof BinaryRelationalOperatorNode)) { return false; } BinaryRelationalOperatorNode opNode = (BinaryRelationalOperatorNode)getAndNode().g... | 1,105,675 |
public void addFromTable(FromTable fromTable) throws StandardException { /* Don't worry about checking TableOperatorNodes since * they don't have exposed names. This will potentially * allow duplicate exposed names in some degenerate cases, * but the binding of the ColumnReferences will catch those * cases w... | public void addFromTable(FromTable fromTable) throws StandardException { /* Don't worry about checking TableOperatorNodes since * they don't have exposed names. This will potentially * allow duplicate exposed names in some degenerate cases, * but the binding of the ColumnReferences will catch those * cases w... | 1,105,676 |
public ResultColumnList expandAll(String allTableName) throws StandardException { ResultColumnList resultColumnList = null; ResultColumnList tempRCList = null; boolean matchfound = false; FromTable fromTable; /* Expand the "*" for the table that matches, if it is qualified * (allTableName is not null) o... | public ResultColumnList expandAll(TableName allTableName) throws StandardException { ResultColumnList resultColumnList = null; ResultColumnList tempRCList = null; boolean matchfound = false; FromTable fromTable; /* Expand the "*" for the table that matches, if it is qualified * (allTableName is not null... | 1,105,677 |
public void testSetAsciiStream() throws Exception { //insert default values into the table byte[] bytes = new byte[] { 0x65, 0x66, 0x67, 0x68, 0x69, 0x69, 0x68, 0x67, 0x66, 0x65 }; byte [] bytes1 = new byte[10]; InputStream is = new ja... | public void testSetAsciiStream() throws Exception { //insert default values into the table byte[] bytes = new byte[] { 0x65, 0x66, 0x67, 0x68, 0x69, 0x69, 0x68, 0x67, 0x66, 0x65 }; byte [] bytes1 = new byte[10]; InputStream is = new ja... | 1,105,679 |
public void testSetAsciiStream() throws Exception { //insert default values into the table byte[] bytes = new byte[] { 0x65, 0x66, 0x67, 0x68, 0x69, 0x69, 0x68, 0x67, 0x66, 0x65 }; byte [] bytes1 = new byte[10]; InputStream is = new ja... | public void testSetAsciiStream() throws Exception { //insert default values into the table byte[] bytes = new byte[] { 0x65, 0x66, 0x67, 0x68, 0x69, 0x69, 0x68, 0x67, 0x66, 0x65 }; byte [] bytes1 = new byte[10]; InputStream is = new ja... | 1,105,680 |
public void testSetAsciiStream() throws Exception { //insert default values into the table byte[] bytes = new byte[] { 0x65, 0x66, 0x67, 0x68, 0x69, 0x69, 0x68, 0x67, 0x66, 0x65 }; byte [] bytes1 = new byte[10]; InputStream is = new ja... | public void testSetAsciiStream() throws Exception { //insert default values into the table byte[] bytes = new byte[] { 0x65, 0x66, 0x67, 0x68, 0x69, 0x69, 0x68, 0x67, 0x66, 0x65 }; byte [] bytes1 = new byte[10]; InputStream is = new ja... | 1,105,681 |
public void testSetAsciiStream() throws Exception { //insert default values into the table byte[] bytes = new byte[] { 0x65, 0x66, 0x67, 0x68, 0x69, 0x69, 0x68, 0x67, 0x66, 0x65 }; byte [] bytes1 = new byte[10]; InputStream is = new ja... | public void testSetAsciiStream() throws Exception { //insert default values into the table byte[] bytes = new byte[] { 0x65, 0x66, 0x67, 0x68, 0x69, 0x69, 0x68, 0x67, 0x66, 0x65 }; byte [] bytes1 = new byte[10]; InputStream is = new ja... | 1,105,682 |
public void testSetBinaryStream() throws Exception { //insert default values into the table byte[] bytes = new byte[] { 0x65, 0x66, 0x67, 0x68, 0x69, 0x69, 0x68, 0x67, 0x66, 0x65 }; byte [] bytes1 = new byte[10]; InputStream is = new j... | public void testSetBinaryStream() throws Exception { //insert default values into the table byte[] bytes = new byte[] { 0x65, 0x66, 0x67, 0x68, 0x69, 0x69, 0x68, 0x67, 0x66, 0x65 }; byte [] bytes1 = new byte[10]; InputStream is = new j... | 1,105,683 |
public void testSetBinaryStream() throws Exception { //insert default values into the table byte[] bytes = new byte[] { 0x65, 0x66, 0x67, 0x68, 0x69, 0x69, 0x68, 0x67, 0x66, 0x65 }; byte [] bytes1 = new byte[10]; InputStream is = new j... | public void testSetBinaryStream() throws Exception { //insert default values into the table byte[] bytes = new byte[] { 0x65, 0x66, 0x67, 0x68, 0x69, 0x69, 0x68, 0x67, 0x66, 0x65 }; byte [] bytes1 = new byte[10]; InputStream is = new j... | 1,105,684 |
public void testSetBinaryStream() throws Exception { //insert default values into the table byte[] bytes = new byte[] { 0x65, 0x66, 0x67, 0x68, 0x69, 0x69, 0x68, 0x67, 0x66, 0x65 }; byte [] bytes1 = new byte[10]; InputStream is = new j... | public void testSetBinaryStream() throws Exception { //insert default values into the table byte[] bytes = new byte[] { 0x65, 0x66, 0x67, 0x68, 0x69, 0x69, 0x68, 0x67, 0x66, 0x65 }; byte [] bytes1 = new byte[10]; InputStream is = new j... | 1,105,685 |
public void testSetBinaryStream() throws Exception { //insert default values into the table byte[] bytes = new byte[] { 0x65, 0x66, 0x67, 0x68, 0x69, 0x69, 0x68, 0x67, 0x66, 0x65 }; byte [] bytes1 = new byte[10]; InputStream is = new j... | public void testSetBinaryStream() throws Exception { //insert default values into the table byte[] bytes = new byte[] { 0x65, 0x66, 0x67, 0x68, 0x69, 0x69, 0x68, 0x67, 0x66, 0x65 }; byte [] bytes1 = new byte[10]; InputStream is = new j... | 1,105,686 |
public void testSetBlob() throws SQLException { //insert default values into the table byte[] bytes = new byte[] { 0x65, 0x66, 0x67, 0x68, 0x69, 0x69, 0x68, 0x67, 0x66, 0x65 }; InputStream is = new java.io.ByteArrayInputStream(bytes); try { ... | public void testSetBlob() throws IOException, SQLException { //insert default values into the table byte[] bytes = new byte[] { 0x65, 0x66, 0x67, 0x68, 0x69, 0x69, 0x68, 0x67, 0x66, 0x65 }; InputStream is = new java.io.ByteArrayInputStream(bytes); ... | 1,105,687 |
public void testSetBlob() throws SQLException { //insert default values into the table byte[] bytes = new byte[] { 0x65, 0x66, 0x67, 0x68, 0x69, 0x69, 0x68, 0x67, 0x66, 0x65 }; InputStream is = new java.io.ByteArrayInputStream(bytes); try { ... | public void testSetBlob() throws SQLException { //insert default values into the table byte[] bytes = new byte[] { 0x65, 0x66, 0x67, 0x68, 0x69, 0x69, 0x68, 0x67, 0x66, 0x65 }; InputStream is = new java.io.ByteArrayInputStream(bytes); try { ... | 1,105,688 |
public void testSetBlob() throws SQLException { //insert default values into the table byte[] bytes = new byte[] { 0x65, 0x66, 0x67, 0x68, 0x69, 0x69, 0x68, 0x67, 0x66, 0x65 }; InputStream is = new java.io.ByteArrayInputStream(bytes); try { ... | public void testSetBlob() throws SQLException { //insert default values into the table byte[] bytes = new byte[] { 0x65, 0x66, 0x67, 0x68, 0x69, 0x69, 0x68, 0x67, 0x66, 0x65 }; InputStream is = new java.io.ByteArrayInputStream(bytes); try { ... | 1,105,689 |
public void testSetBlob() throws SQLException { //insert default values into the table byte[] bytes = new byte[] { 0x65, 0x66, 0x67, 0x68, 0x69, 0x69, 0x68, 0x67, 0x66, 0x65 }; InputStream is = new java.io.ByteArrayInputStream(bytes); try { ... | public void testSetBlob() throws SQLException { //insert default values into the table byte[] bytes = new byte[] { 0x65, 0x66, 0x67, 0x68, 0x69, 0x69, 0x68, 0x67, 0x66, 0x65 }; InputStream is = new java.io.ByteArrayInputStream(bytes); try { ... | 1,105,690 |
public void testSetBlob() throws SQLException { //insert default values into the table byte[] bytes = new byte[] { 0x65, 0x66, 0x67, 0x68, 0x69, 0x69, 0x68, 0x67, 0x66, 0x65 }; InputStream is = new java.io.ByteArrayInputStream(bytes); try { ... | public void testSetBlob() throws SQLException { //insert default values into the table byte[] bytes = new byte[] { 0x65, 0x66, 0x67, 0x68, 0x69, 0x69, 0x68, 0x67, 0x66, 0x65 }; InputStream is = new java.io.ByteArrayInputStream(bytes); try { ... | 1,105,691 |
public void testSetBlob() throws SQLException { //insert default values into the table byte[] bytes = new byte[] { 0x65, 0x66, 0x67, 0x68, 0x69, 0x69, 0x68, 0x67, 0x66, 0x65 }; InputStream is = new java.io.ByteArrayInputStream(bytes); try { ... | public void testSetBlob() throws SQLException { //insert default values into the table byte[] bytes = new byte[] { 0x65, 0x66, 0x67, 0x68, 0x69, 0x69, 0x68, 0x67, 0x66, 0x65 }; InputStream is = new java.io.ByteArrayInputStream(bytes); try { ... | 1,105,692 |
public void testSetClob() throws SQLException { //insert default values into the table String str = "Test data for the Clob object"; StringReader is = new StringReader("Test data for the Clob object"); try { is.reset(); } catch (IOException ioe) { ... | public void testSetClob() throws IOException, SQLException { //insert default values into the table String str = "Test data for the Clob object"; StringReader is = new StringReader("Test data for the Clob object"); try { is.reset(); } catch (IOException ... | 1,105,693 |
public void testSetClob() throws SQLException { //insert default values into the table String str = "Test data for the Clob object"; StringReader is = new StringReader("Test data for the Clob object"); try { is.reset(); } catch (IOException ioe) { ... | public void testSetClob() throws SQLException { //insert default values into the table String str = "Test data for the Clob object"; StringReader is = new StringReader("Test data for the Clob object"); try { is.reset(); } catch (IOException ioe) { ... | 1,105,694 |
public void testSetClob() throws SQLException { //insert default values into the table String str = "Test data for the Clob object"; StringReader is = new StringReader("Test data for the Clob object"); try { is.reset(); } catch (IOException ioe) { ... | public void testSetClob() throws SQLException { //insert default values into the table String str = "Test data for the Clob object"; StringReader is = new StringReader("Test data for the Clob object"); try { is.reset(); } catch (IOException ioe) { ... | 1,105,695 |
public void testSetClob() throws SQLException { //insert default values into the table String str = "Test data for the Clob object"; StringReader is = new StringReader("Test data for the Clob object"); try { is.reset(); } catch (IOException ioe) { ... | public void testSetClob() throws SQLException { //insert default values into the table String str = "Test data for the Clob object"; StringReader is = new StringReader("Test data for the Clob object"); try { is.reset(); } catch (IOException ioe) { ... | 1,105,696 |
public void testSetClob() throws SQLException { //insert default values into the table String str = "Test data for the Clob object"; StringReader is = new StringReader("Test data for the Clob object"); try { is.reset(); } catch (IOException ioe) { ... | public void testSetClob() throws SQLException { //insert default values into the table String str = "Test data for the Clob object"; StringReader is = new StringReader("Test data for the Clob object"); try { is.reset(); } catch (IOException ioe) { ... | 1,105,697 |
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,105,698 |
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,105,699 |
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,105,700 |
static void CalculatePassFailStats() { // total tests run // #, % failures // #, % passed NumPass = CountLines (passFileName); NumFail = CountLines (failFileName); NumRun = NumPass+NumFail; NumSkip = CountLines (skipFileName); PercentPass = (int)Math.round(100* ((double)NumPass/(double)NumRun)); PercentFail =... | static void CalculatePassFailStats() { // total tests run // #, % failures // #, % passed NumPass = CountLines (passFileName); NumFail = CountLines (failFileName); NumRun = NumPass+NumFail; NumSkip = CountLines (skipFileName); PercentPass = (int)Math.round(100* ((double)NumPass/(double)NumRun)); PercentFail =... | 1,105,701 |
public ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { ResultColumnList resultColumns; //check if subquery is allowed in expression tree checkReliability( CompilerContext.SUBQUERY_ILLEGAL, SQLState.LANG_SUBQUERY ); resultColumns = res... | public ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { ResultColumnList resultColumns; //check if subquery is allowed in expression tree checkReliability( CompilerContext.SUBQUERY_ILLEGAL, SQLState.LANG_SUBQUERY ); resultColumns = res... | 1,105,702 |
public ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { ResultColumnList resultColumns; //check if subquery is allowed in expression tree checkReliability( CompilerContext.SUBQUERY_ILLEGAL, SQLState.LANG_SUBQUERY ); resultColumns = res... | public ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { ResultColumnList resultColumns; //check if subquery is allowed in expression tree checkReliability( CompilerContext.SUBQUERY_ILLEGAL, SQLState.LANG_SUBQUERY ); resultColumns = res... | 1,105,703 |
private boolean canAllBeFlattened () { boolean result = false; if (isNOT_IN() || isALL()) { ValueNode rightOperand = ((ResultColumn) resultSet.getResultColumns().elementAt(0)). getExpression(); result = (! leftOperand.getTypeServices().isNullable() && ! rightOperand.getTypeServices().isNullable());... | private boolean canAllBeFlattened () throws StandardException { boolean result = false; if (isNOT_IN() || isALL()) { ValueNode rightOperand = ((ResultColumn) resultSet.getResultColumns().elementAt(0)). getExpression(); result = (! leftOperand.getTypeServices().isNullable() && ! rightOperand.getType... | 1,105,704 |
public ValueNode preprocess(int numTables, FromList outerFromList, SubqueryList outerSubqueryList, PredicateList outerPredicateList) throws StandardException { /* Only preprocess this node once. We may get called multiple times * due to tree transformations. */ if (preprocessed) { r... | public ValueNode preprocess(int numTables, FromList outerFromList, SubqueryList outerSubqueryList, PredicateList outerPredicateList) throws StandardException { /* Only preprocess this node once. We may get called multiple times * due to tree transformations. */ if (preprocessed) { r... | 1,105,705 |
public Blob(byte[] binaryString, Agent agent, int dataOffset) { super(agent); binaryString_ = binaryString; dataType_ |= BINARY_STRING; sqlLength_ = binaryString.length - dataOffset; lengthObtained_ = true; dataOffset_ = dataOffset; } | public Blob(byte[] binaryString, Agent agent, int dataOffset) { super(agent, false); binaryString_ = binaryString; dataType_ |= BINARY_STRING; sqlLength_ = binaryString.length - dataOffset; lengthObtained_ = true; dataOffset_ = dataOffset; } | 1,105,706 |
public double compare(CostEstimate other) { if (SanityManager.DEBUG) { if (other == null) { SanityManager.THROWASSERT("Comparing with null CostEstimate"); } if ( ! (other instanceof CostEstimateImpl)) { SanityManager.THROWASSERT(other.getClass().getName()); } } return this.cost - ((CostEstimateImpl) o... | public double compare(CostEstimate other) { if (SanityManager.DEBUG) { if (other == null) { SanityManager.THROWASSERT("Comparing with null CostEstimate"); } if ( ! (other instanceof CostEstimateImpl)) { SanityManager.THROWASSERT(other.getClass().getName()); } } if ((this.cost != Double.POSITIVE_INFINI... | 1,105,708 |
public boolean serviceImmediately() { return false; } | public boolean serviceImmediately() { return true; } | 1,105,711 |
private NetSqlca parseSQLCAGRP(Typdef typdef) throws org.apache.derby.client.am.DisconnectException, SqlException { if (readFdocaOneByte() == CodePoint.NULLDATA) { return null; } int sqlcode = readFdocaInt(); byte[] sqlstate = readFdocaBytes(5); byte[] sqlerrproc = read... | private NetSqlca parseSQLCAGRP(Typdef typdef) throws org.apache.derby.client.am.DisconnectException, SqlException { if (readFdocaOneByte() == CodePoint.NULLDATA) { return null; } int sqlcode = readFdocaInt(); byte[] sqlstate = readFdocaBytes(5); byte[] sqlerrproc = read... | 1,105,713 |
public boolean getNextDecoratedPermutation() throws StandardException { boolean retval; Optimizable curOpt = optimizableList.getOptimizable(proposedJoinOrder[joinPosition]); double originalRowCount = 0.0; // RESOLVE: Should we step through the different join strategies here? /* Returns true until all acc... | public boolean getNextDecoratedPermutation() throws StandardException { boolean retval; Optimizable curOpt = optimizableList.getOptimizable(proposedJoinOrder[joinPosition]); double originalRowCount = 0.0; // RESOLVE: Should we step through the different join strategies here? /* Returns true until all acc... | 1,105,714 |
public boolean getNextPermutation() throws StandardException { /* Don't get any permutations if there is nothing to optimize */ if (numOptimizables < 1) { if (optimizerTrace) { trace(NO_TABLES, 0, 0, 0.0, null); } return false; } /* Make sure that all Optimizables init their access paths. * (They w... | public boolean getNextPermutation() throws StandardException { /* Don't get any permutations if there is nothing to optimize */ if (numOptimizables < 1) { if (optimizerTrace) { trace(NO_TABLES, 0, 0, 0.0, null); } return false; } /* Make sure that all Optimizables init their access paths. * (They w... | 1,105,716 |
private void rewindJoinOrder() throws StandardException { for (; ; joinPosition--) { Optimizable pullMe = optimizableList.getOptimizable( proposedJoinOrder[joinPosition]); pullMe.pullOptPredicates(predicateList); if (reloadBestPlan) pullMe.addOrLoadBestPlanMapping(false, this); proposedJoinOrd... | private void rewindJoinOrder() throws StandardException { for (; ; joinPosition--) { Optimizable pullMe = optimizableList.getOptimizable( proposedJoinOrder[joinPosition]); pullMe.pullOptPredicates(predicateList); if (reloadBestPlan) pullMe.updateBestPlanMap(FromTable.LOAD_PLAN, this); proposed... | 1,105,718 |
public Clob(Agent agent, String string) { this(agent); string_ = string; sqlLength_ = string_.length(); lengthObtained_ = true; dataType_ |= STRING; } | public Clob(Agent agent, String string) { this(agent, false); string_ = string; sqlLength_ = string_.length(); lengthObtained_ = true; dataType_ |= STRING; } | 1,105,719 |
private void cpError(int cp, int reqCP) throws IOException { String cpName = (String)codePointNameTable.get(new Integer(cp)); String reqCPName = (String)codePointNameTable.get(new Integer(reqCP)); fail("wrong codepoint val = " + Integer.toHexString(cp) + "("+cpName+")" + ", required codepoint = " + Integer.t... | private void cpError(int cp, int reqCP) throws IOException { String cpName = (String)codePointNameTable.get(new Integer(cp)); String reqCPName = (String)codePointNameTable.get(new Integer(reqCP)); fail("wrong codepoint val = " + Integer.toHexString(cp) + "("+cpName+")" + ", required codepoint = " + Integer.t... | 1,105,721 |
private void vetConnectionPooledDataSource ( HashSet<String> unsupportedList, HashSet<String> notUnderstoodList ) throws Exception { ConnectionPoolDataSource ds = getConnectionPoolDataSource(); PooledConnection pc = ds.getPooledConnection (CONFIG.getUserName(), CONFIG.getUserPassword()); Connection conn =... | private void vetConnectionPooledDataSource ( HashSet<String> unsupportedList, HashSet<String> notUnderstoodList ) throws Exception { ConnectionPoolDataSource ds = TestDataSourceFactory.getConnectionPoolDataSource(); PooledConnection pc = ds.getPooledConnection (CONFIG.getUserName(), CONFIG.getUserPassword()); ... | 1,105,722 |
private void vetDataSource ( HashSet<String> unsupportedList, HashSet<String> notUnderstoodList ) throws Exception { DataSource ds = getDataSource(); Connection conn = ds.getConnection(); vetObject( ds, unsupportedList, notUnderstoodList ); connectionWorkhorse( conn, unsupportedList, notUnderstoodList ); } | private void vetDataSource ( HashSet<String> unsupportedList, HashSet<String> notUnderstoodList ) throws Exception { DataSource ds = TestDataSourceFactory.getDataSource(); Connection conn = ds.getConnection(); vetObject( ds, unsupportedList, notUnderstoodList ); connectionWorkhorse( conn, unsupportedList, no... | 1,105,723 |
private void vetXADataSource ( HashSet<String> unsupportedList, HashSet<String> notUnderstoodList ) throws Exception { XADataSource ds = getXADataSource(); XAConnection xaconn = ds.getXAConnection (CONFIG.getUserName(), CONFIG.getUserPassword()); Connection conn = xaconn.getConnection(); vetObject( d... | private void vetXADataSource ( HashSet<String> unsupportedList, HashSet<String> notUnderstoodList ) throws Exception { XADataSource ds = TestDataSourceFactory.getXADataSource(); XAConnection xaconn = ds.getXAConnection (CONFIG.getUserName(), CONFIG.getUserPassword()); Connection conn = xaconn.getConne... | 1,105,724 |
public void dropAllDeclaredGlobalTempTables() throws StandardException { if (allDeclaredGlobalTempTables == null) return; DependencyManager dm = getDataDictionary().getDependencyManager(); StandardException topLevelStandardException = null; //collect all the exceptions we might receive while dropping the tem... | private void dropAllDeclaredGlobalTempTables() throws StandardException { if (allDeclaredGlobalTempTables == null) return; DependencyManager dm = getDataDictionary().getDependencyManager(); StandardException topLevelStandardException = null; //collect all the exceptions we might receive while dropping the te... | 1,105,725 |
protected String addResultSet(ResultSet value) throws SQLException { DRDAResultSet newDrdaRs = null; int rsNum = numResultSets; String newRsPkgcnstknStr = calculateResultSetPkgcnstknStr(rsNum); if (rsNum == 0) newDrdaRs = currentDrdaRs; else { newDrdaRs = new DRDAResultSet(); // Multiple resultSets we nee... | protected String addResultSet(ResultSet value, int holdValue) throws SQLException { DRDAResultSet newDrdaRs = null; int rsNum = numResultSets; String newRsPkgcnstknStr = calculateResultSetPkgcnstknStr(rsNum); if (rsNum == 0) newDrdaRs = currentDrdaRs; else { newDrdaRs = new DRDAResultSet(); // Multiple re... | 1,105,726 |
protected boolean execute() throws SQLException { boolean hasResultSet = ps.execute(); // java.sql.Statement says any result sets that are opened // when the statement is re-executed must be closed; this // is handled by the call to "ps.execute()" above--but we // also have to reset our 'numResultSets' counter, s... | protected boolean execute() throws SQLException { boolean hasResultSet = ps.execute(); // java.sql.Statement says any result sets that are opened // when the statement is re-executed must be closed; this // is handled by the call to "ps.execute()" above--but we // also have to reset our 'numResultSets' counter, s... | 1,105,728 |
private void notifyForUpdateCursor(DataValueDescriptor[] row, DataValueDescriptor[] newBaseRow, RowLocation rl, TableScanResultSet tableScan) throws StandardException { int[] indexCols = tableScan.indexCols; int[] changedCols = constants.changedColumnIds; boolean placedForward = false, ascending, decided ... | private void notifyForUpdateCursor(DataValueDescriptor[] row, DataValueDescriptor[] newBaseRow, RowLocation rl, TableScanResultSet tableScan) throws StandardException { int[] indexCols = tableScan.indexCols; int[] changedCols = constants.changedColumnIds; boolean placedForward = false, ascending, decided ... | 1,105,729 |
void setup() throws StandardException { boolean firstOpen = (rowChanger == null); rowCount = 0; /* Cache query plan text for source, before it gets blown away */ if (lcc.getRunTimeStatisticsMode()) { /* savedSource nulled after run time statistics generation */ savedSource = source; } /* Get or re-use the... | void setup() throws StandardException { boolean firstOpen = (rowChanger == null); rowCount = 0; /* Cache query plan text for source, before it gets blown away */ if (lcc.getRunTimeStatisticsMode()) { /* savedSource nulled after run time statistics generation */ savedSource = source; } /* Get or re-use the... | 1,105,730 |
void setup() throws StandardException { boolean firstOpen = (rowChanger == null); rowCount = 0; /* Cache query plan text for source, before it gets blown away */ if (lcc.getRunTimeStatisticsMode()) { /* savedSource nulled after run time statistics generation */ savedSource = source; } /* Get or re-use the... | void setup() throws StandardException { boolean firstOpen = (rowChanger == null); rowCount = 0; /* Cache query plan text for source, before it gets blown away */ if (lcc.getRunTimeStatisticsMode()) { /* savedSource nulled after run time statistics generation */ savedSource = source; } /* Get or re-use the... | 1,105,731 |
public void compressContainer(BaseContainerHandle handle) throws StandardException { RawTransaction ntt = handle.getTransaction().startNestedTopTransaction(); int mode = handle.getMode(); if (SanityManager.DEBUG) { SanityManager.ASSERT((mode & ContainerHandle.MODE_FORUPDATE) == ContainerHandle... | public void compressContainer(BaseContainerHandle handle) throws StandardException { RawTransaction ntt = handle.getTransaction().startNestedTopTransaction(); int mode = handle.getMode(); if (SanityManager.DEBUG) { SanityManager.ASSERT((mode & ContainerHandle.MODE_FORUPDATE) == ContainerHandle... | 1,105,732 |
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,105,733 |
public StorageRandomAccessFile openLogFileInWriteMode(StorageFile logFile) throws IOException { if(isWriteSynced) return privRandomAccessFile(logFile, "rws"); else return privRandomAccessFile(logFile, "rw"); } | private StorageRandomAccessFile openLogFileInWriteMode(StorageFile logFile) throws IOException { if(isWriteSynced) return privRandomAccessFile(logFile, "rws"); else return privRandomAccessFile(logFile, "rw"); } | 1,105,734 |
public StorageRandomAccessFile openLogFileInWriteMode(StorageFile logFile) throws IOException { if(isWriteSynced) return privRandomAccessFile(logFile, "rws"); else return privRandomAccessFile(logFile, "rw"); } | public StorageRandomAccessFile openLogFileInWriteMode(StorageFile logFile) throws IOException { if(isWriteSynced) return privRandomAccessFile(logFile, "rws"); else return privRandomAccessFile(logFile, "rw"); } | 1,105,735 |
public void recover( RawStoreFactory rsf, DataFactory df, TransactionFactory tf) throws StandardException { if (SanityManager.DEBUG) { SanityManager.ASSERT(rsf != null, "raw store factory == null"); SanityManager.ASSERT(df != null, "data factory == null"); } checkCorrupt(); rawStore... | public void recover( RawStoreFactory rsf, DataFactory df, TransactionFactory tf) throws StandardException { if (SanityManager.DEBUG) { SanityManager.ASSERT(rsf != null, "raw store factory == null"); SanityManager.ASSERT(df != null, "data factory == null"); } checkCorrupt(); rawStore... | 1,105,736 |
private void switchLogFile() throws StandardException { boolean switchedOver = false; ///////////////////////////////////////////////////// // Freeze the log for the switch over to a new log file. // This blocks out any other threads from sending log // record to the log stream. // // The switching of the log ... | private void switchLogFile() throws StandardException { boolean switchedOver = false; ///////////////////////////////////////////////////// // Freeze the log for the switch over to a new log file. // This blocks out any other threads from sending log // record to the log stream. // // The switching of the log ... | 1,105,737 |
public void setUp() throws SQLException { XADataSource xadatasource = TestDataSourceFactory.getXADataSource(); ConnectionPoolDataSource cpds = TestDataSourceFactory.getConnectionPoolDataSource(); pooledConnection = cpds.getPooledConnection(); xaconnection = xadatasource.getXAConn... | public void setUp() throws SQLException { XADataSource xadatasource = TestDataSourceFactory.getXADataSource(); ConnectionPoolDataSource cpds = TestDataSourceFactory.getConnectionPoolDataSource(); pooledConnection = cpds.getPooledConnection(); xaconnection = xadatasource.getXAConn... | 1,105,738 |
public static Test suite() { return (new TestSuite(StatementEventsTest.class, "StatementEventsTest suite")); } | public static Test suite() { return (new TestSuite(StatementEventsTest.class, "StatementEventsTest suite")); } | 1,105,739 |
private void doCatch(String command) { // this retries the failed statement // as a JSQL statement; it uses the // ijParser since that maintains our // connection and state. try { boolean elapsedTimeOn = ijParser.getElapsedTimeState(); long beginTime = 0; long endTime; if (elapsedTimeOn) { beginTime... | private boolean doCatch(String command) { // this retries the failed statement // as a JSQL statement; it uses the // ijParser since that maintains our // connection and state. try { boolean elapsedTimeOn = ijParser.getElapsedTimeState(); long beginTime = 0; long endTime; if (elapsedTimeOn) { beginT... | 1,105,740 |
private void doTrace(Throwable t) { if (util.getSystemProperty("ij.exceptionTrace") != null) { t.printStackTrace(out); } out.flush(); } | private void doTrace(Throwable t) { if (ijExceptionTrace != null) { t.printStackTrace(out); } out.flush(); } | 1,105,742 |
private void handleSQLException(LocalizedOutput out, SQLException e) throws ijFatalException { String errorCode; String sqlState = null; SQLException fatalException = null; if (showErrorCode) { errorCode = langUtil.getTextMessage("IJ_Erro0", langUtil.getNumberAsString(e.getErrorCode())); } else { errorC... | private void handleSQLException(LocalizedOutput out, SQLException e) throws ijFatalException { String errorCode; String sqlState = null; SQLException fatalException = null; if (showErrorCode) { errorCode = langUtil.getTextMessage("IJ_Erro0", langUtil.getNumberAsString(e.getErrorCode())); } else { errorC... | 1,105,743 |
private int runScriptGuts() { int scriptErrorCount = 0; boolean done = false; String command = null; while (!ijParser.exit && !done) { try{ ijParser.setConnection(connEnv[currCE], (numConnections > 1)); } catch(Throwable t){ //do nothing } connEnv[currCE].doPrompt(true, out); try { ... | private int runScriptGuts() { int scriptErrorCount = 0; boolean done = false; String command = null; while (!ijParser.exit && !done) { try{ ijParser.setConnection(connEnv[currCE], (numConnections > 1)); } catch(Throwable t){ //do nothing } connEnv[currCE].doPrompt(true, out); try { ... | 1,105,744 |
public void generate(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException { JavaValueNode methodCallBody; /* generate the parameters */ generateParameterValueSet(acb); /* * Skip over the JavaToSQLValueNode and call generate() for the JavaValueNode. * (This skips over generated ... | public void generate(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException { JavaValueNode methodCallBody; /* generate the parameters */ generateParameterValueSet(acb); /* * Skip over the JavaToSQLValueNode and call generate() for the JavaValueNode. * (This skips over generated ... | 1,105,745 |
public byte[] getBytes(long startPos, int length) throws SQLException { boolean pushStack = false; try { if (startPos < 1) throw StandardException.newException( SQLState.BLOB_BAD_POSITION, new Long(startPos)); if (length <= 0) ... | public byte[] getBytes(long startPos, int length) throws SQLException { boolean pushStack = false; try { if (startPos < 1) throw StandardException.newException( SQLState.BLOB_BAD_POSITION, new Long(startPos)); if (length <= 0) ... | 1,105,747 |
public long position(byte[] pattern, long start) throws SQLException { boolean pushStack = false; try { if (start < 1) throw StandardException.newException( SQLState.BLOB_BAD_POSITION, new Long(start)); if (pattern == null) ... | public long position(byte[] pattern, long start) throws SQLException { boolean pushStack = false; try { if (start < 1) throw StandardException.newException( SQLState.BLOB_BAD_POSITION, new Long(start)); if (pattern == null) ... | 1,105,748 |
public long position(byte[] pattern, long start) throws SQLException { boolean pushStack = false; try { if (start < 1) throw StandardException.newException( SQLState.BLOB_BAD_POSITION, new Long(start)); if (pattern == null) ... | public long position(byte[] pattern, long start) throws SQLException { boolean pushStack = false; try { if (start < 1) throw StandardException.newException( SQLState.BLOB_BAD_POSITION, new Long(start)); if (pattern == null) ... | 1,105,749 |
private void setPosition(long newPos) throws StandardException, IOException { if (SanityManager.DEBUG) SanityManager.ASSERT(newPos >= 0); if (isBytes) pos = newPos; else { // Always resets the stream to the beginning first, because user can ... | private void setPosition(long newPos) throws StandardException, IOException { if (SanityManager.DEBUG) SanityManager.ASSERT(newPos >= 0); if (isBytes) pos = newPos; else { // Always resets the stream to the beginning first, because user can ... | 1,105,750 |
private synchronized String privGetCanonicalPath(final StorageFile file) { actionCode = STORAGE_FILE_GET_CANONICALPATH_ACTION; actionStorageFile = file; try { return (String) AccessController.doPrivileged( this); } catch( PrivilegedActionException pae) { retur... | private synchronized String privGetCanonicalPath(final StorageFile file) { actionCode = STORAGE_FILE_GET_CANONICALPATH_ACTION; actionStorageFile = file; try { return (String) AccessController.doPrivileged( this); } catch( PrivilegedActionException pae) { retur... | 1,105,751 |
public void generate(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException { //generate the parameters for the DYNAMIC SET SCHEMA if (type == StatementType.SET_SCHEMA_DYNAMIC) generateParameterValueSet(acb); // The generated java is the expression: // return ResultSetFactory.getMisc... | public void generate(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException { //generate the parameters for the DYNAMIC SET SCHEMA if (type == StatementType.SET_SCHEMA_DYNAMIC) generateParameterValueSet(acb); // The generated java is the expression: // return ResultSetFactory.getMisc... | 1,105,752 |
public void deleteRow() throws SQLException { synchronized (getConnectionSynchronization()) { checksBeforeUpdateOrDelete("deleteRow", -1); // Check that the cursor is not positioned on insertRow checkNotOnInsertRow(); setupContextStack(); //now c... | public void deleteRow() throws SQLException { synchronized (getConnectionSynchronization()) { checksBeforeUpdateOrDelete("deleteRow", -1); // Check that the cursor is not positioned on insertRow checkNotOnInsertRow(); setupContextStack(); //now c... | 1,105,754 |
public void deleteRow() throws SQLException { synchronized (getConnectionSynchronization()) { checksBeforeUpdateOrDelete("deleteRow", -1); // Check that the cursor is not positioned on insertRow checkNotOnInsertRow(); setupContextStack(); //now c... | public void deleteRow() throws SQLException { synchronized (getConnectionSynchronization()) { checksBeforeUpdateOrDelete("deleteRow", -1); // Check that the cursor is not positioned on insertRow checkNotOnInsertRow(); setupContextStack(); //now c... | 1,105,755 |
public void deleteRow() throws SQLException { synchronized (getConnectionSynchronization()) { checksBeforeUpdateOrDelete("deleteRow", -1); // Check that the cursor is not positioned on insertRow checkNotOnInsertRow(); setupContextStack(); //now c... | public void deleteRow() throws SQLException { synchronized (getConnectionSynchronization()) { checksBeforeUpdateOrDelete("deleteRow", -1); // Check that the cursor is not positioned on insertRow checkNotOnInsertRow(); setupContextStack(); //now c... | 1,105,756 |
private String getFullBaseTableName(ExecCursorTableReference targetTable) { //using quotes to preserve case sensitivity if (targetTable.getSchemaName() != null) return "\"" + targetTable.getSchemaName() + "\".\"" + targetTable.getBaseName() + "\""; else return "\"" + targetTable.getBaseName() + "\""; } | private String getFullBaseTableName(ExecCursorTableReference targetTable) { //using quotes to preserve case sensitivity if (targetTable.getSchemaName() != null) return "\"" + targetTable.getSchemaName() + "\".\"" + targetTable.getBaseName() + "\""; else return "\"" + targetTable.getBaseName() + "\""; } | 1,105,758 |
private String getFullBaseTableName(ExecCursorTableReference targetTable) { //using quotes to preserve case sensitivity if (targetTable.getSchemaName() != null) return "\"" + targetTable.getSchemaName() + "\".\"" + targetTable.getBaseName() + "\""; else return "\"" + targetTable.getBaseName() + "\""; } | private String getFullBaseTableName(ExecCursorTableReference targetTable) { //using quotes to preserve case sensitivity if (targetTable.getSchemaName() != null) return "\"" + targetTable.getSchemaName() + "\".\"" + targetTable.getBaseName() + "\""; else return quoteSqlIdentifier(targetTable.getBaseName()); ... | 1,105,759 |
public void insertRow() throws SQLException { synchronized (getConnectionSynchronization()) { checksBeforeInsert(); setupContextStack(); LanguageConnectionContext lcc = null; StatementContext statementContext = null; try { /* ... | public void insertRow() throws SQLException { synchronized (getConnectionSynchronization()) { checksBeforeInsert(); setupContextStack(); LanguageConnectionContext lcc = null; StatementContext statementContext = null; try { /* ... | 1,105,760 |
public void updateRow() throws SQLException { synchronized (getConnectionSynchronization()) { checksBeforeUpdateOrDelete("updateRow", -1); // Check that the cursor is not positioned on insertRow checkNotOnInsertRow(); setupContextStack(); LanguageConnectionContex... | public void updateRow() throws SQLException { synchronized (getConnectionSynchronization()) { checksBeforeUpdateOrDelete("updateRow", -1); // Check that the cursor is not positioned on insertRow checkNotOnInsertRow(); setupContextStack(); LanguageConnectionContex... | 1,105,762 |
public void updateRow() throws SQLException { synchronized (getConnectionSynchronization()) { checksBeforeUpdateOrDelete("updateRow", -1); // Check that the cursor is not positioned on insertRow checkNotOnInsertRow(); setupContextStack(); LanguageConnectionContex... | public void updateRow() throws SQLException { synchronized (getConnectionSynchronization()) { checksBeforeUpdateOrDelete("updateRow", -1); // Check that the cursor is not positioned on insertRow checkNotOnInsertRow(); setupContextStack(); LanguageConnectionContex... | 1,105,763 |
public String toString() { if (isNull()) return "NULL"; else return getBigDecimal().toString(); } | public String toString() { if (isNull()) return "NULL"; else return getString(); } | 1,105,764 |
private void parseEXCSQLSTT() throws DRDAProtocolException,SQLException { int codePoint; String strVal; reader.markCollection(); codePoint = reader.getCodePoint(); boolean outputExpected = false; Pkgnamcsn pkgnamcsn = null; int numRows = 1; // default value int blkSize = 0; int maxrslcnt = 0; // default va... | private void parseEXCSQLSTT() throws DRDAProtocolException,SQLException { int codePoint; String strVal; reader.markCollection(); codePoint = reader.getCodePoint(); boolean outputExpected = false; Pkgnamcsn pkgnamcsn = null; int numRows = 1; // default value int blkSize = 0; int maxrslcnt = 0; // default va... | 1,105,765 |
private void parseEXCSQLSTTobjects(DRDAStatement stmt) throws DRDAProtocolException, SQLException { int codePoint; boolean gotSQLDTA = false, typeDefChanged = false; do { correlationID = reader.readDssHeader(); while (reader.moreDssData()) { codePoint = reader.readLengthAndCodePoint(); switch(codePoint... | private boolean parseEXCSQLSTTobjects(DRDAStatement stmt) throws DRDAProtocolException, SQLException { int codePoint; boolean gotSQLDTA = false, typeDefChanged = false; do { correlationID = reader.readDssHeader(); while (reader.moreDssData()) { codePoint = reader.readLengthAndCodePoint(); switch(codePo... | 1,105,766 |
private void parseEXCSQLSTTobjects(DRDAStatement stmt) throws DRDAProtocolException, SQLException { int codePoint; boolean gotSQLDTA = false, typeDefChanged = false; do { correlationID = reader.readDssHeader(); while (reader.moreDssData()) { codePoint = reader.readLengthAndCodePoint(); switch(codePoint... | private void parseEXCSQLSTTobjects(DRDAStatement stmt) throws DRDAProtocolException, SQLException { int codePoint; boolean gotSQLDTA = false, gotEXTDTA = false; boolean result = false; do { correlationID = reader.readDssHeader(); while (reader.moreDssData()) { codePoint = reader.readLengthAndCodePoint(); ... | 1,105,767 |
private void parseEXCSQLSTTobjects(DRDAStatement stmt) throws DRDAProtocolException, SQLException { int codePoint; boolean gotSQLDTA = false, typeDefChanged = false; do { correlationID = reader.readDssHeader(); while (reader.moreDssData()) { codePoint = reader.readLengthAndCodePoint(); switch(codePoint... | private void parseEXCSQLSTTobjects(DRDAStatement stmt) throws DRDAProtocolException, SQLException { int codePoint; boolean gotSQLDTA = false, typeDefChanged = false; do { correlationID = reader.readDssHeader(); while (reader.moreDssData()) { codePoint = reader.readLengthAndCodePoint(); switch(codePoint... | 1,105,768 |
private void parseEXCSQLSTTobjects(DRDAStatement stmt) throws DRDAProtocolException, SQLException { int codePoint; boolean gotSQLDTA = false, typeDefChanged = false; do { correlationID = reader.readDssHeader(); while (reader.moreDssData()) { codePoint = reader.readLengthAndCodePoint(); switch(codePoint... | private void parseEXCSQLSTTobjects(DRDAStatement stmt) throws DRDAProtocolException, SQLException { int codePoint; boolean gotSQLDTA = false, typeDefChanged = false; do { correlationID = reader.readDssHeader(); while (reader.moreDssData()) { codePoint = reader.readLengthAndCodePoint(); switch(codePoint... | 1,105,769 |
private void parseEXCSQLSTTobjects(DRDAStatement stmt) throws DRDAProtocolException, SQLException { int codePoint; boolean gotSQLDTA = false, typeDefChanged = false; do { correlationID = reader.readDssHeader(); while (reader.moreDssData()) { codePoint = reader.readLengthAndCodePoint(); switch(codePoint... | private void parseEXCSQLSTTobjects(DRDAStatement stmt) throws DRDAProtocolException, SQLException { int codePoint; boolean gotSQLDTA = false, typeDefChanged = false; do { correlationID = reader.readDssHeader(); while (reader.moreDssData()) { codePoint = reader.readLengthAndCodePoint(); switch(codePoint... | 1,105,770 |
private void parseOPNQRYobjects(DRDAStatement stmt) throws DRDAProtocolException, SQLException { int codePoint; do { correlationID = reader.readDssHeader(); while (reader.moreDssData()) { codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { // optional case CodePoint.TYPDEFNAM: ... | private void parseOPNQRYobjects(DRDAStatement stmt) throws DRDAProtocolException, SQLException { int codePoint; do { correlationID = reader.readDssHeader(); while (reader.moreDssData()) { codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { // optional case CodePoint.TYPDEFNAM: ... | 1,105,771 |
private void parseSQLDTA_work(DRDAStatement stmt) throws DRDAProtocolException,SQLException { String strVal; PreparedStatement ps = stmt.getPreparedStatement(); int codePoint; EngineParameterMetaData pmeta = null; Vector paramDrdaTypes = new Vector(); Vector paramLens = new Vector(); ArrayList paramExtPositions... | private void parseSQLDTA_work(DRDAStatement stmt) throws DRDAProtocolException,SQLException { String strVal; PreparedStatement ps = stmt.getPreparedStatement(); int codePoint; EngineParameterMetaData pmeta = null; Vector paramDrdaTypes = new Vector(); Vector paramLens = new Vector(); ArrayList paramExtPositions... | 1,105,772 |
private void readAndSetAllExtParams(DRDAStatement stmt) throws SQLException, DRDAProtocolException { int numExt = stmt.cliParamExtPositions.size(); for (int i = 0; i < stmt.cliParamExtPositions.size(); i++) { int paramPos = ((Integer) (stmt.cliParamExtPositions).get(i)).intValue(); readAndSetExtParam... | private void readAndSetAllExtParams(final DRDAStatement stmt, final boolean streamLOB) throws SQLException, DRDAProtocolException { int numExt = stmt.cliParamExtPositions.size(); for (int i = 0; i < stmt.cliParamExtPositions.size(); i++) { int paramPos = ((Integer) (stmt.cliParamExtPositions).get(i)).intV... | 1,105,773 |
private void readAndSetAllExtParams(DRDAStatement stmt) throws SQLException, DRDAProtocolException { int numExt = stmt.cliParamExtPositions.size(); for (int i = 0; i < stmt.cliParamExtPositions.size(); i++) { int paramPos = ((Integer) (stmt.cliParamExtPositions).get(i)).intValue(); readAndSetExtParam... | private void readAndSetAllExtParams(DRDAStatement stmt) throws SQLException, DRDAProtocolException { int numExt = stmt.cliParamExtPositions.size(); for (int i = 0; i < stmt.cliParamExtPositions.size(); i++) { int paramPos = ((Integer) (stmt.cliParamExtPositions).get(i)).intValue(); readAndSetExtParam... | 1,105,774 |
private void readAndSetExtParam( int i, DRDAStatement stmt, int drdaType, int extLen) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); drdaType = (drdaType & 0x000000ff); // need unsigned value boolean checkNullability = false; if (sqlamLevel >= MGR... | private void readAndSetExtParam( int i, DRDAStatement stmt, int drdaType, int extLen, boolean streamLOB) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); drdaType = (drdaType & 0x000000ff); // need unsigned value boolean checkNullability = false; if... | 1,105,775 |
private void readAndSetExtParam( int i, DRDAStatement stmt, int drdaType, int extLen) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); drdaType = (drdaType & 0x000000ff); // need unsigned value boolean checkNullability = false; if (sqlamLevel >= MGR... | private void readAndSetExtParam( int i, DRDAStatement stmt, int drdaType, int extLen) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); drdaType = (drdaType & 0x000000ff); // need unsigned value boolean checkNullability = false; if (sqlamLevel >= MGR... | 1,105,776 |
private void readAndSetExtParam( int i, DRDAStatement stmt, int drdaType, int extLen) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); drdaType = (drdaType & 0x000000ff); // need unsigned value boolean checkNullability = false; if (sqlamLevel >= MGR... | private void readAndSetExtParam( int i, DRDAStatement stmt, int drdaType, int extLen) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); drdaType = (drdaType & 0x000000ff); // need unsigned value boolean checkNullability = false; if (sqlamLevel >= MGR... | 1,105,777 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.