bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
private void processMessage( PrintWriter propertiesPW, XMLWriter ditaWriter, Element message ) throws Exception { String name = squeezeText( getFirstChild( message, "name" ) ); String sqlstate = getSQLState( name ); String rawText = squeezeText( getFirstChild( ... | private void processMessage( PrintWriter propertiesPW, XMLWriter ditaWriter, Element message ) throws Exception { String name = squeezeText( getFirstChild( message, "name" ) ); String sqlstate = getSQLState( name ); String rawText = squeezeText( getFirstChild( ... | 1,104,647 |
private static void defragmentRows( String schemaName, String tableName, DataDictionary data_dictionary, TransactionController tc) throws SQLException { GroupFetchScanController base_group_fetch_cc = null; int num_index... | private static void defragmentRows( String schemaName, String tableName, DataDictionary data_dictionary, TransactionController tc) throws SQLException { GroupFetchScanController base_group_fetch_cc = null; int num_index... | 1,104,650 |
private static void defragmentRows( String schemaName, String tableName, DataDictionary data_dictionary, TransactionController tc) throws SQLException { GroupFetchScanController base_group_fetch_cc = null; int num_index... | private static void defragmentRows( String schemaName, String tableName, DataDictionary data_dictionary, TransactionController tc) throws SQLException { GroupFetchScanController base_group_fetch_cc = null; int num_index... | 1,104,651 |
private static void purgeRows( String schemaName, String tableName, DataDictionary data_dictionary, TransactionController tc) throws StandardException { SchemaDescriptor sd = data_dictionary.getSchemaDescriptor(schemaName, tc, true); ... | private static void purgeRows( String schemaName, String tableName, DataDictionary data_dictionary, TransactionController tc) throws StandardException { SchemaDescriptor sd = data_dictionary.getSchemaDescriptor(schemaName, tc, true); ... | 1,104,652 |
private static void truncateEnd( String schemaName, String tableName, DataDictionary data_dictionary, TransactionController tc) throws StandardException { SchemaDescriptor sd = data_dictionary.getSchemaDescriptor(schemaName, tc, true);... | private static void truncateEnd( String schemaName, String tableName, DataDictionary data_dictionary, TransactionController tc) throws StandardException { SchemaDescriptor sd = data_dictionary.getSchemaDescriptor(schemaName, tc, true);... | 1,104,654 |
private static void truncateEnd( String schemaName, String tableName, DataDictionary data_dictionary, TransactionController tc) throws StandardException { SchemaDescriptor sd = data_dictionary.getSchemaDescriptor(schemaName, tc, true);... | private static void truncateEnd( String schemaName, String tableName, DataDictionary data_dictionary, TransactionController tc) throws StandardException { SchemaDescriptor sd = data_dictionary.getSchemaDescriptor(schemaName, tc, true);... | 1,104,655 |
public boolean isValid(int timeout) throws SQLException { throw SQLExceptionFactory.notImplemented("isValid(int)"); } | public boolean isValid(int timeout) throws SQLException { throw SQLExceptionFactory.notImplemented("isValid(int)"); } | 1,104,660 |
public HashLeftOuterJoinResultSet( NoPutResultSet leftResultSet, int leftNumCols, NoPutResultSet rightResultSet, int rightNumCols, Activation activation, GeneratedMethod restriction, int resultSetNumber, GeneratedMethod emptyRowFun, boolean wasRightOuterJoin, boo... | public HashLeftOuterJoinResultSet( NoPutResultSet leftResultSet, int leftNumCols, NoPutResultSet rightResultSet, int rightNumCols, Activation activation, GeneratedMethod restriction, int resultSetNumber, GeneratedMethod emptyRowFun, boolean wasRightOuterJoin, boo... | 1,104,661 |
private ResultSet getExportedKeysX(String catalog, String schema, String table) throws SqlException { checkForClosedConnectionX(); ; PreparedStatement cs = prepareMetaDataQuery("SYSIBM.SQLFOREIGNKEYS(?,?,?,?,?,?,?)"); ... | private ResultSet getExportedKeysX(String catalog, String schema, String table) throws SqlException { checkForClosedConnectionX(); ; PreparedStatement cs = prepareMetaDataQuery("SYSIBM.SQLFOREIGNKEYS(?,?,?,?,?,?,?)"); ... | 1,104,662 |
private ResultSet getImportedKeysX(String catalog, String schema, String table) throws SqlException { checkForClosedConnectionX(); PreparedStatement cs = prepareMetaDataQuery("SYSIBM.SQLFOREIGNKEYS(?,?,?,?,?,?,?)"); cs.... | private ResultSet getImportedKeysX(String catalog, String schema, String table) throws SqlException { checkForClosedConnectionX(); PreparedStatement cs = prepareMetaDataQuery("SYSIBM.SQLFOREIGNKEYS(?,?,?,?,?,?,?)"); cs.... | 1,104,663 |
private String getOptions() { int cursorHold; if (connection_.resultSetHoldability_ == JDBC30Translation.HOLD_CURSORS_OVER_COMMIT) { cursorHold = 1; } else { cursorHold = 0; } return "DATATYPE='JDBC';DYNAMIC=0;REPORTPUBLICPRIVILEGES=1;CURSORHOLD=" + cursorHol... | private String getOptions() { int cursorHold; if (connection_.holdability() == JDBC30Translation.HOLD_CURSORS_OVER_COMMIT) { cursorHold = 1; } else { cursorHold = 0; } return "DATATYPE='JDBC';DYNAMIC=0;REPORTPUBLICPRIVILEGES=1;CURSORHOLD=" + cursorHold; } | 1,104,664 |
private ResultSet getTableTypesX() throws SqlException { checkForClosedConnectionX(); ; PreparedStatement cs = null; cs = prepareMetaDataQuery("SYSIBM.SQLTABLES(?,?,?,?,?)"); cs.setStringX(1, ""); cs.setStringX(2, ""); cs.setStringX(3, ""); cs.setStringX(4, "%... | private ResultSet getTableTypesX() throws SqlException { checkForClosedConnectionX(); ; PreparedStatement cs = null; cs = prepareMetaDataQuery("SYSIBM.SQLTABLES(?,?,?,?,?)"); cs.setStringX(1, ""); cs.setStringX(2, ""); cs.setStringX(3, ""); cs.setStringX(4, "%... | 1,104,665 |
private PreparedStatement prepareMetaDataQuery(String cmd) throws SqlException { PreparedStatement ps; ps = (org.apache.derby.client.am.PreparedStatement) connection_.prepareStatementX("CALL " + cmd, java.sql.ResultSet.TYPE_FORWARD_ONLY, jav... | private PreparedStatement prepareMetaDataQuery(String cmd) throws SqlException { PreparedStatement ps; ps = (org.apache.derby.client.am.PreparedStatement) connection_.prepareStatementX("CALL " + cmd, java.sql.ResultSet.TYPE_FORWARD_ONLY, jav... | 1,104,666 |
public DerbyProperties(IProject project) throws CoreException { load(project); } | public DerbyProperties(IProject project) throws CoreException { load(project); } | 1,104,667 |
public static Test suite() { TestSuite suite = new TestSuite(); suite.addTestSuite(PreparedStatementTest.class); // Add methods temorarily disabled for DerbyNetClient suite.addTest(new PreparedStatementTest( "embonlytmptestSetClobLengthless")); suite.addTest(new... | public static Test suite() { TestSuite suite = new TestSuite(); suite.addTestSuite(PreparedStatementTest.class); // Add methods temorarily disabled for DerbyNetClient suite.addTest(new PreparedStatementTest( "embonlytmptestSetClobLengthless")); suite.addTest(new... | 1,104,668 |
protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate( "create procedure checkConn2(in d... | protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate( "create procedure checkConn2(in d... | 1,104,669 |
public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println... | public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println... | 1,104,670 |
public static DataValueDescriptor[] newRow( FormatableBitSet column_list, int[] format_ids) throws StandardException { return(allocate_objects(format_ids.length, column_list, format_ids)); } | public static DataValueDescriptor[] newRow( FormatableBitSet column_list, int[] format_ids) throws StandardException { return(allocate_objects(format_ids.length, column_list, format_ids)); } | 1,104,671 |
public static DataValueDescriptor[] newRow( FormatableBitSet column_list, int[] format_ids) throws StandardException { return(allocate_objects(format_ids.length, column_list, format_ids)); } | public static DataValueDescriptor[] newRow( FormatableBitSet column_list, int[] format_ids) throws StandardException { DataValueDescriptor[] columns = new DataValueDescriptor[template.length]; try { for (int i = template.length; i-- > 0 ;) { columns[i] = (DataValueDescriptor) te... | 1,104,672 |
private void privGetJBMSLockOnDB() throws StandardException { boolean fileLockExisted = false; String blownUUID = null; StorageFile fileLock = storageFactory.newStorageFile( DB_LOCKFILE_NAME); try { // assume we are not read only // SECURITY PERMISSION MP1... | private void privGetJBMSLockOnDB() throws StandardException { boolean fileLockExisted = false; String blownUUID = null; StorageFile fileLock = storageFactory.newStorageFile( DB_LOCKFILE_NAME); try { // assume we are not read only // SECURITY PERMISSION MP1... | 1,104,673 |
private void privReleaseJBMSLockOnDB() throws IOException { if (fileLockOnDB != null) fileLockOnDB.close(); if( storageFactory != null) { StorageFile fileLock = storageFactory.newStorageFile( DB_LOCKFILE_NAME); fileLock.releaseExclusiveFileLock(); } ... | private void privReleaseJBMSLockOnDB() throws IOException { if (fileLockOnDB != null) fileLockOnDB.close(); if( storageFactory != null) { StorageFile fileLock = storageFactory.newStorageFile(DB_LOCKFILE_NAME); fileLock.delete(); } fileLock.releaseExclusiveFil... | 1,104,674 |
private void privReleaseJBMSLockOnDB() throws IOException { if (fileLockOnDB != null) fileLockOnDB.close(); if( storageFactory != null) { StorageFile fileLock = storageFactory.newStorageFile( DB_LOCKFILE_NAME); fileLock.releaseExclusiveFileLock(); } ... | private void privReleaseJBMSLockOnDB() throws IOException { if (fileLockOnDB != null) fileLockOnDB.close(); if( storageFactory != null) { StorageFile fileLock = storageFactory.newStorageFile( DB_LOCKFILE_NAME); fileLock.releaseExclusiveFileLock(); } ... | 1,104,675 |
private static void getSystemProperties() { // Get any properties specified on the command line // which may not have been specified in the suite prop file Properties sp = System.getProperties(); String searchCP = sp.getProperty("ij.searchClassPath"); if (searchCP != null) ... | private static void getSystemProperties() { // Get any properties specified on the command line // which may not have been specified in the suite prop file Properties sp = System.getProperties(); String searchCP = sp.getProperty("ij.searchClassPath"); if (searchCP != null) ... | 1,104,676 |
private static void getSystemProperties() { // Get any properties specified on the command line // which may not have been specified in the suite prop file Properties sp = System.getProperties(); String searchCP = sp.getProperty("ij.searchClassPath"); if (searchCP != null) ... | private static void getSystemProperties() { // Get any properties specified on the command line // which may not have been specified in the suite prop file Properties sp = System.getProperties(); String searchCP = sp.getProperty("ij.searchClassPath"); if (searchCP != null) ... | 1,104,677 |
public void addRemovePermissionsDescriptor( boolean add, PermissionsDescriptor perm, String grantee, TransactionController tc) throws StandardException { int ... | public void addRemovePermissionsDescriptor( boolean add, PermissionsDescriptor perm, String grantee, TransactionController tc) throws StandardException { int ... | 1,104,678 |
public long fillBuf(int len) throws IOException{ return bh.write(this.in, len); } | public long fillBuf(int len) throws IOException{ long val = 0; if ( !streamClosed ) { val = bh.write(this.in, len); if ( val < len ) streamClosed=true; } return val; } | 1,104,680 |
public int read() throws IOException { if (SanityManager.DEBUG) SanityManager.ASSERT(recording, "Must be in record mode to perform a read."); int value = super.read(); if (value != -1) bh.write(value); return value; } | public int read() throws IOException { if (SanityManager.DEBUG) SanityManager.ASSERT(recording, "Must be in record mode to perform a read."); int value = super.read(); if (value != -1) bh.write(value); return value; } | 1,104,681 |
public int read(OutputStream out, int len) throws IOException; | public int read(OutputStream out, int len) throws IOException; | 1,104,683 |
private static void runTests(Properties suiteProps, String suite) throws IOException, Exception { // save a copy of the system properties at this point; when runing with // java threads we need to reset the system properties to this list; // otherwise we start to accumulate extraneous properti... | private static void runTests(Properties suiteProps, String suite) throws IOException, Exception { // save a copy of the system properties at this point; when runing with // java threads we need to reset the system properties to this list; // otherwise we start to accumulate extraneous properti... | 1,104,684 |
protected void compressSpace( LogInstant instant, int new_highest_page, int num_pages_truncated) throws StandardException { if (SanityManager.DEBUG) { SanityManager.ASSERT(isLatched(), "page is not latched"); SanityManager.ASSERT(isLast(), "compress on non last alloc pa... | protected void compressSpace( LogInstant instant, int new_highest_page, int num_pages_truncated) throws StandardException { if (SanityManager.DEBUG) { SanityManager.ASSERT(isLatched(), "page is not latched"); SanityManager.ASSERT(isLast(), "compress on non last alloc pa... | 1,104,686 |
public static Test suite() { TestSuite suite = new TestSuite(); // DB2 client doesn't support this functionality if (usingDerbyNet()) return suite; // Requires holdability if (JDBC.vmSupportsJDBC3() || JDBC.vmSupportsJSR169()) { su... | public static Test suite() { final TestSuite suite = new TestSuite(); // DB2 client doesn't support this functionality if (usingDerbyNet()) return suite; // Requires holdability if (JDBC.vmSupportsJDBC3() || JDBC.vmSupportsJSR169()) { ... | 1,104,687 |
public static Test suite() { TestSuite suite = new TestSuite(); // DB2 client doesn't support this functionality if (usingDerbyNet()) return suite; // Requires holdability if (JDBC.vmSupportsJDBC3() || JDBC.vmSupportsJSR169()) { su... | public static Test suite() { TestSuite suite = new TestSuite(); // DB2 client doesn't support this functionality if (usingDerbyNet()) return suite; // Requires holdability if (JDBC.vmSupportsJDBC3() || JDBC.vmSupportsJSR169()) { su... | 1,104,688 |
public static Test suite() { TestSuite suite = new TestSuite(); // DB2 client doesn't support this functionality if (usingDerbyNet()) return suite; // Requires holdability if (JDBC.vmSupportsJDBC3() || JDBC.vmSupportsJSR169()) { su... | public static Test suite() { TestSuite suite = new TestSuite(); // DB2 client doesn't support this functionality if (usingDerbyNet()) return suite; // Requires holdability if (usingEmbedded()) { suite.addTest (new ConcurrencyTest("testUpdatePurge... | 1,104,689 |
public static Test suite() { TestSuite suite = new TestSuite(); // DB2 client doesn't support this functionality if (usingDerbyNet()) return suite; // Requires holdability if (JDBC.vmSupportsJDBC3() || JDBC.vmSupportsJSR169()) { su... | public static Test suite() { TestSuite suite = new TestSuite(); // DB2 client doesn't support this functionality if (usingDerbyNet()) return suite; // Requires holdability if (JDBC.vmSupportsJDBC3() || JDBC.vmSupportsJSR169()) { su... | 1,104,690 |
public static Test suite() { TestSuite suite = new TestSuite(); // DB2 client doesn't support this functionality if (usingDerbyNet()) return suite; // Requires holdability if (JDBC.vmSupportsJDBC3() || JDBC.vmSupportsJSR169()) { su... | public static Test suite() { TestSuite suite = new TestSuite(); // DB2 client doesn't support this functionality if (usingDerbyNet()) return suite; // Requires holdability if (JDBC.vmSupportsJDBC3() || JDBC.vmSupportsJSR169()) { su... | 1,104,691 |
public void init( Object columnName, Object tableName, Object dts) { this.columnName = (String) columnName; this.tableName = (TableName) tableName; setType((DataTypeDescriptor) dts); } | public void init( Object columnName, Object tableName, Object dts) throws StandardException { this.columnName = (String) columnName; this.tableName = (TableName) tableName; setType((DataTypeDescriptor) dts); } | 1,104,692 |
public String getSubString(long pos, int length) throws SQLException { if (pos < 1) throw Util.generateCsSQLException( SQLState.BLOB_BAD_POSITION, new Long(pos)); if (length <= 0) throw Util.generateCsSQLException( SQLState.BLOB_NONPOSITIVE_LENGTH... | public String getSubString(long pos, int length) throws SQLException { if (pos < 1) throw Util.generateCsSQLException( SQLState.BLOB_BAD_POSITION, new Long(pos)); if (length <= 0) throw Util.generateCsSQLException( SQLState.BLOB_NONPOSITIVE_LENGTH... | 1,104,693 |
public java.io.InputStream getAsciiStream(int column) throws SqlException { closeCloseFilterInputStream(); if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getAsciiStream", column); } checkGetterPreconditions(column); java.io.InputStream result ... | public java.io.InputStream getAsciiStream(int column) throws SqlException { closeCloseFilterInputStream(); if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getAsciiStream", column); } checkGetterPreconditions(column); java.io.InputStream result ... | 1,104,695 |
Properties getDefaultModuleProperties() { // SECURITY PERMISSION - IP1 for modules in this jar // or other jars shipped with the Derby release. Properties moduleList = new Properties(); boolean firstList = true; ClassLoader cl = getClass().getClassLoader(); try { for( Enumeration e =... | Properties getDefaultModuleProperties() { // SECURITY PERMISSION - IP1 for modules in this jar // or other jars shipped with the Derby release. Properties moduleList = new Properties(); boolean firstList = true; ClassLoader cl = getClass().getClassLoader(); try { for( Enumeration e =... | 1,104,696 |
DateTimeDataValue getTimestamp( DataValueDescriptor date, DataValueDescriptor time) throws StandardException; | DateTimeDataValue getTimestamp( DataValueDescriptor operand) throws StandardException; | 1,104,697 |
public static final String[] splitString(String string, char separator) { /* * 0123456 * Example a;b;c;d --> new String[] { a, b, c, d } */ // System.out.println("splitString ["+path+"] using ["+separator+"]"); List list = new ArrayList(); if (string == null || string.length() == 0) { re... | public static final String[] splitString(String string, String separator) { /* * 0123456 * Example a;b;c;d --> new String[] { a, b, c, d } */ // System.out.println("splitString ["+path+"] using ["+separator+"]"); List list = new ArrayList(); if (string == null || string.length() == 0) { ... | 1,104,698 |
public static final String[] splitString(String string, char separator) { /* * 0123456 * Example a;b;c;d --> new String[] { a, b, c, d } */ // System.out.println("splitString ["+path+"] using ["+separator+"]"); List list = new ArrayList(); if (string == null || string.length() == 0) { re... | public static final String[] splitString(String string, char separator) { /* * 0123456 * Example a;b;c;d --> new String[] { a, b, c, d } */ // System.out.println("splitString ["+path+"] using ["+separator+"]"); List list = new ArrayList(); if (string == null || string.length() == 0) { re... | 1,104,699 |
public static final String[] splitString(String string, char separator) { /* * 0123456 * Example a;b;c;d --> new String[] { a, b, c, d } */ // System.out.println("splitString ["+path+"] using ["+separator+"]"); List list = new ArrayList(); if (string == null || string.length() == 0) { re... | public static final String[] splitString(String string, char separator) { /* * 0123456 * Example a;b;c;d --> new String[] { a, b, c, d } */ // System.out.println("splitString ["+path+"] using ["+separator+"]"); List list = new ArrayList(); if (string == null || string.length() == 0) { re... | 1,104,700 |
public static final String[] splitString(String string, char separator) { /* * 0123456 * Example a;b;c;d --> new String[] { a, b, c, d } */ // System.out.println("splitString ["+path+"] using ["+separator+"]"); List list = new ArrayList(); if (string == null || string.length() == 0) { re... | public static final String[] splitString(String string, char separator) { /* * 0123456 * Example a;b;c;d --> new String[] { a, b, c, d } */ // System.out.println("splitString ["+path+"] using ["+separator+"]"); List list = new ArrayList(); if (string == null || string.length() == 0) { re... | 1,104,701 |
public static final String[] splitString(String string, char separator) { /* * 0123456 * Example a;b;c;d --> new String[] { a, b, c, d } */ // System.out.println("splitString ["+path+"] using ["+separator+"]"); List list = new ArrayList(); if (string == null || string.length() == 0) { re... | public static final String[] splitString(String string, char separator) { /* * 0123456 * Example a;b;c;d --> new String[] { a, b, c, d } */ // System.out.println("splitString ["+path+"] using ["+separator+"]"); List list = new ArrayList(); if (string == null || string.length() == 0) { re... | 1,104,702 |
public static final String[] splitString(String string, char separator) { /* * 0123456 * Example a;b;c;d --> new String[] { a, b, c, d } */ // System.out.println("splitString ["+path+"] using ["+separator+"]"); List list = new ArrayList(); if (string == null || string.length() == 0) { re... | public static final String[] splitString(String string, char separator) { /* * 0123456 * Example a;b;c;d --> new String[] { a, b, c, d } */ // System.out.println("splitString ["+path+"] using ["+separator+"]"); List list = new ArrayList(); if (string == null || string.length() == 0) { re... | 1,104,703 |
protected boolean evalXQExpression(XMLDataValue xmlContext) throws Exception { // Make sure we have a compiled query. if (SanityManager.DEBUG) { SanityManager.ASSERT( (query != null) && (query.getExpression() != null), "Failed to locate compiled XML q... | protected boolean evalXQExpression(XMLDataValue xmlContext) throws Exception { // Make sure we have a compiled query. if (SanityManager.DEBUG) { SanityManager.ASSERT( (query != null) && (query.getExpression() != null), "Failed to locate compiled XML q... | 1,104,704 |
protected boolean evalXQExpression(XMLDataValue xmlContext) throws Exception { // Make sure we have a compiled query. if (SanityManager.DEBUG) { SanityManager.ASSERT( (query != null) && (query.getExpression() != null), "Failed to locate compiled XML q... | protected boolean evalXQExpression(XMLDataValue xmlContext) throws Exception { // Make sure we have a compiled query. if (SanityManager.DEBUG) { SanityManager.ASSERT( (query != null) && (query.getExpression() != null), "Failed to locate compiled XML q... | 1,104,706 |
protected boolean evalXQExpression(XMLDataValue xmlContext) throws Exception { // Make sure we have a compiled query. if (SanityManager.DEBUG) { SanityManager.ASSERT( (query != null) && (query.getExpression() != null), "Failed to locate compiled XML q... | protected boolean evalXQExpression(XMLDataValue xmlContext) throws Exception { // Make sure we have a compiled query. if (SanityManager.DEBUG) { SanityManager.ASSERT( (query != null) && (query.getExpression() != null), "Failed to locate compiled XML q... | 1,104,707 |
protected boolean evalXQExpression(XMLDataValue xmlContext) throws Exception { // Make sure we have a compiled query. if (SanityManager.DEBUG) { SanityManager.ASSERT( (query != null) && (query.getExpression() != null), "Failed to locate compiled XML q... | protected boolean evalXQExpression(XMLDataValue xmlContext) throws Exception { // Make sure we have a compiled query. if (SanityManager.DEBUG) { SanityManager.ASSERT( (query != null) && (query.getExpression() != null), "Failed to locate compiled XML q... | 1,104,708 |
public void setBlob(String parameterName, InputStream inputStream, long length) throws SQLException{ throw SQLExceptionFactory.notImplemented ("setBlob (String, InputStream, long)"); } | public void setBlob(String parameterName, InputStream inputStream, long length) throws SQLException{ throw SQLExceptionFactory.notImplemented ("setBlob (String, InputStream, long)"); } | 1,104,709 |
public void setClob(String parameterName, Reader reader, long length) throws SQLException{ throw SQLExceptionFactory.notImplemented ("setClob (String, Reader, long)"); } | public void setClob(String parameterName, Reader reader, long length) throws SQLException{ throw SQLExceptionFactory.notImplemented ("setClob (String, Reader, long)"); } | 1,104,710 |
public static void doChecks(Connection conn) throws SQLException { Statement stmt = conn.createStatement(); ResultSet rs = stmt.executeQuery("SELECT CS.CONSTRAINTNAME, " + "CS.TABLEID, CS.SCHEMAID, CK.CHECKDEFINITION FROM SYS.SYSCONSTRAINTS CS, " + "SYS.SYSCHECKS CK WHERE CS.CONSTRAINTID = " + "CK.CONSTRAINTI... | public static void doChecks(Connection conn) throws SQLException { Statement stmt = conn.createStatement(); ResultSet rs = stmt.executeQuery("SELECT CS.CONSTRAINTNAME, " + "CS.TABLEID, CS.SCHEMAID, CK.CHECKDEFINITION FROM SYS.SYSCONSTRAINTS CS, " + "SYS.SYSCHECKS CK WHERE CS.CONSTRAINTID = " + "CK.CONSTRAINTI... | 1,104,711 |
protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate("create procedure checkConn2(in dsname varchar(20... | protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate("create procedure checkConn2(in dsname varchar(20... | 1,104,712 |
protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate("create procedure checkConn2(in dsname varchar(20... | protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate("create procedure checkConn2(in dsname varchar(20... | 1,104,713 |
protected EmbedClob(DataValueDescriptor dvd, EmbedConnection con) throws StandardException { super(con); // if the underlying column is null, ResultSet.getClob will return null, // never should get this far if (SanityManager.DEBUG) SanityManager.ASSERT(!dvd.isNull(),... | protected EmbedClob(DataValueDescriptor dvd, EmbedConnection con) throws StandardException { super(con); // if the underlying column is null, ResultSet.getClob will return null, // never should get this far if (SanityManager.DEBUG) SanityManager.ASSERT(!dvd.isNull(),... | 1,104,715 |
protected EmbedClob(DataValueDescriptor dvd, EmbedConnection con) throws StandardException { super(con); // if the underlying column is null, ResultSet.getClob will return null, // never should get this far if (SanityManager.DEBUG) SanityManager.ASSERT(!dvd.isNull(),... | protected EmbedClob(DataValueDescriptor dvd, EmbedConnection con) throws StandardException { super(con); // if the underlying column is null, ResultSet.getClob will return null, // never should get this far if (SanityManager.DEBUG) SanityManager.ASSERT(!dvd.isNull(),... | 1,104,716 |
protected Goal getGoal(String name) throws JellyException { Werkz project = getProject(); if ( project == null ) { throw new JellyException( "Must use this tag inside a <maven:project> tag" ); } Goal goal = project.getGoal(name); if ( goal == null ) { throw n... | protected Goal getGoal(String name) throws JellyException { Project project = getProject(); if ( project == null ) { throw new JellyException( "Must use this tag inside a <maven:project> tag" ); } Goal goal = project.getGoal(name); if ( goal == null ) { throw... | 1,104,717 |
protected Werkz getProject() { ProjectTag tag = (ProjectTag) findAncestorWithClass(ProjectTag.class); if ( tag != null) { return tag.getProject(); } return (Werkz) context.getVariable( "org.apache.commons.jelly.werkz.Project" ); } | protected Project getProject() { ProjectTag tag = (ProjectTag) findAncestorWithClass(ProjectTag.class); if ( tag != null) { return tag.getProject(); } return (Werkz) context.getVariable( "org.apache.commons.jelly.werkz.Project" ); } | 1,104,718 |
protected Werkz getProject() { ProjectTag tag = (ProjectTag) findAncestorWithClass(ProjectTag.class); if ( tag != null) { return tag.getProject(); } return (Werkz) context.getVariable( "org.apache.commons.jelly.werkz.Project" ); } | protected Werkz getProject() { ProjectTag tag = (ProjectTag) findAncestorWithClass(ProjectTag.class); if ( tag != null) { return tag.getProject(); } return (Project) context.getVariable( "org.apache.commons.jelly.werkz.Project" ); } | 1,104,719 |
public Werkz getProject() { return project; } | public Project getProject() { return project; } | 1,104,720 |
public EncryptionManager(Agent agent) throws SqlException { agent_ = agent; try { // get a security provider that supports the diffie helman key agreement algorithm Provider[] list = Security.getProviders("KeyAgreement.DH"); if (list == null) { throw new... | public EncryptionManager(Agent agent) throws SqlException { agent_ = agent; try { // get a security provider that supports the diffie helman key agreement algorithm Provider[] list = Security.getProviders("KeyAgreement.DH"); if (list == null) { throw new... | 1,104,724 |
static LogWriter computeDncLogWriterForNewConnection(PrintWriter logWriter, String traceDirectory, String traceFile, boolean traceFileAppend, int traceLevel, String logWriterInUseSuffix, int traceFileSuffixIndex) throws SqlException { int globaltraceFileSuffixIndex = Configuration.traceFileSuffixIndex__++; ... | static LogWriter computeDncLogWriterForNewConnection(PrintWriter logWriter, String traceDirectory, String traceFile, boolean traceFileAppend, int traceLevel, String logWriterInUseSuffix, int traceFileSuffixIndex) throws SqlException { int globaltraceFileSuffixIndex = Configuration.traceFileSuffixIndex__++; ... | 1,104,726 |
protected EmbedClob(DataValueDescriptor dvd, EmbedConnection con) throws StandardException { super(con); // if the underlying column is null, ResultSet.getClob will return null, // never should get this far if (SanityManager.DEBUG) SanityManager.ASSERT(!dvd.isNull(),... | protected EmbedClob(DataValueDescriptor dvd, EmbedConnection con) throws StandardException { super(con); // if the underlying column is null, ResultSet.getClob will return null, // never should get this far if (SanityManager.DEBUG) SanityManager.ASSERT(!dvd.isNull(),... | 1,104,727 |
public StorableFormatId(int value) { this.format_id = value; } | public StorableFormatId() { this.format_id = value; } | 1,104,728 |
public StorableFormatId(int value) { this.format_id = value; } | public StorableFormatId(int value) { } | 1,104,729 |
public void deleteRow() throws SQLException { synchronized (getConnectionSynchronization()) { checksBeforeUpdateOrDelete("deleteRow", -1); setupContextStack(); //now construct the delete where current of sql try { StringBuffer deleteWhereCurrentOfSQL... | public void deleteRow() throws SQLException { synchronized (getConnectionSynchronization()) { checksBeforeUpdateOrDelete("deleteRow", -1); setupContextStack(); //now construct the delete where current of sql try { StringBuffer deleteWhereCurrentOfSQL... | 1,104,730 |
public void updateRow() throws SQLException { synchronized (getConnectionSynchronization()) { checksBeforeUpdateOrDelete("updateRow", -1); setupContextStack(); LanguageConnectionContext lcc = null; StatementContext statementContext = null; try { if (currentRowHasBeenU... | public void updateRow() throws SQLException { synchronized (getConnectionSynchronization()) { checksBeforeUpdateOrDelete("updateRow", -1); setupContextStack(); LanguageConnectionContext lcc = null; StatementContext statementContext = null; try { if (currentRowHasBeenU... | 1,104,731 |
public static void main(String[] args) { String oldJarLoc = System.getProperty("derbyTesting.oldJarLocation"); boolean[] isJar = new boolean[1]; String newJarLoc = jvm.findCodeBase(isJar); int oldMajorVersion = 10; int oldMinorVersion = 1; int newMajorVersion = 10; int newMinorVersion = 2; boolean allowPre... | public static void main(String[] args) { String oldJarLoc = System.getProperty("derbyTesting.oldJarLocation"); boolean[] isJar = new boolean[1]; String newJarLoc = jvm.findCodeBase(isJar); int oldMajorVersion = 10; int oldMinorVersion = 1; int newMajorVersion = 10; int newMinorVersion = 2; boolean allowPre... | 1,104,732 |
public static void main(String[] args) { String oldJarLoc = System.getProperty("derbyTesting.oldJarLocation"); boolean[] isJar = new boolean[1]; String newJarLoc = jvm.findCodeBase(isJar); int oldMajorVersion = 10; int oldMinorVersion = 1; int newMajorVersion = 10; int newMinorVersion = 2; boolean allowPre... | public static void main(String[] args) { String oldJarLoc = System.getProperty("derbyTesting.oldJarLocation"); boolean[] isJar = new boolean[1]; String newJarLoc = jvm.findCodeBase(isJar); int oldMajorVersion = 10; int oldMinorVersion = 1; int newMajorVersion = 10; int newMinorVersion = 2; boolean allowPre... | 1,104,733 |
public static Test suite() { final TestSuite suite = new TestSuite(); // This testcase does not require JDBC3/JSR169, since it does not // specify result set concurrency) in Connection.createStatement(). suite.addTest(new ConcurrencyTest("testSharedLocks2")); // Th... | public static Test suite() { final TestSuite suite = new TestSuite(); // This testcase does not require JDBC3/JSR169, since it does not // specify result set concurrency) in Connection.createStatement(). suite.addTest(new ConcurrencyTest("testSharedLocks2")); // Th... | 1,104,734 |
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,104,736 |
private void rememberBestCost(CostEstimate currentCost, int planType) throws StandardException { foundABestPlan = true; if (optimizerTrace) { trace(CHEAPEST_PLAN_SO_FAR, 0, 0, 0.0, null); trace(PLAN_TYPE, planType, 0, 0.0, null); trace(COST_OF_CHEAPEST_PLAN_SO_FAR, 0, 0, 0.0, null); } /* Remember the curre... | private void rememberBestCost(CostEstimate currentCost, int planType) throws StandardException { foundABestPlan = true; if (optimizerTrace) { trace(CHEAPEST_PLAN_SO_FAR, 0, 0, 0.0, null); trace(PLAN_TYPE, planType, 0, 0.0, null); trace(COST_OF_CHEAPEST_PLAN_SO_FAR, 0, 0, 0.0, null); } /* Remember the curre... | 1,104,738 |
public ValueNode bindExpression( FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { leftOperand = leftOperand.bindExpression(fromList, subqueryList, aggregateVector); rightOperand = rightOperand.bindExpression(fromList, subqueryList, aggregateVector); T... | public ValueNode bindExpression( FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { leftOperand = leftOperand.bindExpression(fromList, subqueryList, aggregateVector); rightOperand = rightOperand.bindExpression(fromList, subqueryList, aggregateVector); i... | 1,104,740 |
public ValueNode bindExpression( FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { leftOperand = leftOperand.bindExpression(fromList, subqueryList, aggregateVector); rightOperand = rightOperand.bindExpression(fromList, subqueryList, aggregateVector); T... | public ValueNode bindExpression( FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { leftOperand = leftOperand.bindExpression(fromList, subqueryList, aggregateVector); rightOperand = rightOperand.bindExpression(fromList, subqueryList, aggregateVector); T... | 1,104,741 |
public ValueNode bindExpression( FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { leftOperand = leftOperand.bindExpression(fromList, subqueryList, aggregateVector); rightOperand = rightOperand.bindExpression(fromList, subqueryList, aggregateVector); T... | public ValueNode bindExpression( FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { leftOperand = leftOperand.bindExpression(fromList, subqueryList, aggregateVector); rightOperand = rightOperand.bindExpression(fromList, subqueryList, aggregateVector); T... | 1,104,742 |
public ArrayList getFirstRows(String table_name, int limit, IProgressMonitor monitor) throws KettleDatabaseException { String sql = "SELECT * FROM "+table_name; if (limit>0) { sql+=databaseMeta.getLimitClause(limit); } return getRows(sql, limit, monitor); } | public ArrayList getFirstRows(String table_name, int limit) throws KettleDatabaseException { String sql = "SELECT * FROM "+table_name; if (limit>0) { sql+=databaseMeta.getLimitClause(limit); } return getRows(sql, limit, monitor); } | 1,104,744 |
public ArrayList getFirstRows(String table_name, int limit, IProgressMonitor monitor) throws KettleDatabaseException { String sql = "SELECT * FROM "+table_name; if (limit>0) { sql+=databaseMeta.getLimitClause(limit); } return getRows(sql, limit, monitor); } | public ArrayList getFirstRows(String table_name, int limit, IProgressMonitor monitor) throws KettleDatabaseException { String sql = "SELECT * FROM "+table_name; if (limit>0) { sql+=databaseMeta.getLimitClause(limit); } return getRows(sql, limit, monitor); } | 1,104,745 |
public final void setConnectionAttributes(String prop) throws SQLException { connectionAttributes = prop; try { updateDataSourceValues(tokenizeAttributes(prop, null)); } catch(SqlException se) { throw se.getSQLException(); } } | public final void setConnectionAttributes(String prop) { connectionAttributes = prop; try { updateDataSourceValues(tokenizeAttributes(prop, null)); } catch(SqlException se) { throw se.getSQLException(); } } | 1,104,746 |
public final void setConnectionAttributes(String prop) throws SQLException { connectionAttributes = prop; try { updateDataSourceValues(tokenizeAttributes(prop, null)); } catch(SqlException se) { throw se.getSQLException(); } } | public final void setConnectionAttributes(String prop) throws SQLException { connectionAttributes = prop; try { updateDataSourceValues(tokenizeAttributes(prop, null)); } catch(SqlException se) { throw se.getSQLException(); } } | 1,104,747 |
void updateDataSourceValues(Properties prop) throws SqlException { if (prop == null) { return; } if (prop.containsKey(Attribute.DBNAME_ATTR)) { throw new SqlException(null, new ClientMessageId(SQLState.ATTRIBUTE_NOT_ALLOWED), Attribute.DBNAME_A... | void updateDataSourceValues(Properties prop) { if (prop == null) { return; } if (prop.containsKey(Attribute.DBNAME_ATTR)) { throw new SqlException(null, new ClientMessageId(SQLState.ATTRIBUTE_NOT_ALLOWED), Attribute.DBNAME_ATTR); } ... | 1,104,748 |
void updateDataSourceValues(Properties prop) throws SqlException { if (prop == null) { return; } if (prop.containsKey(Attribute.DBNAME_ATTR)) { throw new SqlException(null, new ClientMessageId(SQLState.ATTRIBUTE_NOT_ALLOWED), Attribute.DBNAME_A... | void updateDataSourceValues(Properties prop) throws SqlException { if (prop == null) { return; } if (prop.containsKey(Attribute.DBNAME_ATTR)) { throw new SqlException(null, new ClientMessageId(SQLState.ATTRIBUTE_NOT_ALLOWED), Attribute.DBNAME_A... | 1,104,749 |
private void checkSufficientData() throws IOException { int remainingBytes = reader.clearLimit(); if (remainingBytes > 0) throw new IOException(MessageService.getTextMessage(SQLState.SET_STREAM_INSUFFICIENT_DATA)); // if we had a limit try reading one more character. // JDBC 3.0 states the stream muct have the c... | private void checkSufficientData() throws IOException { int remainingBytes = reader.clearLimit(); if (remainingBytes > 0) throw new IOException(MessageService.getTextMessage(SQLState.SET_STREAM_INEXACT_LENGTH_DATA)); // if we had a limit try reading one more character. // JDBC 3.0 states the stream muct have the... | 1,104,750 |
add(UUID id, String schemaName, String sqlName, String externalPath) throws StandardException { JarUtil jutil = new JarUtil(id, schemaName, sqlName); InputStream is = null; try { is = FileUtil.getInputStream(externalPath, 0); return jutil.add(is); } catch (java.io.IOException fnfe) { throw StandardExcept... | add(UUID id, String schemaName, String sqlName, String externalPath) throws StandardException { JarUtil jutil = new JarUtil(id, schemaName, sqlName); InputStream is = null; try { is = openJarURL(externalPath); return jutil.add(is); } catch (java.io.IOException fnfe) { throw StandardException.newException... | 1,104,753 |
replace(UUID id,String schemaName, String sqlName, String externalPath,boolean purgeOnCommit) throws StandardException { JarUtil jutil = new JarUtil(id,schemaName,sqlName); InputStream is = null; try { is = FileUtil.getInputStream(externalPath, 0); return jutil.replace(is,purgeOnCommit); } catch (java.io... | replace(UUID id,String schemaName, String sqlName, String externalPath,boolean purgeOnCommit) throws StandardException { JarUtil jutil = new JarUtil(id,schemaName,sqlName); InputStream is = null; try { is = openJarURL(externalPath); return jutil.replace(is,purgeOnCommit); } catch (java.io.IOException fnf... | 1,104,754 |
public HashJoinResultSet(NoPutResultSet leftResultSet, int leftNumCols, NoPutResultSet rightResultSet, int rightNumCols, Activation activation, GeneratedMethod restriction, int resultSetNumber, boolean oneRowRightSide, boolean notExists... | public HashJoinResultSet(NoPutResultSet leftResultSet, int leftNumCols, NoPutResultSet rightResultSet, int rightNumCols, Activation activation, GeneratedMethod restriction, int resultSetNumber, boolean oneRowRightSide, boolean notExists... | 1,104,755 |
private void add_row_to_hash_table( Hashtable hash_table, Object key, Object[] row) throws StandardException { if( spillToDisk( hash_table, key, row)) return; Object duplicate_value = null; if ((duplicate_value = hash_table.put(key, row)) == null) ... | private void add_row_to_hash_table( Hashtable hash_table, Object key, Object[] row) throws StandardException { if( spillToDisk( hash_table, key, row)) return; Object duplicate_value = null; if ((duplicate_value = hash_table.put(key, row)) == null) ... | 1,104,759 |
private void add_row_to_hash_table( Hashtable hash_table, Object key, Object[] row) throws StandardException { if( spillToDisk( hash_table, key, row)) return; Object duplicate_value = null; if ((duplicate_value = hash_table.put(key, row)) == null) ... | private void add_row_to_hash_table( Hashtable hash_table, Object key, Object[] row) throws StandardException { if( spillToDisk( hash_table, row)) return; Object duplicate_value = null; if ((duplicate_value = hash_table.put(key, row)) == null) ... | 1,104,760 |
public boolean put( boolean needsToClone, Object[] row) throws StandardException { // Are any key columns null? if (skipNullKeyColumns) { int index = 0; for ( ; index < key_column_numbers.length; index++) { if (SanityManager.DEBUG) { if (! (row[key_column_numbers[index]] instance... | public boolean put( boolean needsToClone, Object[] row) throws StandardException { // Are any key columns null? if (skipNullKeyColumns) { int index = 0; for ( ; index < key_column_numbers.length; index++) { if (SanityManager.DEBUG) { if (! (row[key_column_numbers[index]] instance... | 1,104,762 |
public boolean put( boolean needsToClone, Object[] row) throws StandardException { // Are any key columns null? if (skipNullKeyColumns) { int index = 0; for ( ; index < key_column_numbers.length; index++) { if (SanityManager.DEBUG) { if (! (row[key_column_numbers[index]] instance... | public boolean put( boolean needsToClone, Object[] row) throws StandardException { // Are any key columns null? if (skipNullKeyColumns) { int index = 0; for ( ; index < key_column_numbers.length; index++) { if (SanityManager.DEBUG) { if (! (row[key_column_numbers[index]] instance... | 1,104,763 |
private boolean spillToDisk( Hashtable hash_table, Object key, Object[] row) throws StandardException { // Once we have started spilling all new rows will go to disk, even if we have freed up some // memory by moving duplica... | private boolean spillToDisk( Hashtable hash_table, Object[] row) throws StandardException { // Once we have started spilling all new rows will go to disk, even if we have freed up some // memory by moving duplicates to disk. Thi... | 1,104,764 |
private boolean spillToDisk( Hashtable hash_table, Object key, Object[] row) throws StandardException { // Once we have started spilling all new rows will go to disk, even if we have freed up some // memory by moving duplica... | private boolean spillToDisk( Hashtable hash_table, Object key, Object[] row) throws StandardException { // Once we have started spilling all new rows will go to disk, even if we have freed up some // memory by moving duplica... | 1,104,765 |
public boolean closeForEndTransaction( boolean closeHeldScan) throws StandardException { SanityManager.DEBUG_PRINT("GenericScanController.closeForEndTransaction", "closeHeldScan = " + closeHeldScan + "open_conglom.getHold() = " + open_conglom.getHold()); ... | public boolean closeForEndTransaction( boolean closeHeldScan) throws StandardException { SanityManager.DEBUG_PRINT("GenericScanController.closeForEndTransaction", "closeHeldScan = " + closeHeldScan + "open_conglom.getHold() = " + open_conglom.getHold()); ... | 1,104,767 |
public void openCore() throws StandardException { beginTime = getCurrentTimeMillis(); if (SanityManager.DEBUG) SanityManager.ASSERT( ! isOpen, "ScrollInsensitiveResultSet already open"); source.openCore(); isOpen = true; numOpens++; /* Create the hash table. We pass * null in as the row source a... | public void openCore() throws StandardException { beginTime = getCurrentTimeMillis(); if (SanityManager.DEBUG) SanityManager.ASSERT( ! isOpen, "ScrollInsensitiveResultSet already open"); source.openCore(); isOpen = true; numOpens++; /* Create the hash table. We pass * null in as the row source a... | 1,104,770 |
public void openCore() throws StandardException { beginTime = getCurrentTimeMillis(); if (SanityManager.DEBUG) SanityManager.ASSERT( ! isOpen, "ScrollInsensitiveResultSet already open"); source.openCore(); isOpen = true; numOpens++; /* Create the hash table. We pass * null in as the row source a... | public void openCore() throws StandardException { beginTime = getCurrentTimeMillis(); if (SanityManager.DEBUG) SanityManager.ASSERT( ! isOpen, "ScrollInsensitiveResultSet already open"); source.openCore(); isOpen = true; numOpens++; /* Create the hash table. We pass * null in as the row source a... | 1,104,771 |
void parseABNUOWRM(ConnectionCallbackInterface connection) throws DisconnectException { boolean svrcodReceived = false; int svrcod = CodePoint.SVRCOD_INFO; boolean rdbnamReceived = false; String rdbnam = null; parseLengthAndMatchCodePoint(CodePoint.ABNUOWRM); pushLengthOnCo... | void parseABNUOWRM() throws DisconnectException { boolean svrcodReceived = false; int svrcod = CodePoint.SVRCOD_INFO; boolean rdbnamReceived = false; String rdbnam = null; parseLengthAndMatchCodePoint(CodePoint.ABNUOWRM); pushLengthOnCollectionStack(); int peekCP = p... | 1,104,772 |
void parseABNUOWRM(ConnectionCallbackInterface connection) throws DisconnectException { boolean svrcodReceived = false; int svrcod = CodePoint.SVRCOD_INFO; boolean rdbnamReceived = false; String rdbnam = null; parseLengthAndMatchCodePoint(CodePoint.ABNUOWRM); pushLengthOnCo... | void parseABNUOWRM(ConnectionCallbackInterface connection) throws DisconnectException { boolean svrcodReceived = false; int svrcod = CodePoint.SVRCOD_INFO; boolean rdbnamReceived = false; String rdbnam = null; parseLengthAndMatchCodePoint(CodePoint.ABNUOWRM); pushLengthOnCo... | 1,104,773 |
NetSqlca parseAbnormalEndUow(ConnectionCallbackInterface connection) throws DisconnectException { parseABNUOWRM(connection); if (peekCodePoint() != CodePoint.SQLCARD) { parseTypdefsOrMgrlvlovrs(); } NetSqlca netSqlca = parseSQLCARD(null); return netSqlca; } | NetSqlca parseAbnormalEndUow(ConnectionCallbackInterface connection) throws DisconnectException { parseABNUOWRM(connection); if (peekCodePoint() != CodePoint.SQLCARD) { parseTypdefsOrMgrlvlovrs(); } NetSqlca netSqlca = parseSQLCARD(null); return netSqlca; } | 1,104,774 |
protected void parseCommitError(ConnectionCallbackInterface connection) throws DisconnectException { int peekCP = peekCodePoint(); switch (peekCP) { case CodePoint.ABNUOWRM: NetSqlca sqlca = parseAbnormalEndUow(connection); connection.completeSqlca(sqlca); break... | protected void parseCommitError(ConnectionCallbackInterface connection) throws DisconnectException { int peekCP = peekCodePoint(); switch (peekCP) { case CodePoint.ABNUOWRM: NetSqlca sqlca = parseAbnormalEndUow(connection,null); connection.completeSqlca(sqlca); ... | 1,104,776 |
final void skipBytes() throws org.apache.derby.client.am.DisconnectException { int len = ddmScalarLen_; ensureBLayerDataInBuffer(len); adjustLengths(len); pos_ += len; } | final void skipBytes() throws org.apache.derby.client.am.DisconnectException { int len = ddmScalarLen_; ensureBLayerDataInBuffer(len); adjustLengths(len); pos_ += len; } | 1,104,777 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.