bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
protected int prepScalarStream (boolean chainedWithSameCorrelator, int codePoint, boolean writeNullByte, int leftToRead) throws DRDAProtocolException { int extendedLengthByteCount; int nullIndicatorSize = 0; ... | protected int prepScalarStream (boolean chainedWithSameCorrelator, int codePoint, boolean writeNullByte, int leftToRead) throws DRDAProtocolException { int extendedLengthByteCount; int nullIndicatorSize = 0; ... | 1,107,862 |
protected int prepScalarStream (boolean chainedWithSameCorrelator, int codePoint, boolean writeNullByte, int leftToRead) throws DRDAProtocolException { int extendedLengthByteCount; int nullIndicatorSize = 0; ... | protected int prepScalarStream (boolean chainedWithSameCorrelator, int codePoint, boolean writeNullByte, int leftToRead) throws DRDAProtocolException { int extendedLengthByteCount; int nullIndicatorSize = 0; ... | 1,107,863 |
private void sendBytes (java.io.OutputStream socketOutputStream) throws java.io.IOException { resetChainState(); try { socketOutputStream.write (bytes, 0, offset); socketOutputStream.flush(); } finally { if ((dssTrace != null) && dssTrace.isComBufferTraceOn()) { dssTrace.writeComBufferData (byt... | private void sendBytes (java.io.OutputStream socketOutputStream) throws java.io.IOException { resetChainState(); try { socketOutputStream.write (bytes, 0, offset); socketOutputStream.flush(); } finally { if ((dssTrace != null) && dssTrace.isComBufferTraceOn()) { dssTrace.writeComBufferData (byt... | 1,107,864 |
private void sendBytes (java.io.OutputStream socketOutputStream) throws java.io.IOException { resetChainState(); try { socketOutputStream.write (bytes, 0, offset); socketOutputStream.flush(); } finally { if ((dssTrace != null) && dssTrace.isComBufferTraceOn()) { dssTrace.writeComBufferData (byt... | private void sendBytes (java.io.OutputStream socketOutputStream) throws java.io.IOException { resetChainState(); try { socketOutputStream.write (bytes, 0, offset); socketOutputStream.flush(); } finally { if ((dssTrace != null) && dssTrace.isComBufferTraceOn()) { dssTrace.writeComBufferData (byt... | 1,107,865 |
protected int writeScalarStream (boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte) throws DRDAProtocolException { // Stream equivalent of "beginDss"... int leftToRead = length; int bytesToRead = prepScalarStream (c... | protected void writeScalarStream (boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte) throws DRDAProtocolException { // Stream equivalent of "beginDss"... int leftToRead = length; int bytesToRead = prepScalarStream (c... | 1,107,866 |
protected int writeScalarStream (boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte) throws DRDAProtocolException { // Stream equivalent of "beginDss"... int leftToRead = length; int bytesToRead = prepScalarStream (c... | protected int writeScalarStream (boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte) throws DRDAProtocolException { // Stream equivalent of "beginDss"... int leftToRead = length; int bytesToRead = prepScalarStream (c... | 1,107,867 |
protected int writeScalarStream (boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte) throws DRDAProtocolException { // Stream equivalent of "beginDss"... int leftToRead = length; int bytesToRead = prepScalarStream (c... | protected int writeScalarStream (boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte) throws DRDAProtocolException { // Stream equivalent of "beginDss"... int leftToRead = length; int bytesToRead = prepScalarStream (c... | 1,107,868 |
protected int writeScalarStream (boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte) throws DRDAProtocolException { // Stream equivalent of "beginDss"... int leftToRead = length; int bytesToRead = prepScalarStream (c... | protected int writeScalarStream (boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte) throws DRDAProtocolException { // Stream equivalent of "beginDss"... int leftToRead = length; int bytesToRead = prepScalarStream (c... | 1,107,869 |
protected int writeScalarStream (boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte) throws DRDAProtocolException { // Stream equivalent of "beginDss"... int leftToRead = length; int bytesToRead = prepScalarStream (c... | protected int writeScalarStream (boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte) throws DRDAProtocolException { // Stream equivalent of "beginDss"... int leftToRead = length; int bytesToRead = prepScalarStream (c... | 1,107,870 |
protected int writeScalarStream (boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte) throws DRDAProtocolException { // Stream equivalent of "beginDss"... int leftToRead = length; int bytesToRead = prepScalarStream (c... | protected int writeScalarStream (boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte) throws DRDAProtocolException { // Stream equivalent of "beginDss"... int leftToRead = length; int bytesToRead = prepScalarStream (c... | 1,107,871 |
protected int writeScalarStream (boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte) throws DRDAProtocolException { // Stream equivalent of "beginDss"... int leftToRead = length; int bytesToRead = prepScalarStream (c... | protected int writeScalarStream (boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte) throws DRDAProtocolException { // Stream equivalent of "beginDss"... int leftToRead = length; int bytesToRead = prepScalarStream (c... | 1,107,872 |
protected int writeScalarStream (boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte) throws DRDAProtocolException { // Stream equivalent of "beginDss"... int leftToRead = length; int bytesToRead = prepScalarStream (c... | protected int writeScalarStream (boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte) throws DRDAProtocolException { // Stream equivalent of "beginDss"... int leftToRead = length; int bytesToRead = prepScalarStream (c... | 1,107,873 |
protected int writeScalarStream (boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte) throws DRDAProtocolException { // Stream equivalent of "beginDss"... int leftToRead = length; int bytesToRead = prepScalarStream (c... | protected int writeScalarStream (boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte) throws DRDAProtocolException { // Stream equivalent of "beginDss"... int leftToRead = length; int bytesToRead = prepScalarStream (c... | 1,107,874 |
protected int writeScalarStream (boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte) throws DRDAProtocolException { // Stream equivalent of "beginDss"... int leftToRead = length; int bytesToRead = prepScalarStream (c... | protected int writeScalarStream (boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte) throws DRDAProtocolException { // Stream equivalent of "beginDss"... int leftToRead = length; int bytesToRead = prepScalarStream (c... | 1,107,875 |
protected int writeScalarStream (boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte) throws DRDAProtocolException { // Stream equivalent of "beginDss"... int leftToRead = length; int bytesToRead = prepScalarStream (c... | protected int writeScalarStream (boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte) throws DRDAProtocolException { // Stream equivalent of "beginDss"... int leftToRead = length; int bytesToRead = prepScalarStream (c... | 1,107,876 |
public int available() throws IOException{ if(closed){ throw new IOException(ALREADY_CLOSED_ERR_MEASSAGE); } return super.available(); } | public int available() throws IOException{ if(closed){ throw new IOException(ALREADY_CLOSED_ERR_MESSAGE); } return super.available(); } | 1,107,878 |
public int read() throws IOException { if(closed){ throw new IOException(ALREADY_CLOSED_ERR_MEASSAGE); } return super.read(); } | public int read() throws IOException { if(closed){ throw new IOException(ALREADY_CLOSED_ERR_MESSAGE); } return super.read(); } | 1,107,879 |
public long skip(long n) throws IOException{ if(closed){ throw new IOException(ALREADY_CLOSED_ERR_MEASSAGE); } return super.skip(n); } | public long skip(long n) throws IOException{ if(closed){ throw new IOException(ALREADY_CLOSED_ERR_MESSAGE); } return super.skip(n); } | 1,107,880 |
void t_getHoldability() { try { int i = rs.getHoldability(); System.out.println("unImplemented Exception not thrown in code"); } catch(SQLException e) { if(!message.equals(e.getMessage())) { System.out.println("Unexpected SQLException"+e); } ... | void t_getHoldability() { try { int i = rs.getHoldability(); System.out.println("unImplemented Exception not thrown in code"); } catch(SQLException e) { if(SQLState.NOT_IMPLEMENTED.equals (e.getSQLState())) { System.out.println("Unexpected SQLException"+... | 1,107,881 |
void t_getNClob1() { try { rs.getNClob(0); System.out.println("unImplemented Exception not thrown in code"); } catch(SQLException e) { if(!message.equals(e.getMessage())) { System.out.println("Unexpected SQLException"+e); } ... | void t_getNClob1() { try { rs.getNClob(0); System.out.println("unImplemented Exception not thrown in code"); } catch(SQLException e) { if(SQLState.NOT_IMPLEMENTED.equals (e.getSQLState())) { System.out.println("Unexpected SQLException"+e); } ... | 1,107,882 |
void t_getNClob2() { try { rs.getNClob(null); System.out.println("unImplemented Exception not thrown in code"); } catch(SQLException e) { if(!message.equals(e.getMessage())) { System.out.println("Unexpected SQLException"+e); } ... | void t_getNClob2() { try { rs.getNClob(null); System.out.println("unImplemented Exception not thrown in code"); } catch(SQLException e) { if(SQLState.NOT_IMPLEMENTED.equals (e.getSQLState())) { System.out.println("Unexpected SQLException"+e); ... | 1,107,883 |
void t_getRowId1() { try { rs.getRowId(0); System.out.println("unImplemented Exception not thrown in code"); } catch(SQLException e) { if(!message.equals(e.getMessage())) { System.out.println("Unexpected SQLException"+e); } ... | void t_getRowId1() { try { rs.getRowId(0); System.out.println("unImplemented Exception not thrown in code"); } catch(SQLException e) { if(SQLState.NOT_IMPLEMENTED.equals (e.getSQLState())) { System.out.println("Unexpected SQLException"+e); } ... | 1,107,884 |
void t_getRowId2(){ try { rs.getRowId(null); System.out.println("unImplemented Exception not thrown in code"); } catch(SQLException e) { if(!message.equals(e.getMessage())) { System.out.println("Unexpected SQLException"+e); } ... | void t_getRowId2(){ try { rs.getRowId(null); System.out.println("unImplemented Exception not thrown in code"); } catch(SQLException e) { if(SQLState.NOT_IMPLEMENTED.equals (e.getSQLState())) { System.out.println("Unexpected SQLException"+e); }... | 1,107,885 |
void t_getSQLXML1() { try { rs.getSQLXML(0); System.out.println("unImplemented Exception not thrown in code"); } catch(SQLException e) { if(!message.equals(e.getMessage())) { System.out.println("Unexpected SQLException"+e); } ... | void t_getSQLXML1() { try { rs.getSQLXML(0); System.out.println("unImplemented Exception not thrown in code"); } catch(SQLException e) { if(SQLState.NOT_IMPLEMENTED.equals (e.getSQLState())) { System.out.println("Unexpected SQLException"+e); }... | 1,107,886 |
void t_getSQLXML2() { try { rs.getSQLXML(null); System.out.println("unImplemented Exception not thrown in code"); } catch(SQLException e) { if(!message.equals(e.getMessage())) { System.out.println("Unexpected SQLException"+e); } ... | void t_getSQLXML2() { try { rs.getSQLXML(null); System.out.println("unImplemented Exception not thrown in code"); } catch(SQLException e) { if(SQLState.NOT_IMPLEMENTED.equals (e.getSQLState())) { System.out.println("Unexpected SQLException"+e); ... | 1,107,887 |
void t_isClosed(){ try { boolean b = rs.isClosed(); System.out.println("unImplemented Exception not thrown in code"); } catch(SQLException e) { if(!message.equals(e.getMessage())) { System.out.println("Unexpected SQLException"+e); } ... | void t_isClosed(){ try { boolean b = rs.isClosed(); System.out.println("unImplemented Exception not thrown in code"); } catch(SQLException e) { if(SQLState.NOT_IMPLEMENTED.equals (e.getSQLState())) { System.out.println("Unexpected SQLException"+e); ... | 1,107,888 |
void t_updateNClob1() { try { rs.updateNClob(0,null); System.out.println("unImplemented Exception not thrown in code"); } catch(SQLException e) { if(!message.equals(e.getMessage())) { System.out.println("Unexpected SQLException"+e); } ... | void t_updateNClob1() { try { rs.updateNClob(0,null); System.out.println("unImplemented Exception not thrown in code"); } catch(SQLException e) { if(SQLState.NOT_IMPLEMENTED.equals (e.getSQLState())) { System.out.println("Unexpected SQLException"+e); ... | 1,107,889 |
void t_updateNClob2() { try { rs.updateNClob(null,null); System.out.println("unImplemented Exception not thrown in code"); } catch(SQLException e) { if(!message.equals(e.getMessage())) { System.out.println("Unexpected SQLException"+e); } ... | void t_updateNClob2() { try { rs.updateNClob(null,null); System.out.println("unImplemented Exception not thrown in code"); } catch(SQLException e) { if(SQLState.NOT_IMPLEMENTED.equals (e.getSQLState())) { System.out.println("Unexpected SQLException"+e); ... | 1,107,890 |
void t_updateNString1() { try { rs.updateNString(0,null); System.out.println("unImplemented Exception not thrown in code"); } catch(SQLException e) { if(!message.equals(e.getMessage())) { System.out.println("Unexpected SQLException"+e); } ... | void t_updateNString1() { try { rs.updateNString(0,null); System.out.println("unImplemented Exception not thrown in code"); } catch(SQLException e) { if(SQLState.NOT_IMPLEMENTED.equals (e.getSQLState())) { System.out.println("Unexpected SQLException"+e);... | 1,107,891 |
void t_updateNString2() { try { rs.updateNString(null,null); System.out.println("unImplemented Exception not thrown in code"); } catch(SQLException e) { if(!message.equals(e.getMessage())) { System.out.println("Unexpected SQLException"+e); } ... | void t_updateNString2() { try { rs.updateNString(null,null); System.out.println("unImplemented Exception not thrown in code"); } catch(SQLException e) { if(SQLState.NOT_IMPLEMENTED.equals (e.getSQLState())) { System.out.println("Unexpected SQLException"+... | 1,107,892 |
void t_updateRowId1() { try { rs.updateRowId(0,null); System.out.println("unImplemented Exception not thrown in code"); } catch(SQLException e) { if(!message.equals(e.getMessage())) { System.out.println("Unexpected SQLException"+e); } ... | void t_updateRowId1() { try { rs.updateRowId(0,null); System.out.println("unImplemented Exception not thrown in code"); } catch(SQLException e) { if(SQLState.NOT_IMPLEMENTED.equals (e.getSQLState())) { System.out.println("Unexpected SQLException"+e); ... | 1,107,893 |
void t_updateRowId2(){ try { rs.updateRowId(null,null); System.out.println("unImplemented Exception not thrown in code"); } catch(SQLException e) { if(!message.equals(e.getMessage())) { System.out.println("Unexpected SQLException"+e); } ... | void t_updateRowId2(){ try { rs.updateRowId(null,null); System.out.println("unImplemented Exception not thrown in code"); } catch(SQLException e) { if(SQLState.NOT_IMPLEMENTED.equals (e.getSQLState())) { System.out.println("Unexpected SQLException"+e); ... | 1,107,894 |
public Lock lockObject(Object compatabilitySpace, Lockable ref, Object qualifier, int timeout, Latch latch) throws StandardException { if (SanityManager.DEBUG) { if (SanityManager.DEBUG_ON("memoryLeakTrace")) { if (size() > 1000) System.out.println("memoryLeakTrace:LockSet: " + size()); } } Control gc... | public Lock lockObject(Object compatabilitySpace, Lockable ref, Object qualifier, int timeout, Latch latch) throws StandardException { if (SanityManager.DEBUG) { if (SanityManager.DEBUG_ON("memoryLeakTrace")) { if (size() > 1000) System.out.println("memoryLeakTrace:LockSet: " + size()); } } Control gc... | 1,107,896 |
public Lock lockObject(Object compatabilitySpace, Lockable ref, Object qualifier, int timeout, Latch latch) throws StandardException { if (SanityManager.DEBUG) { if (SanityManager.DEBUG_ON("memoryLeakTrace")) { if (size() > 1000) System.out.println("memoryLeakTrace:LockSet: " + size()); } } Control gc... | public Lock lockObject(Object compatabilitySpace, Lockable ref, Object qualifier, int timeout, Latch latch) throws StandardException { if (SanityManager.DEBUG) { if (SanityManager.DEBUG_ON("memoryLeakTrace")) { if (size() > 1000) System.out.println("memoryLeakTrace:LockSet: " + size()); } } Control gc... | 1,107,897 |
public Lock lockObject(Object compatabilitySpace, Lockable ref, Object qualifier, int timeout, Latch latch) throws StandardException { if (SanityManager.DEBUG) { if (SanityManager.DEBUG_ON("memoryLeakTrace")) { if (size() > 1000) System.out.println("memoryLeakTrace:LockSet: " + size()); } } Control gc... | public Lock lockObject(Object compatabilitySpace, Lockable ref, Object qualifier, int timeout, Latch latch) throws StandardException { if (SanityManager.DEBUG) { if (SanityManager.DEBUG_ON("memoryLeakTrace")) { if (size() > 1000) System.out.println("memoryLeakTrace:LockSet: " + size()); } } Control gc... | 1,107,898 |
public Lock lockObject(Object compatabilitySpace, Lockable ref, Object qualifier, int timeout, Latch latch) throws StandardException { if (SanityManager.DEBUG) { if (SanityManager.DEBUG_ON("memoryLeakTrace")) { if (size() > 1000) System.out.println("memoryLeakTrace:LockSet: " + size()); } } Control gc... | public Lock lockObject(Object compatabilitySpace, Lockable ref, Object qualifier, int timeout, Latch latch) throws StandardException { if (SanityManager.DEBUG) { if (SanityManager.DEBUG_ON("memoryLeakTrace")) { if (size() > 1000) System.out.println("memoryLeakTrace:LockSet: " + size()); } } Control gc... | 1,107,899 |
public Lock lockObject(Object compatabilitySpace, Lockable ref, Object qualifier, int timeout, Latch latch) throws StandardException { if (SanityManager.DEBUG) { if (SanityManager.DEBUG_ON("memoryLeakTrace")) { if (size() > 1000) System.out.println("memoryLeakTrace:LockSet: " + size()); } } Control gc... | public Lock lockObject(Object compatabilitySpace, Lockable ref, Object qualifier, int timeout, Latch latch) throws StandardException { if (SanityManager.DEBUG) { if (SanityManager.DEBUG_ON("memoryLeakTrace")) { if (size() > 1000) System.out.println("memoryLeakTrace:LockSet: " + size()); } } Control gc... | 1,107,900 |
public Lock lockObject(Object compatabilitySpace, Lockable ref, Object qualifier, int timeout, Latch latch) throws StandardException { if (SanityManager.DEBUG) { if (SanityManager.DEBUG_ON("memoryLeakTrace")) { if (size() > 1000) System.out.println("memoryLeakTrace:LockSet: " + size()); } } Control gc... | public Lock lockObject(Object compatabilitySpace, Lockable ref, Object qualifier, int timeout, Latch latch) throws StandardException { if (SanityManager.DEBUG) { if (SanityManager.DEBUG_ON("memoryLeakTrace")) { if (size() > 1000) System.out.println("memoryLeakTrace:LockSet: " + size()); } } Control gc... | 1,107,901 |
public Lock lockObject(Object compatabilitySpace, Lockable ref, Object qualifier, int timeout, Latch latch) throws StandardException { if (SanityManager.DEBUG) { if (SanityManager.DEBUG_ON("memoryLeakTrace")) { if (size() > 1000) System.out.println("memoryLeakTrace:LockSet: " + size()); } } Control gc... | public Lock lockObject(Object compatabilitySpace, Lockable ref, Object qualifier, int timeout, Latch latch) throws StandardException { if (SanityManager.DEBUG) { if (SanityManager.DEBUG_ON("memoryLeakTrace")) { if (size() > 1000) System.out.println("memoryLeakTrace:LockSet: " + size()); } } Control gc... | 1,107,902 |
public Lock lockObject(Object compatabilitySpace, Lockable ref, Object qualifier, int timeout, Latch latch) throws StandardException { if (SanityManager.DEBUG) { if (SanityManager.DEBUG_ON("memoryLeakTrace")) { if (size() > 1000) System.out.println("memoryLeakTrace:LockSet: " + size()); } } Control gc... | public Lock lockObject(Object compatabilitySpace, Lockable ref, Object qualifier, int timeout, Latch latch) throws StandardException { if (SanityManager.DEBUG) { if (SanityManager.DEBUG_ON("memoryLeakTrace")) { if (size() > 1000) System.out.println("memoryLeakTrace:LockSet: " + size()); } } Control gc... | 1,107,903 |
public Lock lockObject(Object compatabilitySpace, Lockable ref, Object qualifier, int timeout, Latch latch) throws StandardException { if (SanityManager.DEBUG) { if (SanityManager.DEBUG_ON("memoryLeakTrace")) { if (size() > 1000) System.out.println("memoryLeakTrace:LockSet: " + size()); } } Control gc... | public Lock lockObject(Object compatabilitySpace, Lockable ref, Object qualifier, int timeout, Latch latch) throws StandardException { if (SanityManager.DEBUG) { if (SanityManager.DEBUG_ON("memoryLeakTrace")) { if (size() > 1000) System.out.println("memoryLeakTrace:LockSet: " + size()); } } Control gc... | 1,107,904 |
public Lock lockObject(Object compatabilitySpace, Lockable ref, Object qualifier, int timeout, Latch latch) throws StandardException { if (SanityManager.DEBUG) { if (SanityManager.DEBUG_ON("memoryLeakTrace")) { if (size() > 1000) System.out.println("memoryLeakTrace:LockSet: " + size()); } } Control gc... | public Lock lockObject(Object compatabilitySpace, Lockable ref, Object qualifier, int timeout, Latch latch) throws StandardException { if (SanityManager.DEBUG) { if (SanityManager.DEBUG_ON("memoryLeakTrace")) { if (size() > 1000) System.out.println("memoryLeakTrace:LockSet: " + size()); Control gc; ... | 1,107,905 |
private void writeToBackup(RandomAccessFile backupRaf, long pageNumber, byte[] pageData) throws StandardException { byte[] dataToWrite; try { if (pageNumber == FIRST_ALLOC_PAGE_NUMBER) { // write header into the alloc page array regardless of dirty // bit because the alloc page have zero'ed out the bo... | private void writeToBackup(RandomAccessFile backupRaf, long pageNumber, byte[] pageData) throws StandardException { byte[] dataToWrite; try { if (pageNumber == FIRST_ALLOC_PAGE_NUMBER) { // write header into the alloc page array regardless of dirty // bit because the alloc page have zero'ed out the bo... | 1,107,907 |
public static void main (String args[]) { try { /* Load the JDBC Driver class */ // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); Connection conn = ij.startJBMS(); createAndPopulateTable(conn); //set autocommit to off after creating table and in... | public static void main (String args[]) { try { /* Load the JDBC Driver class */ // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); Connection conn = ij.startJBMS(); createAndPopulateTable(conn); //set autocommit to off after creating table and in... | 1,107,909 |
void startClientTestMethods() { Connection conn_main=null; PreparedStatement ps_main=null; try { Class.forName("org.apache.derby.jdbc.ClientDriver"); conn_main = DriverManager.getConnection("jdbc:derby:" + "//localhost:1527/mydb;" + ... | void startClientTestMethods() { Connection conn_main=null; PreparedStatement ps_main=null; try { Class.forName("org.apache.derby.jdbc.ClientDriver"); conn_main = DriverManager.getConnection("jdbc:derby:" + "//localhost:1527/mydb;" + ... | 1,107,910 |
void startEmbeddedTestMethods() { Connection conn_main=null; PreparedStatement ps_main=null; try { Class.forName("org.apache.derby.jdbc.EmbeddedDriver"); conn_main = DriverManager.getConnection("jdbc:derby:mydb1;" + "create=true"); ... | void startEmbeddedTestMethods() { Connection conn_main=null; PreparedStatement ps_main=null; try { Class.forName("org.apache.derby.jdbc.EmbeddedDriver"); conn_main = DriverManager.getConnection("jdbc:derby:mydb1;" + "create=true"); ... | 1,107,912 |
void startEmbeddedTestMethods() { Connection conn_main=null; PreparedStatement ps_main=null; try { Class.forName("org.apache.derby.jdbc.EmbeddedDriver"); conn_main = DriverManager.getConnection("jdbc:derby:mydb1;" + "create=true"); ... | void startEmbeddedTestMethods() { Connection conn_main=null; PreparedStatement ps_main=null; try { Class.forName("org.apache.derby.jdbc.EmbeddedDriver"); conn_main = DriverManager.getConnection("jdbc:derby:mydb1;" + "create=true"); ... | 1,107,913 |
void t_isPoolable() { try { boolean b; b = ps.isPoolable(); System.out.println("UnImplemented Exception not thrown in code"); } catch(SQLException e) { if(SQLState.NOT_IMPLEMENTED.equals (e.getSQLState())) { System.out.println("Unexpected SQLE... | void t_isPoolable() { try { boolean b; b = ps.isPoolable(); System.out.println("UnImplemented Exception not thrown in code"); } catch(SQLException e) { if(SQLState.NOT_IMPLEMENTED.equals (e.getSQLState())) { System.out.println("Unexpected SQLE... | 1,107,915 |
void t_setPoolable() { try { ps.setPoolable(false); System.out.println("UnImplemented Exception not thrown in code"); } catch(SQLException e) { if(SQLState.NOT_IMPLEMENTED.equals (e.getSQLState())) { System.out.println("Unexpected SQLException"+e); ... | void t_setPoolable() { try { ps.setPoolable(false); System.out.println("UnImplemented Exception not thrown in code"); } catch(SQLException e) { if(SQLState.NOT_IMPLEMENTED.equals (e.getSQLState())) { System.out.println("Unexpected SQLException"+e); ... | 1,107,916 |
public final synchronized int prepare(Xid xid) throws XAException { checkXAActive(); // ensure immtable and correct equals method. XAXactId xid_im = new XAXactId(xid); XATransactionState tranState = getTransactionState(xid_im); if (tranState == null) { ... | public final synchronized int prepare(Xid xid) throws XAException { checkXAActive(); // ensure immtable and correct equals method. XAXactId xid_im = new XAXactId(xid); XATransactionState tranState = getTransactionState(xid_im); if (tranState == null) { ... | 1,107,917 |
public boolean exists() { if( storageFactory.useContextLoader) { ClassLoader cl = Thread.currentThread().getContextClassLoader(); if( cl != null && cl.getResource( path) != null) return true; } if( getClass().getResource( path) != null) { ... | public boolean exists() { if( storageFactory.useContextLoader) { ClassLoader cl = Thread.currentThread().getContextClassLoader(); if( cl != null && cl.getResource( path) != null) return true; } if( getClass().getResource( path) != null) { ... | 1,107,919 |
public InputStream getInputStream( ) throws FileNotFoundException { InputStream is = null; if( storageFactory.useContextLoader) { ClassLoader cl = Thread.currentThread().getContextClassLoader(); is = cl.getResourceAsStream( path); if( is != null) ... | public InputStream getInputStream( ) throws FileNotFoundException { InputStream is = null; if( storageFactory.useContextLoader) { ClassLoader cl = Thread.currentThread().getContextClassLoader(); is = cl.getResourceAsStream( path); if( is != null) ... | 1,107,920 |
public long getChildrenTime(){ long childrenTime = 0; java.util.Enumeration enum = getChildren().elements(); while (enum.hasMoreElements()){ childrenTime = childrenTime + ((RealBasicNoPutResultSetStatistics)enum.nextElement()).getTotalTime(); } | public long getChildrenTime(){ long childrenTime = 0; java.util.Enumeration enum = getChildren().elements(); while (enum.hasMoreElements()){ childrenTime = childrenTime + ((RealBasicNoPutResultSetStatistics)enum.nextElement()).getTotalTime(); } | 1,107,921 |
public void init(Object colRef) { this.colRef = (ColumnReference) colRef; } | public void init(Object colRef) { this.columnExpression = (ValueNode)colRef; } | 1,107,923 |
public void printSubNodes(int depth) { if (SanityManager.DEBUG) { super.printSubNodes(depth); if (colRef != null) { printLabel(depth, "colRef: "); colRef.treePrint(depth + 1); } } } | public void printSubNodes(int depth) { if (SanityManager.DEBUG) { super.printSubNodes(depth); if (columnExpression != null) { printLabel(depth, "colRef: "); colRef.treePrint(depth + 1); } } } | 1,107,924 |
public void printSubNodes(int depth) { if (SanityManager.DEBUG) { super.printSubNodes(depth); if (colRef != null) { printLabel(depth, "colRef: "); colRef.treePrint(depth + 1); } } } | public void printSubNodes(int depth) { if (SanityManager.DEBUG) { super.printSubNodes(depth); if (colRef != null) { printLabel(depth, "colRef: "); columnExpression.treePrint(depth + 1); } } } | 1,107,925 |
protected void STest1() throws T_Fail, StandardException { Transaction t = t_util.t_startTransaction(); /////////////////////////////////////////// //// log switch without checkpoint here /// /////////////////////////////////////////// factory.checkpoint(); try { long cid = t_util.t_addContainer(t, 0); Cont... | protected void STest1() throws T_Fail, StandardException { Transaction t = t_util.t_startTransaction(); /////////////////////////////////////////// //// log switch without checkpoint here /// /////////////////////////////////////////// factory.checkpoint(); try { long cid = t_util.t_addContainer(t, 0); Cont... | 1,107,926 |
protected void STest2() throws T_Fail, StandardException { Transaction t = t_util.t_startTransaction(); try { long cid = t_util.t_addContainer(t, 0); ContainerHandle c = t_util.t_openContainer(t, 0, cid, true); Page page = t_util.t_getPage(c, ContainerHandle.FIRST_PAGE_NUMBER); // make a really big record -... | protected void STest2() throws T_Fail, StandardException { Transaction t = t_util.t_startTransaction(); try { long cid = t_util.t_addContainer(t, 0); ContainerHandle c = t_util.t_openContainer(t, 0, cid, true); Page page = t_util.t_getPage(c, ContainerHandle.FIRST_PAGE_NUMBER); // make a really big record -... | 1,107,928 |
protected void STest3() throws T_Fail, StandardException { int numtrans = 7; int numpages = 7; int i,j; // this is basically T_Recovery S203 with a couple of log switches try { T_TWC[] t = new T_TWC[numtrans]; for (i = 0; i < numtrans; i++) t[i] = t_util.t_startTransactionWithContext(); long[] cid = ne... | protected void STest3() throws T_Fail, StandardException { int numtrans = 7; int numpages = 7; int i,j; // this is basically T_Recovery S203 with a couple of log switches try { T_TWC[] t = new T_TWC[numtrans]; for (i = 0; i < numtrans; i++) t[i] = t_util.t_startTransactionWithContext(); long[] cid = ne... | 1,107,930 |
protected void STest4() throws T_Fail, StandardException { Transaction t = t_util.t_startTransaction(); try { long cid = t_util.t_addContainer(t, 0); ContainerHandle c = t_util.t_openContainer(t, 0, cid, true); Page page = t_util.t_getPage(c, ContainerHandle.FIRST_PAGE_NUMBER); // make a really big record -... | protected void STest4() throws T_Fail, StandardException { Transaction t = t_util.t_startTransaction(); try { long cid = t_util.t_addContainer(t, 0); ContainerHandle c = t_util.t_openContainer(t, 0, cid, true); Page page = t_util.t_getPage(c, ContainerHandle.FIRST_PAGE_NUMBER); // make a really big record -... | 1,107,932 |
protected void STest5() throws T_Fail, StandardException { Transaction t = t_util.t_startTransaction(); try { long cid = t_util.t_addContainer(t, 0); ContainerHandle c = t_util.t_openContainer(t, 0, cid, true); Page page = t_util.t_getPage(c, ContainerHandle.FIRST_PAGE_NUMBER); // make a really big record -... | protected void STest5() throws T_Fail, StandardException { Transaction t = t_util.t_startTransaction(); try { long cid = t_util.t_addContainer(t, 0); ContainerHandle c = t_util.t_openContainer(t, 0, cid, true); Page page = t_util.t_getPage(c, ContainerHandle.FIRST_PAGE_NUMBER); // make a really big record -... | 1,107,934 |
protected void STest6() throws T_Fail, StandardException { Transaction t = t_util.t_startTransaction(); try { long cid = t_util.t_addContainer(t, 0); ContainerHandle c = t_util.t_openContainer(t, 0, cid, true); Page page = t_util.t_getPage(c, ContainerHandle.FIRST_PAGE_NUMBER); // make a really big record -... | protected void STest6() throws T_Fail, StandardException { Transaction t = t_util.t_startTransaction(); try { long cid = t_util.t_addContainer(t, 0); ContainerHandle c = t_util.t_openContainer(t, 0, cid, true); Page page = t_util.t_getPage(c, ContainerHandle.FIRST_PAGE_NUMBER); // make a really big record -... | 1,107,936 |
protected void STest6() throws T_Fail, StandardException { Transaction t = t_util.t_startTransaction(); try { long cid = t_util.t_addContainer(t, 0); ContainerHandle c = t_util.t_openContainer(t, 0, cid, true); Page page = t_util.t_getPage(c, ContainerHandle.FIRST_PAGE_NUMBER); // make a really big record -... | protected void STest6() throws T_Fail, StandardException { Transaction t = t_util.t_startTransaction(); try { long cid = t_util.t_addContainer(t, 0); ContainerHandle c = t_util.t_openContainer(t, 0, cid, true); Page page = t_util.t_getPage(c, ContainerHandle.FIRST_PAGE_NUMBER); // make a really big record -... | 1,107,937 |
protected void STest7() throws T_Fail, StandardException { Transaction t = t_util.t_startTransaction(); try { long cid = t_util.t_addContainer(t, 0); ContainerHandle c = t_util.t_openContainer(t, 0, cid, true); Page page = t_util.t_getPage(c, ContainerHandle.FIRST_PAGE_NUMBER); // make a really big record -... | protected void STest7() throws T_Fail, StandardException { Transaction t = t_util.t_startTransaction(); try { long cid = t_util.t_addContainer(t, 0); ContainerHandle c = t_util.t_openContainer(t, 0, cid, true); Page page = t_util.t_getPage(c, ContainerHandle.FIRST_PAGE_NUMBER); // make a really big record -... | 1,107,938 |
protected void STest7() throws T_Fail, StandardException { Transaction t = t_util.t_startTransaction(); try { long cid = t_util.t_addContainer(t, 0); ContainerHandle c = t_util.t_openContainer(t, 0, cid, true); Page page = t_util.t_getPage(c, ContainerHandle.FIRST_PAGE_NUMBER); // make a really big record -... | protected void STest7() throws T_Fail, StandardException { Transaction t = t_util.t_startTransaction(); try { long cid = t_util.t_addContainer(t, 0); ContainerHandle c = t_util.t_openContainer(t, 0, cid, true); Page page = t_util.t_getPage(c, ContainerHandle.FIRST_PAGE_NUMBER); // make a really big record -... | 1,107,939 |
public void runTests() throws T_Fail { getConfig(); int tests = 0; if (setup) tests++; if (test1) tests++; if (test2) tests++; if (test3) tests++; if (test4) tests++; if (test5) tests++; if (test6) tests++; if (test7) tests++; if (tests != 1) throw T_Fail.testFailMsg("One & only one of the bad log recov... | public void runTests() throws T_Fail { getConfig(); int tests = 0; if (setup) tests++; if (test1) tests++; if (test2) tests++; if (test3) tests++; if (test4) tests++; if (test5) tests++; if (test6) tests++; if (test7) tests++; if (tests != 1) throw T_Fail.testFailMsg("One & only one of the bad log recov... | 1,107,941 |
public void runTests() throws T_Fail { getConfig(); int tests = 0; if (setup) tests++; if (test1) tests++; if (test2) tests++; if (test3) tests++; if (test4) tests++; if (test5) tests++; if (test6) tests++; if (test7) tests++; if (tests != 1) throw T_Fail.testFailMsg("One & only one of the bad log recov... | public void runTests() throws T_Fail { getConfig(); int tests = 0; if (setup) tests++; if (test1) tests++; if (test2) tests++; if (test3) tests++; if (test4) tests++; if (test5) tests++; if (test6) tests++; if (test7) tests++; if (tests != 1) throw T_Fail.testFailMsg("One & only one of the bad log recov... | 1,107,942 |
public void runTests() throws T_Fail { getConfig(); int tests = 0; if (setup) tests++; if (test1) tests++; if (test2) tests++; if (test3) tests++; if (test4) tests++; if (test5) tests++; if (test6) tests++; if (test7) tests++; if (tests != 1) throw T_Fail.testFailMsg("One & only one of the bad log recov... | public void runTests() throws T_Fail { getConfig(); int tests = 0; if (setup) tests++; if (test1) tests++; if (test2) tests++; if (test3) tests++; if (test4) tests++; if (test5) tests++; if (test6) tests++; if (test7) tests++; if (tests != 1) throw T_Fail.testFailMsg("One & only one of the bad log recov... | 1,107,943 |
public void runTests() throws T_Fail { getConfig(); int tests = 0; if (setup) tests++; if (test1) tests++; if (test2) tests++; if (test3) tests++; if (test4) tests++; if (test5) tests++; if (test6) tests++; if (test7) tests++; if (tests != 1) throw T_Fail.testFailMsg("One & only one of the bad log recov... | public void runTests() throws T_Fail { getConfig(); int tests = 0; if (setup) tests++; if (test1) tests++; if (test2) tests++; if (test3) tests++; if (test4) tests++; if (test5) tests++; if (test6) tests++; if (test7) tests++; if (tests != 1) throw T_Fail.testFailMsg("One & only one of the bad log recov... | 1,107,944 |
public void runTests() throws T_Fail { getConfig(); int tests = 0; if (setup) tests++; if (test1) tests++; if (test2) tests++; if (test3) tests++; if (test4) tests++; if (test5) tests++; if (test6) tests++; if (test7) tests++; if (tests != 1) throw T_Fail.testFailMsg("One & only one of the bad log recov... | public void runTests() throws T_Fail { getConfig(); int tests = 0; if (setup) tests++; if (test1) tests++; if (test2) tests++; if (test3) tests++; if (test4) tests++; if (test5) tests++; if (test6) tests++; if (test7) tests++; if (tests != 1) throw T_Fail.testFailMsg("One & only one of the bad log recov... | 1,107,945 |
public void runTests() throws T_Fail { getConfig(); int tests = 0; if (setup) tests++; if (test1) tests++; if (test2) tests++; if (test3) tests++; if (test4) tests++; if (test5) tests++; if (test6) tests++; if (test7) tests++; if (tests != 1) throw T_Fail.testFailMsg("One & only one of the bad log recov... | public void runTests() throws T_Fail { getConfig(); int tests = 0; if (setup) tests++; if (test1) tests++; if (test2) tests++; if (test3) tests++; if (test4) tests++; if (test5) tests++; if (test6) tests++; if (test7) tests++; if (tests != 1) throw T_Fail.testFailMsg("One & only one of the bad log recov... | 1,107,946 |
public void runTests() throws T_Fail { getConfig(); int tests = 0; if (setup) tests++; if (test1) tests++; if (test2) tests++; if (test3) tests++; if (test4) tests++; if (test5) tests++; if (test6) tests++; if (test7) tests++; if (tests != 1) throw T_Fail.testFailMsg("One & only one of the bad log recov... | public void runTests() throws T_Fail { getConfig(); int tests = 0; if (setup) tests++; if (test1) tests++; if (test2) tests++; if (test3) tests++; if (test4) tests++; if (test5) tests++; if (test6) tests++; if (test7) tests++; if (tests != 1) throw T_Fail.testFailMsg("One & only one of the bad log recov... | 1,107,947 |
int getParamColumnTypes(DataTypeDescriptor[] types, RowResultSetNode rrsn) { int numTypes = 0; /* Look for columns where we have not found a non-? yet. */ for (int i = 0; i < types.length; i++) { if (types[i] == null) { ResultColumn rc = (ResultColumn) rrsn.getResultColumns().elementAt(i); if ( ! (rc... | int getParamColumnTypes(DataTypeDescriptor[] types, RowResultSetNode rrsn) { int numTypes = 0; /* Look for columns where we have not found a non-? yet. */ for (int i = 0; i < types.length; i++) { if (types[i] == null) { ResultColumn rc = (ResultColumn) rrsn.getResultColumns().elementAt(i); if ( ! (rc... | 1,107,949 |
void setParamColumnTypes(DataTypeDescriptor[] types, RowResultSetNode rrsn) throws StandardException { /* ** Look for ? parameters in the result column list ** of each RowResultSetNode */ ResultColumnList rrcl = rrsn.getResultColumns(); int rrclSize = rrcl.size(); for (int index = 0; index < rrclSize; index... | void setParamColumnTypes(DataTypeDescriptor[] types, RowResultSetNode rrsn) throws StandardException { /* ** Look for ? parameters in the result column list ** of each RowResultSetNode */ ResultColumnList rrcl = rrsn.getResultColumns(); int rrclSize = rrcl.size(); for (int index = 0; index < rrclSize; index... | 1,107,950 |
void setParamColumnTypes(DataTypeDescriptor[] types, RowResultSetNode rrsn) throws StandardException { /* ** Look for ? parameters in the result column list ** of each RowResultSetNode */ ResultColumnList rrcl = rrsn.getResultColumns(); int rrclSize = rrcl.size(); for (int index = 0; index < rrclSize; index... | void setParamColumnTypes(DataTypeDescriptor[] types, RowResultSetNode rrsn) throws StandardException { /* ** Look for ? parameters in the result column list ** of each RowResultSetNode */ ResultColumnList rrcl = rrsn.getResultColumns(); int rrclSize = rrcl.size(); for (int index = 0; index < rrclSize; index... | 1,107,951 |
public static Test suite() { return new TestSuite(RowIdNotImplementedTest.class, "RowIdNotImplementedTest suite"); } | public static Test suite() { return new TestSuite(RowIdNotImplementedTest.class, "RowIdNotImplementedTest suite"); } | 1,107,953 |
public void compressConglomerate( TransactionManager xact_manager, Transaction rawtran) throws StandardException { OpenConglomerate open_conglom = null; HeapController heapcontroller = null; try { open_conglom =... | public void compressConglomerate( TransactionManager xact_manager, Transaction rawtran) throws StandardException { OpenConglomerate open_conglom = null; HeapController heapcontroller = null; try { open_conglom =... | 1,107,954 |
public void compressConglomerate( TransactionManager xact_manager, Transaction rawtran) throws StandardException { OpenConglomerate open_conglom = null; HeapController heapcontroller = null; try { open_conglom =... | public void compressConglomerate( TransactionManager xact_manager, Transaction rawtran) throws StandardException { OpenConglomerate open_conglom = null; HeapController heapcontroller = null; try { open_conglom =... | 1,107,955 |
public void backup(String backupDir) throws SQLException { try { af.backup(backupDir); } catch (StandardException se) { throw PublicAPI.wrapStandardException(se); } } | public void backup(String backupDir) throws SQLException { try { af.backup(backupDir); } catch (StandardException se) { throw PublicAPI.wrapStandardException(se); } } | 1,107,956 |
public void backup(String backupDir) throws SQLException { try { af.backup(backupDir); } catch (StandardException se) { throw PublicAPI.wrapStandardException(se); } } | public void backup(String backupDir) throws SQLException { try { af.backup(backupDir, wait); } catch (StandardException se) { throw PublicAPI.wrapStandardException(se); } } | 1,107,957 |
public void backupAndEnableLogArchiveMode(String backupDir, boolean deleteOnlineArchivedLogFiles) throws SQLException { try { af.backupAndEnableLogArchiveMode(backupDir, deleteOnlineArchivedLogFiles); } catch (StandardException se) { throw PublicAPI.wrapStandardException(se); } } | public void backupAndEnableLogArchiveMode(String backupDir, boolean deleteOnlineArchivedLogFiles) throws SQLException { try { af.backupAndEnableLogArchiveMode(backupDir, deleteOnlineArchivedLogFiles); } catch (StandardException se) { throw PublicAPI.wrapStandardException(se); } } | 1,107,958 |
public void backupAndEnableLogArchiveMode(String backupDir, boolean deleteOnlineArchivedLogFiles) throws SQLException { try { af.backupAndEnableLogArchiveMode(backupDir, deleteOnlineArchivedLogFiles); } catch (StandardException se) { throw PublicAPI.wrapStandardException(se); } } | public void backupAndEnableLogArchiveMode(String backupDir, boolean deleteOnlineArchivedLogFiles) throws SQLException { try { af.backupAndEnableLogArchiveMode(backupDir, deleteOnlineArchivedLogFiles, wait); } catch (StandardException se) { throw PublicAPI.wrapStandardException(se); } } | 1,107,959 |
private static void testDatabaseMetaDataMethods(Connection con) throws Exception { con.setAutoCommit(true); // make sure it is true Statement s = con.createStatement(); DatabaseMetaData met = con.getMetaData(); try { if (!met.supportsStoredFunctionsUsingCallSyntax())... | private static void testDatabaseMetaDataMethods(Connection con) throws Exception { con.setAutoCommit(true); // make sure it is true Statement s = con.createStatement(); DatabaseMetaData met = con.getMetaData(); try { if (!met.supportsStoredFunctionsUsingCallSyntax())... | 1,107,962 |
private static void testDatabaseMetaDataMethods(Connection con) throws Exception { con.setAutoCommit(true); // make sure it is true Statement s = con.createStatement(); DatabaseMetaData met = con.getMetaData(); try { if (!met.supportsStoredFunctionsUsingCallSyntax())... | private static void testDatabaseMetaDataMethods(Connection con) throws Exception { con.setAutoCommit(true); // make sure it is true Statement s = con.createStatement(); DatabaseMetaData met = con.getMetaData(); try { if (!met.supportsStoredFunctionsUsingCallSyntax())... | 1,107,963 |
private static void testDatabaseMetaDataMethods(Connection con) throws Exception { con.setAutoCommit(true); // make sure it is true Statement s = con.createStatement(); DatabaseMetaData met = con.getMetaData(); try { if (!met.supportsStoredFunctionsUsingCallSyntax())... | private static void testDatabaseMetaDataMethods(Connection con) throws Exception { con.setAutoCommit(true); // make sure it is true Statement s = con.createStatement(); DatabaseMetaData met = con.getMetaData(); try { if (!met.supportsStoredFunctionsUsingCallSyntax())... | 1,107,964 |
private static void testDatabaseMetaDataMethods(Connection con) throws Exception { con.setAutoCommit(true); // make sure it is true Statement s = con.createStatement(); DatabaseMetaData met = con.getMetaData(); try { if (!met.supportsStoredFunctionsUsingCallSyntax())... | private static void testDatabaseMetaDataMethods(Connection con) throws Exception { con.setAutoCommit(true); // make sure it is true Statement s = con.createStatement(); DatabaseMetaData met = con.getMetaData(); try { if (!met.supportsStoredFunctionsUsingCallSyntax())... | 1,107,965 |
private static void testDatabaseMetaDataMethods(Connection con) throws Exception { con.setAutoCommit(true); // make sure it is true Statement s = con.createStatement(); DatabaseMetaData met = con.getMetaData(); try { if (!met.supportsStoredFunctionsUsingCallSyntax())... | private static void testDatabaseMetaDataMethods(Connection con) throws Exception { con.setAutoCommit(true); // make sure it is true Statement s = con.createStatement(); DatabaseMetaData met = con.getMetaData(); try { if (!met.supportsStoredFunctionsUsingCallSyntax())... | 1,107,966 |
public Visitable visit(Visitable node) throws StandardException { if (node instanceof ColumnReference) { ColumnReference cr = (ColumnReference)node; if (groupByList == null) { throw StandardException.newException(SQLState.LANG_INVALID_COL_REF_NON_GROUPED_SELECT_LIST, cr.getFullColumnName()); } if (gr... | public Visitable visit(Visitable node) throws StandardException { if (node instanceof ColumnReference) { ColumnReference cr = (ColumnReference)node; if (groupByList == null) { throw StandardException.newException(SQLState.LANG_INVALID_COL_REF_NON_GROUPED_SELECT_LIST, cr.getSQLColumnName()); } if (gro... | 1,107,968 |
public Visitable visit(Visitable node) throws StandardException { if (node instanceof ColumnReference) { ColumnReference cr = (ColumnReference)node; if (groupByList == null) { throw StandardException.newException(SQLState.LANG_INVALID_COL_REF_NON_GROUPED_SELECT_LIST, cr.getFullColumnName()); } if (gr... | public Visitable visit(Visitable node) throws StandardException { if (node instanceof ColumnReference) { ColumnReference cr = (ColumnReference)node; if (groupByList == null) { throw StandardException.newException(SQLState.LANG_INVALID_COL_REF_NON_GROUPED_SELECT_LIST, cr.getFullColumnName()); } if (gr... | 1,107,969 |
public static String fileExists(String fileName) throws Exception { File fl = new File(fileName); if(fl.exists()) { return "true"; }else { return "false"; } } | public static String fileExists(String fileName) throws PrivilegedActionException { File fl = new File(fileName); if(fl.exists()) { return "true"; }else { return "false"; } } | 1,107,970 |
public static String fileExists(String fileName) throws Exception { File fl = new File(fileName); if(fl.exists()) { return "true"; }else { return "false"; } } | public static String fileExists(String fileName) throws Exception { File fl = new File(fileName); if(fl.exists()) { return "true"; }else { return "false"; } } | 1,107,971 |
public static void renameFile(String location, String name , String newName) throws Exception { File src = new File(location, name); File dst = new File(location, newName); if(!src.renameTo(dst)) { throw new Exception("unable to rename File: " + src.getAbsolutePath() + " To: " + dst.getAbsoluteP... | public static void renameFile(String location, String name , String newName) throws Exception { File src = new File(location, name); File dst = new File(location, newName); if(!src.renameTo(dst)) { throw new Exception("unable to rename File: " + src.getAbsolutePath() + " To: " + dst.getAbsoluteP... | 1,107,972 |
void bindParameter() throws StandardException { /* ** According to the SQL standard, if XXX_length has a ? operand, ** its type is varchar with the implementation-defined maximum length ** for a varchar. */ ((ParameterNode) operand).setDescriptor( DataTypeDescriptor.getBuiltInDataTypeDescriptor(parameter... | void bindParameter() throws StandardException { /* ** According to the SQL standard, if XXX_length has a ? operand, ** its type is varchar with the implementation-defined maximum length ** for a varchar. */ ((ParameterNode) operand).setDescriptor( DataTypeDescriptor.getBuiltInDataTypeDescriptor(parameter... | 1,107,973 |
public <T> T createQueryObject(Class<T> ifc) throws SQLException { throw new java.lang.UnsupportedOperationException(); } | public <T> T createQueryObject(Class<T> ifc) throws SQLException { throw new java.lang.UnsupportedOperationException(); } | 1,107,974 |
public void recover( RawStoreFactory rsf, DataFactory df, TransactionFactory tf) throws StandardException { if (SanityManager.DEBUG) { SanityManager.ASSERT(rsf != null, "raw store factory == null"); SanityManager.ASSERT(df != null, "data factory == null"); } checkCorrupt(); rawStore... | public void recover( RawStoreFactory rsf, DataFactory df, TransactionFactory tf) throws StandardException { if (SanityManager.DEBUG) { SanityManager.ASSERT(rsf != null, "raw store factory == null"); SanityManager.ASSERT(df != null, "data factory == null"); } checkCorrupt(); rawStore... | 1,107,976 |
static void initClientMessageIds() { // Add message ids that don't start with XJ here clientMessageIds.add(SQLState.NO_CURRENT_CONNECTION); clientMessageIds.add(SQLState.NOT_IMPLEMENTED); clientMessageIds.add(SQLState.CANNOT_CLOSE_ACTIVE_CONNECTION); clientMessageIds.add(SQLSta... | static void initClientMessageIds() { // Add message ids that don't start with XJ here clientMessageIds.add(SQLState.NO_CURRENT_CONNECTION); clientMessageIds.add(SQLState.NOT_IMPLEMENTED); clientMessageIds.add(SQLState.CANNOT_CLOSE_ACTIVE_CONNECTION); clientMessageIds.add(SQLSta... | 1,107,977 |
static boolean isClientMessage(String messageId) { if ( messageId.startsWith("XJ") ) { return true; } if ( clientMessageIds.contains(messageId)) { return true; } return false; } | static boolean isClientMessage(String messageId) { if ( messageId.startsWith("XJ") || messageId.startsWith("J") ) { return true; } if ( clientMessageIds.contains(messageId)) { return true; } return false; } | 1,107,979 |
public ScanManager openScan( TransactionManager xact_manager, Transaction rawtran, boolean hold, int open_mode, int lock_level, LockingPolicy locking_policy, int ... | public ScanManager openScan( TransactionManager xact_manager, Transaction rawtran, boolean hold, int open_mode, int lock_level, LockingPolicy locking_policy, int ... | 1,107,980 |
public static void main(String[] args) { Connection conn, connreturn; Statement stmt, stmtreturn; System.out.println("Test connection20 starting"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); isDerbyNet = Te... | public static void main(String[] args) { Connection conn, connreturn; Statement stmt, stmtreturn; System.out.println("Test connection20 starting"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); isDerbyNet = Te... | 1,107,981 |
public static void main(String[] args) { Connection conn, connreturn; Statement stmt, stmtreturn; System.out.println("Test connection20 starting"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); isDerbyNet = Te... | public static void main(String[] args) { Connection conn, connreturn; Statement stmt, stmtreturn; System.out.println("Test connection20 starting"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); isDerbyNet = Te... | 1,107,982 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.