bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public NoPutResultSet getProjectRestrictResultSet(NoPutResultSet source, GeneratedMethod restriction, GeneratedMethod projection, int resultSetNumber, GeneratedMethod constantRestriction, int mapRefItem, boolean reuseResult, boolean doesProjection, double optimizerEstimatedRowCount, double optimizerEstimatedC...
public NoPutResultSet getProjectRestrictResultSet(NoPutResultSet source, GeneratedMethod restriction, GeneratedMethod projection, int resultSetNumber, GeneratedMethod constantRestriction, int mapRefItem, boolean reuseResult, boolean doesProjection, double optimizerEstimatedRowCount, double optimizerEstimatedC...
1,102,785
public NoPutResultSet getRaDependentTableScanResultSet( Activation activation, long conglomId, int scociItem, GeneratedMethod resultRowAllocator, int resultSetNumber, GeneratedMethod startKeyGetter, int startSearchOperator, GeneratedMeth...
public NoPutResultSet getRaDependentTableScanResultSet( Activation activation, long conglomId, int scociItem, GeneratedMethod resultRowAllocator, int resultSetNumber, GeneratedMethod startKeyGetter, int startSearchOperator, GeneratedMeth...
1,102,786
public NoPutResultSet getRowResultSet(Activation activation, GeneratedMethod row, boolean canCacheRow, int resultSetNumber, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod closeCleanup) { return new RowResultSet(activation, row, canCach...
public NoPutResultSet getRowResultSet(Activation activation, GeneratedMethod row, boolean canCacheRow, int resultSetNumber, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod closeCleanup) { return new RowResultSet(activation, row, canCach...
1,102,787
public NoPutResultSet getScalarAggregateResultSet(NoPutResultSet source, boolean isInSortedOrder, int aggregateItem, int orderItem, GeneratedMethod rowAllocator, int maxRowSize, int resultSetNumber, boolean singleInputRow, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod cl...
public NoPutResultSet getScalarAggregateResultSet(NoPutResultSet source, boolean isInSortedOrder, int aggregateItem, int orderItem, GeneratedMethod rowAllocator, int maxRowSize, int resultSetNumber, boolean singleInputRow, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod cl...
1,102,788
public NoPutResultSet getScrollInsensitiveResultSet(NoPutResultSet source, Activation activation, int resultSetNumber, int sourceRowWidth, boolean scrollable, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod closeCleanup) throws StandardExcep...
public NoPutResultSet getScrollInsensitiveResultSet(NoPutResultSet source, Activation activation, int resultSetNumber, int sourceRowWidth, boolean scrollable, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod closeCleanup) throws StandardExcep...
1,102,789
public NoPutResultSet getSetOpResultSet( NoPutResultSet leftSource, NoPutResultSet rightSource, Activation activation, int resultSetNumber, ...
public NoPutResultSet getSetOpResultSet( NoPutResultSet leftSource, NoPutResultSet rightSource, Activation activation, int resultSetNumber, ...
1,102,790
public NoPutResultSet getSortResultSet(NoPutResultSet source, boolean distinct, boolean isInSortedOrder, int orderItem, GeneratedMethod rowAllocator, int maxRowSize, int resultSetNumber, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod closeCleanup) throws StandardExcepti...
public NoPutResultSet getSortResultSet(NoPutResultSet source, boolean distinct, boolean isInSortedOrder, int orderItem, GeneratedMethod rowAllocator, int maxRowSize, int resultSetNumber, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod closeCleanup) throws StandardExcepti...
1,102,791
public NoPutResultSet getTableScanResultSet( Activation activation, long conglomId, int scociItem, GeneratedMethod resultRowAllocator, int resultSetNumber, GeneratedMethod startKeyGetter, int startSearchOperator, GeneratedMethod stopKeyG...
public NoPutResultSet getTableScanResultSet( Activation activation, long conglomId, int scociItem, GeneratedMethod resultRowAllocator, int resultSetNumber, GeneratedMethod startKeyGetter, int startSearchOperator, GeneratedMethod stopKeyG...
1,102,792
public NoPutResultSet getUnionResultSet(NoPutResultSet leftResultSet, NoPutResultSet rightResultSet, int resultSetNumber, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod closeCleanup) throws StandardException { return new UnionRe...
public NoPutResultSet getUnionResultSet(NoPutResultSet leftResultSet, NoPutResultSet rightResultSet, int resultSetNumber, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod closeCleanup) throws StandardException { return new UnionRe...
1,102,793
public NoPutResultSet getVTIResultSet(Activation activation, GeneratedMethod row, int resultSetNumber, GeneratedMethod constructor, String javaClassName, Qualifier[][] pushedQualifiers, int erdNumber, boolean version2, boolean reuseablePs, int ctc...
public NoPutResultSet getVTIResultSet(Activation activation, GeneratedMethod row, int resultSetNumber, GeneratedMethod constructor, String javaClassName, Qualifier[][] pushedQualifiers, int erdNumber, boolean version2, boolean reuseablePs, int ctc...
1,102,794
public static String handleResult(int exitCode, InputStream stdout, InputStream stderr, PrintWriter printWriter) throws IOException { StringBuffer sb = new StringBuffer(); // only used for debugging sb.append("exitcode="); sb.append(exitCode); if (stdout != null) { // reader ...
public static String handleResult(int exitCode, InputStream stdout, InputStream stderr, PrintWriter printWriter) throws IOException { StringBuffer sb = new StringBuffer(); // only used for debugging sb.append("exitcode="); sb.append(exitCode); if (stdout != null) { // reader ...
1,102,795
public static void main(String[] args) { try{ util.getPropertyArg(args); testShutDownWithCommitedTransaction(); testShutDownWithRollbackedTransaction(); testShutDownWithLeftTransaction(); }catch(IOException e){ e.printStackTrace(); }catch(SQLException e){ e.printStackTrace(); }catch(ClassNotFo...
public static void main(String[] args) { try{ testShutDownWithCommitedTransaction(); testShutDownWithRollbackedTransaction(); testShutDownWithLeftTransaction(); }catch(IOException e){ e.printStackTrace(); }catch(SQLException e){ e.printStackTrace(); }catch(ClassNotFoundException e){ e.print...
1,102,796
public static void main(String[] args) { try{ util.getPropertyArg(args); testShutDownWithCommitedTransaction(); testShutDownWithRollbackedTransaction(); testShutDownWithLeftTransaction(); }catch(IOException e){ e.printStackTrace(); }catch(SQLException e){ e.printStackTrace(); }catch(ClassNotFo...
public static void main(String[] args) { try{ util.getPropertyArg(args); testShutDownWithCommitedTransaction(); testShutDownWithRollbackedTransaction(); testShutDownWithLeftTransaction(); }catch(IOException e){ e.printStackTrace(); }catch(SQLException e){ e.printStackTrace(); }catch(ClassNotFo...
1,102,797
public static void main(String[] args) { try{ util.getPropertyArg(args); testShutDownWithCommitedTransaction(); testShutDownWithRollbackedTransaction(); testShutDownWithLeftTransaction(); }catch(IOException e){ e.printStackTrace(); }catch(SQLException e){ e.printStackTrace(); }catch(ClassNotFo...
public static void main(String[] args) { try{ util.getPropertyArg(args); testShutDownWithCommitedTransaction(); testShutDownWithRollbackedTransaction(); testShutDownWithLeftTransaction(); }catch(IOException e){ e.printStackTrace(); }catch(SQLException e){ e.printStackTrace(); }catch(ClassNotFo...
1,102,798
private static Connection openConnectionToNewDatabase(String databaseName) throws SQLException, ClassNotFoundException, InstantiationException, IllegalAccessException { System.setProperty("database", databaseName + ";create=true"); Connection conn = util.startJBMS(); System.out.println("A connection to...
private static Connection openConnectionToNewDatabase(String databaseName) throws SQLException { System.setProperty("database", databaseName + ";create=true"); Connection conn = util.startJBMS(); System.out.println("A connection to " + databaseName + " was opened."); return conn; }
1,102,799
private static Connection openConnectionToNewDatabase(String databaseName) throws SQLException, ClassNotFoundException, InstantiationException, IllegalAccessException { System.setProperty("database", databaseName + ";create=true"); Connection conn = util.startJBMS(); System.out.println("A connection to...
private static Connection openConnectionToNewDatabase(String databaseName) throws SQLException, ClassNotFoundException, InstantiationException, IllegalAccessException { System.setProperty("database", databaseName + ";create=true"); Connection conn = util.startJBMS(); System.out.println("A connection to...
1,102,800
private static Connection reopenConnectionToDatabase(String databaseName) throws SQLException, ClassNotFoundException, InstantiationException, IllegalAccessException { System.setProperty("database", databaseName); return util.startJBMS(); }
private static Connection reopenConnectionToDatabase(String databaseName) throws SQLException { System.setProperty("database", databaseName); return util.startJBMS(); }
1,102,801
private static Connection reopenConnectionToDatabase(String databaseName) throws SQLException, ClassNotFoundException, InstantiationException, IllegalAccessException { System.setProperty("database", databaseName); return util.startJBMS(); }
private static Connection reopenConnectionToDatabase(String databaseName) throws SQLException, ClassNotFoundException, InstantiationException, IllegalAccessException { System.setProperty("database", databaseName); return util.startJBMS(); }
1,102,802
private static void shutdownDatabase(String databaseName) throws SQLException, ClassNotFoundException, InstantiationException, IllegalAccessException { System.setProperty("database", databaseName + ";shutdown=true"); util.startJBMS(); System.out.println(databaseName + " was shutted down."); }
private static void shutdownDatabase(String databaseName) throws SQLException, ClassNotFoundException, InstantiationException, IllegalAccessException { System.setProperty("database", databaseName + ";shutdown=true"); util.startJBMS(); System.out.println(databaseName + " was shutted down."); }
1,102,803
private static void shutdownDatabase(String databaseName) throws SQLException, ClassNotFoundException, InstantiationException, IllegalAccessException { System.setProperty("database", databaseName + ";shutdown=true"); util.startJBMS(); System.out.println(databaseName + " was shutted down."); }
private static void shutdownDatabase(String databaseName) throws SQLException, ClassNotFoundException, InstantiationException, IllegalAccessException { System.setProperty("database", databaseName + ";shutdown=true"); util.startJBMS(); System.out.println(databaseName + " was shutted down."); }
1,102,804
public void setUp() throws SQLException { //create the statement object s = createStatement(); //Create the PreparedStatement that will then be used as the basis //throughout this test henceforth //This prepared statement will however NOT be used for testing //setCl...
public void setUp() throws SQLException { //create the statement object s = createStatement(); //Create the PreparedStatement that will then be used as the basis //throughout this test henceforth //This prepared statement will however NOT be used for testing //setCl...
1,102,806
public static Test suite() { TestSuite suite = new TestSuite(); suite.addTestSuite(PreparedStatementTest.class); suite.addTest(SetObjectUnsupportedTest.suite(false)); return suite; }
public static Test suite() { TestSuite suite = new TestSuite(); suite.addTestSuite(PreparedStatementTest.class); suite.addTest(SetObjectUnsupportedTest.suite(false)); return new BaseJDBCTestSetup(suite) { public void setUp() throws java.lang.Exception { try { create(); } catch (SQLExcept...
1,102,807
public void tearDown() throws Exception { s.execute("drop table ClobTestTable"); s.execute("drop table BlobTestTable"); s.close(); super.tearDown(); }
public void tearDown() throws Exception { s.execute("drop table ClobTestTable"); s.execute("drop table BlobTestTable"); s.close(); super.tearDown(); }
1,102,808
public void testSetAsciiStream() throws Exception { //insert default values into the table byte [] bytes1 = new byte[10]; InputStream is = new java.io.ByteArrayInputStream(BYTES); is.reset(); PreparedStatement ps_sb = prepareStatement("insert into C...
public void testSetAsciiStream() throws Exception { //insert default values into the table byte [] bytes1 = new byte[10]; InputStream is = new java.io.ByteArrayInputStream(BYTES); is.reset(); //initially insert the data ps_sb....
1,102,809
public void testSetAsciiStream() throws Exception { //insert default values into the table byte [] bytes1 = new byte[10]; InputStream is = new java.io.ByteArrayInputStream(BYTES); is.reset(); PreparedStatement ps_sb = prepareStatement("insert into C...
public void testSetAsciiStream() throws Exception { //insert default values into the table byte [] bytes1 = new byte[10]; InputStream is = new java.io.ByteArrayInputStream(BYTES); is.reset(); PreparedStatement ps_sb = prepareStatement("insert into C...
1,102,810
public void testSetAsciiStream() throws Exception { //insert default values into the table byte [] bytes1 = new byte[10]; InputStream is = new java.io.ByteArrayInputStream(BYTES); is.reset(); PreparedStatement ps_sb = prepareStatement("insert into C...
public void testSetAsciiStream() throws Exception { //insert default values into the table byte [] bytes1 = new byte[10]; InputStream is = new java.io.ByteArrayInputStream(BYTES); is.reset(); PreparedStatement ps_sb = prepareStatement("insert into C...
1,102,811
public void testSetAsciiStream() throws Exception { //insert default values into the table byte [] bytes1 = new byte[10]; InputStream is = new java.io.ByteArrayInputStream(BYTES); is.reset(); PreparedStatement ps_sb = prepareStatement("insert into C...
public void testSetAsciiStream() throws Exception { //insert default values into the table byte [] bytes1 = new byte[10]; InputStream is = new java.io.ByteArrayInputStream(BYTES); is.reset(); PreparedStatement ps_sb = prepareStatement("insert into C...
1,102,812
public void testSetAsciiStream() throws Exception { //insert default values into the table byte [] bytes1 = new byte[10]; InputStream is = new java.io.ByteArrayInputStream(BYTES); is.reset(); PreparedStatement ps_sb = prepareStatement("insert into C...
public void testSetAsciiStream() throws Exception { //insert default values into the table byte [] bytes1 = new byte[10]; InputStream is = new java.io.ByteArrayInputStream(BYTES); is.reset(); PreparedStatement ps_sb = prepareStatement("insert into C...
1,102,813
public void testSetAsciiStreamLengthless() throws IOException, SQLException { // Insert test data. InputStream is = new ByteArrayInputStream(BYTES); PreparedStatement psAscii = prepareStatement( "insert into ClobTestTable values (?,?)"); psAscii.setInt(1, 1); ...
public void testSetAsciiStreamLengthless() throws IOException, SQLException { // Insert test data. InputStream is = new ByteArrayInputStream(BYTES); PreparedStatement psAscii = prepareStatement( "insert into ClobTestTable values (?,?)"); psAscii.setInt(1, 1); ...
1,102,814
public void testSetAsciiStreamLengthless() throws IOException, SQLException { // Insert test data. InputStream is = new ByteArrayInputStream(BYTES); PreparedStatement psAscii = prepareStatement( "insert into ClobTestTable values (?,?)"); psAscii.setInt(1, 1); ...
public void testSetAsciiStreamLengthless() throws IOException, SQLException { // Insert test data. InputStream is = new ByteArrayInputStream(BYTES); PreparedStatement psAscii = prepareStatement( "insert into ClobTestTable values (?,?)"); psAscii.setInt(1, 1); ...
1,102,815
public void testSetAsciiStreamLengthless() throws IOException, SQLException { // Insert test data. InputStream is = new ByteArrayInputStream(BYTES); PreparedStatement psAscii = prepareStatement( "insert into ClobTestTable values (?,?)"); psAscii.setInt(1, 1); ...
public void testSetAsciiStreamLengthless() throws IOException, SQLException { // Insert test data. InputStream is = new ByteArrayInputStream(BYTES); PreparedStatement psAscii = prepareStatement( "insert into ClobTestTable values (?,?)"); psAscii.setInt(1, 1); ...
1,102,816
public void testSetBinaryStream() throws Exception { //insert default values into the table byte [] bytes1 = new byte[10]; InputStream is = new java.io.ByteArrayInputStream(BYTES); is.reset(); PreparedStatement ps_sb = prepareStatement("insert into ...
public void testSetBinaryStream() throws Exception { //insert default values into the table byte [] bytes1 = new byte[10]; InputStream is = new java.io.ByteArrayInputStream(BYTES); is.reset(); //initially insert the data ps_sb...
1,102,817
public void testSetBinaryStream() throws Exception { //insert default values into the table byte [] bytes1 = new byte[10]; InputStream is = new java.io.ByteArrayInputStream(BYTES); is.reset(); PreparedStatement ps_sb = prepareStatement("insert into ...
public void testSetBinaryStream() throws Exception { //insert default values into the table byte [] bytes1 = new byte[10]; InputStream is = new java.io.ByteArrayInputStream(BYTES); is.reset(); PreparedStatement ps_sb = prepareStatement("insert into ...
1,102,818
public void testSetBinaryStream() throws Exception { //insert default values into the table byte [] bytes1 = new byte[10]; InputStream is = new java.io.ByteArrayInputStream(BYTES); is.reset(); PreparedStatement ps_sb = prepareStatement("insert into ...
public void testSetBinaryStream() throws Exception { //insert default values into the table byte [] bytes1 = new byte[10]; InputStream is = new java.io.ByteArrayInputStream(BYTES); is.reset(); PreparedStatement ps_sb = prepareStatement("insert into ...
1,102,819
public void testSetBinaryStream() throws Exception { //insert default values into the table byte [] bytes1 = new byte[10]; InputStream is = new java.io.ByteArrayInputStream(BYTES); is.reset(); PreparedStatement ps_sb = prepareStatement("insert into ...
public void testSetBinaryStream() throws Exception { //insert default values into the table byte [] bytes1 = new byte[10]; InputStream is = new java.io.ByteArrayInputStream(BYTES); is.reset(); PreparedStatement ps_sb = prepareStatement("insert into ...
1,102,820
public void testSetBinaryStream() throws Exception { //insert default values into the table byte [] bytes1 = new byte[10]; InputStream is = new java.io.ByteArrayInputStream(BYTES); is.reset(); PreparedStatement ps_sb = prepareStatement("insert into ...
public void testSetBinaryStream() throws Exception { //insert default values into the table byte [] bytes1 = new byte[10]; InputStream is = new java.io.ByteArrayInputStream(BYTES); is.reset(); PreparedStatement ps_sb = prepareStatement("insert into ...
1,102,821
public void testSetBinaryStreamLengthless() throws IOException, SQLException { // Insert test data. InputStream is = new ByteArrayInputStream(BYTES); PreparedStatement psBinary = prepareStatement( "insert into BlobTestTable values (?,?)"); psBinary.setInt(1, 1);...
public void testSetBinaryStreamLengthless() throws IOException, SQLException { // Insert test data. InputStream is = new ByteArrayInputStream(BYTES); PreparedStatement psBinary = prepareStatement( "insert into BlobTestTable values (?,?)"); psBinary.setInt(1, 1);...
1,102,822
public void testSetBinaryStreamLengthless() throws IOException, SQLException { // Insert test data. InputStream is = new ByteArrayInputStream(BYTES); PreparedStatement psBinary = prepareStatement( "insert into BlobTestTable values (?,?)"); psBinary.setInt(1, 1);...
public void testSetBinaryStreamLengthless() throws IOException, SQLException { // Insert test data. InputStream is = new ByteArrayInputStream(BYTES); PreparedStatement psBinary = prepareStatement( "insert into BlobTestTable values (?,?)"); psBinary.setInt(1, 1);...
1,102,823
public void testSetBinaryStreamLengthless() throws IOException, SQLException { // Insert test data. InputStream is = new ByteArrayInputStream(BYTES); PreparedStatement psBinary = prepareStatement( "insert into BlobTestTable values (?,?)"); psBinary.setInt(1, 1);...
public void testSetBinaryStreamLengthless() throws IOException, SQLException { // Insert test data. InputStream is = new ByteArrayInputStream(BYTES); PreparedStatement psBinary = prepareStatement( "insert into BlobTestTable values (?,?)"); psBinary.setInt(1, 1);...
1,102,824
public void testSetBlob() throws IOException, SQLException { //insert default values into the table InputStream is = new java.io.ByteArrayInputStream(BYTES); is.reset(); PreparedStatement ps_sb = prepareStatement("insert into BlobTestTable values(?,?)"); ...
public void testSetBlob() throws IOException, SQLException { //insert default values into the table InputStream is = new java.io.ByteArrayInputStream(BYTES); is.reset(); //initially insert the data ps_sb.setInt(1,1); ps_sb.setBlob(...
1,102,825
public void testSetBlob() throws IOException, SQLException { //insert default values into the table InputStream is = new java.io.ByteArrayInputStream(BYTES); is.reset(); PreparedStatement ps_sb = prepareStatement("insert into BlobTestTable values(?,?)"); ...
public void testSetBlob() throws IOException, SQLException { //insert default values into the table InputStream is = new java.io.ByteArrayInputStream(BYTES); is.reset(); PreparedStatement ps_sb = prepareStatement("insert into BlobTestTable values(?,?)"); ...
1,102,826
public void testSetBlob() throws IOException, SQLException { //insert default values into the table InputStream is = new java.io.ByteArrayInputStream(BYTES); is.reset(); PreparedStatement ps_sb = prepareStatement("insert into BlobTestTable values(?,?)"); ...
public void testSetBlob() throws IOException, SQLException { //insert default values into the table InputStream is = new java.io.ByteArrayInputStream(BYTES); is.reset(); PreparedStatement ps_sb = prepareStatement("insert into BlobTestTable values(?,?)"); ...
1,102,827
public void testSetBlob() throws IOException, SQLException { //insert default values into the table InputStream is = new java.io.ByteArrayInputStream(BYTES); is.reset(); PreparedStatement ps_sb = prepareStatement("insert into BlobTestTable values(?,?)"); ...
public void testSetBlob() throws IOException, SQLException { //insert default values into the table InputStream is = new java.io.ByteArrayInputStream(BYTES); is.reset(); PreparedStatement ps_sb = prepareStatement("insert into BlobTestTable values(?,?)"); ...
1,102,828
public void testSetBlob() throws IOException, SQLException { //insert default values into the table InputStream is = new java.io.ByteArrayInputStream(BYTES); is.reset(); PreparedStatement ps_sb = prepareStatement("insert into BlobTestTable values(?,?)"); ...
public void testSetBlob() throws IOException, SQLException { //insert default values into the table InputStream is = new java.io.ByteArrayInputStream(BYTES); is.reset(); PreparedStatement ps_sb = prepareStatement("insert into BlobTestTable values(?,?)"); ...
1,102,829
public void testSetBlob() throws IOException, SQLException { //insert default values into the table InputStream is = new java.io.ByteArrayInputStream(BYTES); is.reset(); PreparedStatement ps_sb = prepareStatement("insert into BlobTestTable values(?,?)"); ...
public void testSetBlob() throws IOException, SQLException { //insert default values into the table InputStream is = new java.io.ByteArrayInputStream(BYTES); is.reset(); PreparedStatement ps_sb = prepareStatement("insert into BlobTestTable values(?,?)"); ...
1,102,830
public void testSetBlob() throws IOException, SQLException { //insert default values into the table InputStream is = new java.io.ByteArrayInputStream(BYTES); is.reset(); PreparedStatement ps_sb = prepareStatement("insert into BlobTestTable values(?,?)"); ...
public void testSetBlob() throws IOException, SQLException { //insert default values into the table InputStream is = new java.io.ByteArrayInputStream(BYTES); is.reset(); PreparedStatement ps_sb = prepareStatement("insert into BlobTestTable values(?,?)"); ...
1,102,831
public void testSetBlob() throws IOException, SQLException { //insert default values into the table InputStream is = new java.io.ByteArrayInputStream(BYTES); is.reset(); PreparedStatement ps_sb = prepareStatement("insert into BlobTestTable values(?,?)"); ...
public void testSetBlob() throws IOException, SQLException { //insert default values into the table InputStream is = new java.io.ByteArrayInputStream(BYTES); is.reset(); PreparedStatement ps_sb = prepareStatement("insert into BlobTestTable values(?,?)"); ...
1,102,832
public void testSetBlobLengthless() throws IOException, SQLException { // Insert test data. InputStream is = new ByteArrayInputStream(BYTES); PreparedStatement psByte = prepareStatement( "insert into BlobTestTable values (?,?)"); psByte.setInt(1, 1); psBy...
public void testSetBlobLengthless() throws IOException, SQLException { // Insert test data. InputStream is = new ByteArrayInputStream(BYTES); PreparedStatement psByte = prepareStatement( "insert into BlobTestTable values (?,?)"); psByte.setInt(1, 1); psBy...
1,102,833
public void testSetBlobLengthless() throws IOException, SQLException { // Insert test data. InputStream is = new ByteArrayInputStream(BYTES); PreparedStatement psByte = prepareStatement( "insert into BlobTestTable values (?,?)"); psByte.setInt(1, 1); psBy...
public void testSetBlobLengthless() throws IOException, SQLException { // Insert test data. InputStream is = new ByteArrayInputStream(BYTES); PreparedStatement psByte = prepareStatement( "insert into BlobTestTable values (?,?)"); psByte.setInt(1, 1); psBy...
1,102,834
public void testSetBlobLengthless() throws IOException, SQLException { // Insert test data. InputStream is = new ByteArrayInputStream(BYTES); PreparedStatement psByte = prepareStatement( "insert into BlobTestTable values (?,?)"); psByte.setInt(1, 1); psBy...
public void testSetBlobLengthless() throws IOException, SQLException { // Insert test data. InputStream is = new ByteArrayInputStream(BYTES); PreparedStatement psByte = prepareStatement( "insert into BlobTestTable values (?,?)"); psByte.setInt(1, 1); psBy...
1,102,835
public void testSetBlobLengthless() throws IOException, SQLException { // Insert test data. InputStream is = new ByteArrayInputStream(BYTES); PreparedStatement psByte = prepareStatement( "insert into BlobTestTable values (?,?)"); psByte.setInt(1, 1); psBy...
public void testSetBlobLengthless() throws IOException, SQLException { // Insert test data. InputStream is = new ByteArrayInputStream(BYTES); PreparedStatement psByte = prepareStatement( "insert into BlobTestTable values (?,?)"); psByte.setInt(1, 1); psBy...
1,102,836
public void testSetCharacterStream() throws Exception { String str = "Test data for the Clob object"; StringReader is = new StringReader("Test data for the Clob object"); is.reset(); PreparedStatement ps_sc = prepareStatement("insert into ClobTestTable values(?,?)"); ...
public void testSetCharacterStream() throws Exception { String str = "Test data for the Clob object"; StringReader is = new StringReader("Test data for the Clob object"); is.reset(); //initially insert the data ps_sc.setInt(1,1); ps_sc.setCha...
1,102,837
public void testSetCharacterStream() throws Exception { String str = "Test data for the Clob object"; StringReader is = new StringReader("Test data for the Clob object"); is.reset(); PreparedStatement ps_sc = prepareStatement("insert into ClobTestTable values(?,?)"); ...
public void testSetCharacterStream() throws Exception { String str = "Test data for the Clob object"; StringReader is = new StringReader("Test data for the Clob object"); is.reset(); PreparedStatement ps_sc = prepareStatement("insert into ClobTestTable values(?,?)"); ...
1,102,838
public void testSetCharacterStream() throws Exception { String str = "Test data for the Clob object"; StringReader is = new StringReader("Test data for the Clob object"); is.reset(); PreparedStatement ps_sc = prepareStatement("insert into ClobTestTable values(?,?)"); ...
public void testSetCharacterStream() throws Exception { String str = "Test data for the Clob object"; StringReader is = new StringReader("Test data for the Clob object"); is.reset(); PreparedStatement ps_sc = prepareStatement("insert into ClobTestTable values(?,?)"); ...
1,102,839
public void testSetCharacterStream() throws Exception { String str = "Test data for the Clob object"; StringReader is = new StringReader("Test data for the Clob object"); is.reset(); PreparedStatement ps_sc = prepareStatement("insert into ClobTestTable values(?,?)"); ...
public void testSetCharacterStream() throws Exception { String str = "Test data for the Clob object"; StringReader is = new StringReader("Test data for the Clob object"); is.reset(); PreparedStatement ps_sc = prepareStatement("insert into ClobTestTable values(?,?)"); ...
1,102,840
public void testSetCharacterStream() throws Exception { String str = "Test data for the Clob object"; StringReader is = new StringReader("Test data for the Clob object"); is.reset(); PreparedStatement ps_sc = prepareStatement("insert into ClobTestTable values(?,?)"); ...
public void testSetCharacterStream() throws Exception { String str = "Test data for the Clob object"; StringReader is = new StringReader("Test data for the Clob object"); is.reset(); PreparedStatement ps_sc = prepareStatement("insert into ClobTestTable values(?,?)"); ...
1,102,841
public void testSetCharacterStreamLengthless() throws IOException, SQLException { // Insert test data. String testString = "Test string for setCharacterStream\u1A00"; Reader reader = new StringReader(testString); PreparedStatement psChar = prepareStatement( "ins...
public void testSetCharacterStreamLengthless() throws IOException, SQLException { // Insert test data. String testString = "Test string for setCharacterStream\u1A00"; Reader reader = new StringReader(testString); PreparedStatement psChar = prepareStatement( "ins...
1,102,842
public void testSetCharacterStreamLengthless() throws IOException, SQLException { // Insert test data. String testString = "Test string for setCharacterStream\u1A00"; Reader reader = new StringReader(testString); PreparedStatement psChar = prepareStatement( "ins...
public void testSetCharacterStreamLengthless() throws IOException, SQLException { // Insert test data. String testString = "Test string for setCharacterStream\u1A00"; Reader reader = new StringReader(testString); PreparedStatement psChar = prepareStatement( "ins...
1,102,843
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"); is.reset(); PreparedStatement ps_sc = p...
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"); is.reset(); //initially...
1,102,844
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"); is.reset(); PreparedStatement ps_sc = p...
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"); is.reset(); PreparedStatement ps_sc = p...
1,102,845
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"); is.reset(); PreparedStatement ps_sc = p...
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"); is.reset(); PreparedStatement ps_sc = p...
1,102,846
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"); is.reset(); PreparedStatement ps_sc = p...
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"); is.reset(); PreparedStatement ps_sc = p...
1,102,847
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"); is.reset(); PreparedStatement ps_sc = p...
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"); is.reset(); PreparedStatement ps_sc = p...
1,102,848
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"); is.reset(); PreparedStatement ps_sc = p...
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"); is.reset(); PreparedStatement ps_sc = p...
1,102,849
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"); is.reset(); PreparedStatement ps_sc = p...
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"); is.reset(); PreparedStatement ps_sc = p...
1,102,850
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"); is.reset(); PreparedStatement ps_sc = p...
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"); is.reset(); PreparedStatement ps_sc = p...
1,102,851
public void testSetClobLengthless() throws IOException, SQLException { // Insert test data. String testString = "Test string for setCharacterStream\u1A00"; Reader reader = new StringReader(testString); PreparedStatement psChar = prepareStatement( "insert into Cl...
public void testSetClobLengthless() throws IOException, SQLException { // Insert test data. String testString = "Test string for setCharacterStream\u1A00"; Reader reader = new StringReader(testString); PreparedStatement psChar = prepareStatement( "insert into Cl...
1,102,852
public void testSetClobLengthless() throws IOException, SQLException { // Insert test data. String testString = "Test string for setCharacterStream\u1A00"; Reader reader = new StringReader(testString); PreparedStatement psChar = prepareStatement( "insert into Cl...
public void testSetClobLengthless() throws IOException, SQLException { // Insert test data. String testString = "Test string for setCharacterStream\u1A00"; Reader reader = new StringReader(testString); PreparedStatement psChar = prepareStatement( "insert into Cl...
1,102,853
public void testSetClobLengthless() throws IOException, SQLException { // Insert test data. String testString = "Test string for setCharacterStream\u1A00"; Reader reader = new StringReader(testString); PreparedStatement psChar = prepareStatement( "insert into Cl...
public void testSetClobLengthless() throws IOException, SQLException { // Insert test data. String testString = "Test string for setCharacterStream\u1A00"; Reader reader = new StringReader(testString); PreparedStatement psChar = prepareStatement( "insert into Cl...
1,102,854
public void testSetClobLengthless() throws IOException, SQLException { // Insert test data. String testString = "Test string for setCharacterStream\u1A00"; Reader reader = new StringReader(testString); PreparedStatement psChar = prepareStatement( "insert into Cl...
public void testSetClobLengthless() throws IOException, SQLException { // Insert test data. String testString = "Test string for setCharacterStream\u1A00"; Reader reader = new StringReader(testString); PreparedStatement psChar = prepareStatement( "insert into Cl...
1,102,855
public final void setAsciiStream(String parameterName, InputStream x, long length) throws SQLException { throw Util.notImplemented(); }
public final void setAsciiStream(String parameterName, InputStream x, long length) throws SQLException { throw Util.notImplemented(); }
1,102,856
public final void setBinaryStream(String parameterName, InputStream x, long length) throws SQLException { throw Util.notImplemented(); }
public final void setBinaryStream(String parameterName, InputStream x, long length) throws SQLException { throw Util.notImplemented(); }
1,102,857
public final void setCharacterStream(String parameterName, Reader x, long length) throws SQLException { throw Util.notImplemented(); }
public final void setCharacterStream(String parameterName, Reader x, long length) throws SQLException { throw Util.notImplemented(); }
1,102,858
public ResultSet getAttributes(String catalog, String schemaPattern, String typeNamePattern, String attributeNamePattern) throws SQLException { throw Util.notImplemented(); }
public ResultSet getAttributes(String catalog, String schemaPattern, String typeNamePattern, String attributeNamePattern) throws SQLException { return getSimpleQuery("getAttributes"); }
1,102,859
private PreparedStatement getPreparedQuery(String queryName) throws SQLException { PreparedStatement s; //We can safely goto system table since we are not in soft upgrade //mode and hence metadata sql in system tables are uptodate //with this Derby release. if (notInSoftUpgradeMode()) s = getPreparedQueryUsin...
protected PreparedStatement getPreparedQuery(String queryName) throws SQLException { PreparedStatement s; //We can safely goto system table since we are not in soft upgrade //mode and hence metadata sql in system tables are uptodate //with this Derby release. if (notInSoftUpgradeMode()) s = getPreparedQueryUs...
1,102,860
private ResultSet getSimpleQuery(String nameKey) throws SQLException { PreparedStatement ps = getPreparedQuery(nameKey); if (ps == null) return null; return ps.executeQuery(); }
protected ResultSet getSimpleQuery(String nameKey) throws SQLException { PreparedStatement ps = getPreparedQuery(nameKey); if (ps == null) return null; return ps.executeQuery(); }
1,102,861
public ResultSet getSuperTables(String catalog, String schemaPattern, String typeNamePattern) throws SQLException { throw Util.notImplemented(); }
public ResultSet getSuperTables(String catalog, String schemaPattern, String typeNamePattern) throws SQLException { return getSimpleQuery("getSuperTables"); }
1,102,862
public ResultSet getSuperTypes(String catalog, String schemaPattern, String typeNamePattern) throws SQLException { throw Util.notImplemented(); }
public ResultSet getSuperTypes(String catalog, String schemaPattern, String typeNamePattern) throws SQLException { return getSimpleQuery("getSuperTypes"); }
1,102,863
public boolean locatorsUpdateCopy() throws SQLException { throw Util.notImplemented(); }
public boolean locatorsUpdateCopy() throws SQLException { return false; }
1,102,864
protected String getAuthorizationID( ExecRow row, int columnPos) throws StandardException { return row.getColumn( columnPos).getString(); }
protected String getAuthorizationID( ExecRow row, int columnPos) throws StandardException { return row.getColumn( columnPos).getString(); }
1,102,867
protected String getAuthorizationID( ExecRow row, int columnPos) throws StandardException { return row.getColumn( columnPos).getString(); }
protected String getAuthorizationID( ExecRow row, int columnPos) throws StandardException { return getDataValueFactory().getVarcharDataValue( value); }
1,102,868
public TablePermsDescriptor( DataDictionary dd, String grantee, String grantor, UUID tableUUID, String selectPriv, String deletePriv, ...
public TablePermsDescriptor( DataDictionary dd, String grantee, String grantor, UUID tableUUID, String selectPriv, String deletePriv, ...
1,102,869
public void setUp() { ds = getDataSource(); }
public void setUp() { ds = TestDataSourceFactory.getDataSource(); }
1,102,871
public TupleDescriptor buildDescriptor( ExecRow row, TupleDescriptor parentTupleDescriptor, DataDictionary dd ) throws StandardException { if (SanityManager.DEBUG) { SanityManager.ASSERT(row.nColumns() == SYSCOLUMNS_COLUMN_COUNT, "Wrong number of columns for a SYSCOLUMNS row"); } int col...
public TupleDescriptor buildDescriptor( ExecRow row, TupleDescriptor parentTupleDescriptor, DataDictionary dd ) throws StandardException { if (SanityManager.DEBUG) { SanityManager.ASSERT(row.nColumns() == SYSCOLUMNS_COLUMN_COUNT, "Wrong number of columns for a SYSCOLUMNS row"); } int col...
1,102,872
public TupleDescriptor buildDescriptor( ExecRow row, TupleDescriptor parentTupleDescriptor, DataDictionary dd ) throws StandardException { if (SanityManager.DEBUG) { SanityManager.ASSERT(row.nColumns() == SYSCOLUMNS_COLUMN_COUNT, "Wrong number of columns for a SYSCOLUMNS row"); } int col...
public TupleDescriptor buildDescriptor( ExecRow row, TupleDescriptor parentTupleDescriptor, DataDictionary dd ) throws StandardException { if (SanityManager.DEBUG) { SanityManager.ASSERT(row.nColumns() == SYSCOLUMNS_COLUMN_COUNT, "Wrong number of columns for a SYSCOLUMNS row"); } int col...
1,102,873
public BranchControlRow( OpenBTree open_btree, Page page, int level, ControlRow parent, boolean isRoot, long left_child) throws StandardException { super(open_btree, page, level, parent, isRoot); this.left_child_page = n...
public BranchControlRow( OpenBTree open_btree, Page page, int level, ControlRow parent, boolean isRoot, long left_child) throws StandardException { super(open_btree, page, level, parent, isRoot); this.left_child_page = n...
1,102,874
public Trans(LogWriter lw, TransMeta transMeta) { this(lw, (String)null, (String)null, new String[] { Messages.getString("Trans.Dialog.Description.NoFileNamePreloadedTransformation") }); //$NON-NLS-1$ this.transMeta=transMeta; preview=false; preview_steps=null; preview_sizes=null; log.logMinimal(toString(), Mess...
public Trans(LogWriter lw, String file, String name, String args[]) { this(lw, (String)null, (String)null, new String[] { Messages.getString("Trans.Dialog.Description.NoFileNamePreloadedTransformation") }); //$NON-NLS-1$ this.transMeta=transMeta; preview=false; preview_steps=null; preview_sizes=null; log.logMini...
1,102,875
public Trans(LogWriter lw, TransMeta transMeta) { this(lw, (String)null, (String)null, new String[] { Messages.getString("Trans.Dialog.Description.NoFileNamePreloadedTransformation") }); //$NON-NLS-1$ this.transMeta=transMeta; preview=false; preview_steps=null; preview_sizes=null; log.logMinimal(toString(), Mess...
public Trans(LogWriter lw, TransMeta transMeta) { this(lw, (String)null, (String)null, new String[] { Messages.getString("Trans.Dialog.Description.NoFileNamePreloadedTransformation") }); //$NON-NLS-1$ this.transMeta=transMeta; preview=false; preview_steps=null; preview_sizes=null; log.logMinimal(toString(), Mess...
1,102,876
public Trans(LogWriter lw, TransMeta transMeta) { this(lw, (String)null, (String)null, new String[] { Messages.getString("Trans.Dialog.Description.NoFileNamePreloadedTransformation") }); //$NON-NLS-1$ this.transMeta=transMeta; preview=false; preview_steps=null; preview_sizes=null; log.logMinimal(toString(), Mess...
public Trans(LogWriter lw, TransMeta transMeta) { this(lw, (String)null, (String)null, new String[] { Messages.getString("Trans.Dialog.Description.NoFileNamePreloadedTransformation") }); //$NON-NLS-1$ this.transMeta=transMeta; preview=false; preview_steps=null; preview_sizes=null; log.logMinimal(toString(), Mess...
1,102,877
public static String mkExternalName(String schemaName, String sqlName, char separatorChar) { StringBuffer sb = new StringBuffer(30); sb.append("jar"); sb.append(separatorChar); sb.append(schemaName); sb.append(separatorChar); sb.append(sqlName); sb.append(".jar"); return sb.toString(); }
public static String mkExternalName(String schemaName, String sqlName, char separatorChar) { StringBuffer sb = new StringBuffer(30); sb.append(FileResource.JAR_DIRECTORY_NAME); sb.append(separatorChar); sb.append(schemaName); sb.append(separatorChar); sb.append(sqlName); sb.append(".jar"); return sb.toString()...
1,102,878
public static Test suite() { final TestSuite suite = new TestSuite("ConcurrencyTest"); // This testcase does not require JDBC3/JSR169, since it does not // specify result set concurrency) in Connection.createStatement(). suite.addTest(new ConcurrencyTest("testSharedLocks2")); ...
public static Test suite() { final TestSuite suite = new TestSuite("ConcurrencyTest"); // This testcase does not require JDBC3/JSR169, since it does not // specify result set concurrency) in Connection.createStatement(). suite.addTest(new ConcurrencyTest("testSharedLocks2")); ...
1,102,880
public static Test suite() { final TestSuite suite = new TestSuite("ConcurrencyTest"); // This testcase does not require JDBC3/JSR169, since it does not // specify result set concurrency) in Connection.createStatement(). suite.addTest(new ConcurrencyTest("testSharedLocks2")); ...
public static Test suite() { final TestSuite suite = new TestSuite("ConcurrencyTest"); // This testcase does not require JDBC3/JSR169, since it does not // specify result set concurrency) in Connection.createStatement(). suite.addTest(new ConcurrencyTest("testSharedLocks2")); ...
1,102,881
public static Test suite() { TestSuite mainSuite = new TestSuite("SURQueryMixTest suite"); // DB2 client doesn't support this functionality if (usingDerbyNet()) return mainSuite; // Iterate over all data models and decorate the tests: for (Itera...
public static Test suite() { TestSuite mainSuite = new TestSuite("SURQueryMixTest suite"); // DB2 client doesn't support this functionality if (usingDerbyNet()) return mainSuite; // Iterate over all data models and decorate the tests: for (Itera...
1,102,882
public static Test suite() { TestSuite suite = new TestSuite("UpdateXXXTest"); // DB2 client doesn't support this functionality if (usingDerbyNet()) return suite; suite.addTestSuite(UpdateXXXTest.class); // requires java.math.BigDecimal if...
public static Test suite() { // DB2 client doesn't support this functionality if (usingDerbyNet()) return suite; suite.addTestSuite(UpdateXXXTest.class); // requires java.math.BigDecimal if (JDBC.vmSupportsJDBC2()) suite.addTes...
1,102,883
public static Test suite() { TestSuite suite = new TestSuite("UpdateXXXTest"); // DB2 client doesn't support this functionality if (usingDerbyNet()) return suite; suite.addTestSuite(UpdateXXXTest.class); // requires java.math.BigDecimal if...
public static Test suite() { TestSuite suite = new TestSuite("UpdateXXXTest"); // DB2 client doesn't support this functionality if (usingDerbyNet()) return new TestSuite("empty"); suite.addTestSuite(UpdateXXXTest.class); // requires java.math.Big...
1,102,884
public static Test suite() { TestSuite suite = new TestSuite("UpdateXXXTest"); // DB2 client doesn't support this functionality if (usingDerbyNet()) return suite; suite.addTestSuite(UpdateXXXTest.class); // requires java.math.BigDecimal if...
public static Test suite() { TestSuite suite = new TestSuite("UpdateXXXTest"); // DB2 client doesn't support this functionality if (usingDerbyNet()) return suite; TestSuite suite = baseSuite("UpdateXXXTest"); // requires java.math.BigDecimal ...
1,102,885
public static Test suite() { TestSuite suite = new TestSuite("UpdateXXXTest"); // DB2 client doesn't support this functionality if (usingDerbyNet()) return suite; suite.addTestSuite(UpdateXXXTest.class); // requires java.math.BigDecimal if...
public static Test suite() { TestSuite suite = new TestSuite("UpdateXXXTest"); // DB2 client doesn't support this functionality if (usingDerbyNet()) return suite; suite.addTestSuite(UpdateXXXTest.class); // requires java.math.BigDecimal if...
1,102,886
public static Test suite() { return new TestSuite(ResultSetCloseTest.class,"ResultSetCloseTest suite"); }
public static Test suite() { TestSuite suite = new TestSuite("ResultSetCloseTest"); if (usingDerbyNet()) return suite; suite.addTestSuite(ResultSetCloseTest.class); return suite; }
1,102,887
public static Test suite() { TestSuite suite = new TestSuite("DataSourcePropertiesTest"); // TODO: Run fixtures in J2ME and JDBC2 (with extensions) // that can be supported there. This disabling matches // the original _app.properties file. Concern was over ...
public static Test suite() { TestSuite suite = new TestSuite("DataSourcePropertiesTest"); // TODO: Run fixtures in J2ME and JDBC2 (with extensions) // that can be supported there. This disabling matches // the original _app.properties file. Concern was over ...
1,102,888
public Statement(Agent agent, Connection connection) throws SqlException { this(); initStatement(agent, connection); }
public Statement(Agent agent, Connection connection) throws SqlException { this(); initStatement(agent, connection); }
1,102,889