bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
final byte[] readBytes() throws org.apache.derby.client.am.DisconnectException { int len = ddmScalarLen_; ensureBLayerDataInBuffer(len); adjustLengths(len); byte[] b = new byte[len]; System.arraycopy(buffer_, pos_, b, 0, len); pos_ += len; return b; } | final byte[] readBytes() throws org.apache.derby.client.am.DisconnectException { int len = ddmScalarLen_; ensureBLayerDataInBuffer(len); adjustLengths(len); byte[] b = new byte[len]; System.arraycopy(buffer_, pos_, b, 0, len); pos_ += len; return b; } | 1,104,778 |
final byte[] readBytes() throws org.apache.derby.client.am.DisconnectException { int len = ddmScalarLen_; ensureBLayerDataInBuffer(len); adjustLengths(len); byte[] b = new byte[len]; System.arraycopy(buffer_, pos_, b, 0, len); pos_ += len; return b; } | final byte[] readBytes() throws org.apache.derby.client.am.DisconnectException { int len = ddmScalarLen_; ensureBLayerDataInBuffer(len); adjustLengths(len); byte[] b = new byte[len]; System.arraycopy(buffer_, pos_, b, 0, len); pos_ += len; return b; } | 1,104,779 |
final String readString() throws org.apache.derby.client.am.DisconnectException { int len = ddmScalarLen_; ensureBLayerDataInBuffer(len); adjustLengths(len); String result = ccsidManager_.convertToUCS2(buffer_, pos_, len); pos_ += len; return result; } | final String readString() throws org.apache.derby.client.am.DisconnectException { int len = ddmScalarLen_; ensureBLayerDataInBuffer(len); adjustLengths(len); String result = ccsidManager_.convertToUCS2(buffer_, pos_, len); pos_ += len; return result; } | 1,104,780 |
final String readFastString(int length, String encoding) throws org.apache.derby.client.am.DisconnectException { String s = null; try { s = new String(buffer_, pos_, length, encoding); } catch (java.io.UnsupportedEncodingException e) { agent_.accumulateChainBreakingReadExc... | final String readFastString(int length, String encoding) throws org.apache.derby.client.am.DisconnectException { String s = null; try { s = new String(buffer_, pos_, length, encoding); } catch (java.io.UnsupportedEncodingException e) { agent_.accumulateChainBreakingReadExc... | 1,104,781 |
final String readFastString(int length, String encoding) throws org.apache.derby.client.am.DisconnectException { String s = null; try { s = new String(buffer_, pos_, length, encoding); } catch (java.io.UnsupportedEncodingException e) { agent_.accumulateChainBreakingReadExc... | final String readFastString(int length, String encoding) throws org.apache.derby.client.am.DisconnectException { String s = null; try { s = new String(buffer_, pos_, length, encoding); } catch (java.io.UnsupportedEncodingException e) { agent_.accumulateChainBreakingReadExc... | 1,104,782 |
NetSqlca(org.apache.derby.client.am.Connection connection, int sqlCode, byte[] sqlStateBytes, byte[] sqlErrpBytes, int ccsid) { super(connection); sqlCode_ = sqlCode; sqlStateBytes_ = sqlStateBytes; sqlErrpBytes_ = sqlErrpBytes; ccsi... | NetSqlca(org.apache.derby.client.am.Connection connection, int sqlCode, byte[] sqlStateBytes, byte[] sqlErrpBytes, int ccsid) { super(connection); sqlCode_ = sqlCode; sqlStateBytes_ = sqlStateBytes; sqlErrpBytes_ = sqlErrpBytes; ccsi... | 1,104,783 |
NetSqlca(org.apache.derby.client.am.Connection connection, int sqlCode, byte[] sqlStateBytes, byte[] sqlErrpBytes, int ccsid) { super(connection); sqlCode_ = sqlCode; sqlStateBytes_ = sqlStateBytes; sqlErrpBytes_ = sqlErrpBytes; ccsi... | NetSqlca(org.apache.derby.client.am.Connection connection, int sqlCode, byte[] sqlStateBytes, byte[] sqlErrpBytes, int ccsid) { super(connection); sqlCode_ = sqlCode; sqlState_ = sqlState; sqlErrpBytes_ = sqlErrpBytes; ccsid_ = ccsid... | 1,104,784 |
NetSqlca(org.apache.derby.client.am.Connection connection, int sqlCode, byte[] sqlStateBytes, byte[] sqlErrpBytes, int ccsid) { super(connection); sqlCode_ = sqlCode; sqlStateBytes_ = sqlStateBytes; sqlErrpBytes_ = sqlErrpBytes; ccsi... | NetSqlca(org.apache.derby.client.am.Connection connection, int sqlCode, byte[] sqlStateBytes, byte[] sqlErrpBytes, int ccsid) { super(connection); sqlCode_ = sqlCode; sqlStateBytes_ = sqlStateBytes; sqlErrpBytes_ = sqlErrpBytes; ... | 1,104,785 |
public SortResultSet(NoPutResultSet s, boolean distinct, boolean isInSortedOrder, int orderingItem, Activation a, GeneratedMethod ra, int maxRowSize, int resultSetNumber, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod c) throws Standar... | public SortResultSet(NoPutResultSet s, boolean distinct, boolean isInSortedOrder, int orderingItem, Activation a, GeneratedMethod ra, int maxRowSize, int resultSetNumber, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod c) throws Standar... | 1,104,786 |
public SortResultSet(NoPutResultSet s, boolean distinct, boolean isInSortedOrder, int orderingItem, Activation a, GeneratedMethod ra, int maxRowSize, int resultSetNumber, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod c) throws Standar... | public SortResultSet(NoPutResultSet s, boolean distinct, boolean isInSortedOrder, int orderingItem, Activation a, GeneratedMethod ra, int maxRowSize, int resultSetNumber, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod c) throws Standar... | 1,104,787 |
public void close() throws StandardException { beginTime = getCurrentTimeMillis(); if ( isOpen ) { // we don't want to keep around a pointer to the // row ... so it can be thrown away. // REVISIT: does this need to be in a finally // block, to ensure that it is executed? clearCurrentRow(); if (clo... | public void close() throws StandardException { beginTime = getCurrentTimeMillis(); if ( isOpen ) { // we don't want to keep around a pointer to the // row ... so it can be thrown away. // REVISIT: does this need to be in a finally // block, to ensure that it is executed? clearCurrentRow(); if (clo... | 1,104,788 |
public void close() throws StandardException { beginTime = getCurrentTimeMillis(); if ( isOpen ) { // we don't want to keep around a pointer to the // row ... so it can be thrown away. // REVISIT: does this need to be in a finally // block, to ensure that it is executed? clearCurrentRow(); if (clo... | public void close() throws StandardException { beginTime = getCurrentTimeMillis(); if ( isOpen ) { // we don't want to keep around a pointer to the // row ... so it can be thrown away. // REVISIT: does this need to be in a finally // block, to ensure that it is executed? clearCurrentRow(); if (clo... | 1,104,789 |
public UTF(String value) { super(value); } | public UTF() { super(value); } | 1,104,790 |
public UTF(String value) { super(value); } | public UTF(String value) { } | 1,104,791 |
public int getScanArgs( TransactionController tc, MethodBuilder mb, Optimizable innerTable, OptimizablePredicateList storeRestrictionList, OptimizablePredicateList nonStoreRestrictionList, ExpressionClassBuilderInterface acbi, int bulkFetch, MethodBuilder resultRowAlloca... | public int getScanArgs( TransactionController tc, MethodBuilder mb, Optimizable innerTable, OptimizablePredicateList storeRestrictionList, OptimizablePredicateList nonStoreRestrictionList, ExpressionClassBuilderInterface acbi, int bulkFetch, MethodBuilder resultRowAlloca... | 1,104,792 |
public int getScanArgs( TransactionController tc, MethodBuilder mb, Optimizable innerTable, OptimizablePredicateList storeRestrictionList, OptimizablePredicateList nonStoreRestrictionList, ExpressionClassBuilderInterface acbi, int bulkFetch, MethodBuilder resultRowAlloca... | public int getScanArgs( TransactionController tc, MethodBuilder mb, Optimizable innerTable, OptimizablePredicateList storeRestrictionList, OptimizablePredicateList nonStoreRestrictionList, ExpressionClassBuilderInterface acbi, int bulkFetch, MethodBuilder resultRowAlloca... | 1,104,793 |
public boolean deletesAreDetected(int type) { return false; } | public boolean deletesAreDetected(int type) { if (type == JDBC20Translation.TYPE_SCROLL_INSENSITIVE) { return true; } else { return false; } } | 1,104,795 |
public boolean ownDeletesAreVisible(int type) { return false; } | public boolean ownDeletesAreVisible(int type) { return false; } | 1,104,796 |
public boolean ownUpdatesAreVisible(int type) { return false; } | public boolean ownUpdatesAreVisible(int type) { if (type == JDBC20Translation.TYPE_SCROLL_INSENSITIVE) { return true; } else { return false; } } | 1,104,797 |
public boolean supportsResultSetConcurrency(int type, int concurrency) { //FORWARD_ONLY + CONCUR_UPDATABLE combination is supported (at this point, delete and update functionality only) if ((type == JDBC20Translation.TYPE_FORWARD_ONLY) && (concurrency == JDBC20Translation.CONCUR_UPDATABLE)) return true; //requ... | public boolean supportsResultSetConcurrency(int type, int concurrency) { //FORWARD_ONLY + CONCUR_UPDATABLE combination is supported (at this point, delete and update functionality only) if ((type == JDBC20Translation.TYPE_FORWARD_ONLY) && (concurrency == JDBC20Translation.CONCUR_UPDATABLE)) return true; //requ... | 1,104,798 |
public boolean updatesAreDetected(int type) { return false; } | public boolean updatesAreDetected(int type) { if (type == JDBC20Translation.TYPE_SCROLL_INSENSITIVE) { return true; } else { return false; } } | 1,104,799 |
public void free() throws SQLException { throw Util.notImplemented(); } | public void free() throws SQLException { if (!isValid) return; isValid = false; if (!isString) ((Resetable)myStream).closeStream(); else myString = null; } | 1,104,804 |
private void T03(DaemonService daemon) throws T_Fail, StandardException { T_Serviceable s1 = new T_Serviceable(false); // unsubscribe this laster serviceRecord.addElement(s1); int sub1 = daemon.subscribe(s1, false); T_Serviceable e1 = new T_Serviceable(1); serviceRecord.addElement(e1); daemon.enqueue(e1, false... | private void T03(DaemonService daemon) throws T_Fail, StandardException { T_Serviceable s1 = new T_Serviceable(false); // unsubscribe this laster serviceRecord.addElement(s1); int sub1 = daemon.subscribe(s1, false); T_Serviceable e1 = new T_Serviceable(1); serviceRecord.addElement(e1); daemon.enqueue(e1, false... | 1,104,810 |
public final XAConnection getXAConnection() throws SQLException { if (ra == null || !ra.isActive()) setupResourceAdapter(null, null, false); return new EmbedXAConnection(this, ra, getUser(), getPassword(), false); } | public final XAConnection getXAConnection() throws SQLException { if (ra == null || !ra.isActive()) setupResourceAdapter(null, null, false); return createXAConnection (ra, getUser(), getPassword(), false); } | 1,104,812 |
public static void main (String args[]) throws Exception { if ((System.getProperty("java.vm.name") != null) && System.getProperty("java.vm.name").equals("J9")) jvm = jvm.getJvm("j9_13"); else jvm = jvm.getJvm("currentjvm"); // ensure compatibility vCmd = jvm.getCommandLine(); try { ij.getPropertyArg(args);... | public static void main (String args[]) throws Exception { if ((System.getProperty("java.vm.name") != null) && System.getProperty("java.vm.name").equals("J9")) jvm = jvm.getJvm("j9_13"); else jvm = jvm.getJvm("currentjvm"); // ensure compatibility vCmd = jvm.getCommandLine(); try { ij.getPropertyArg(args);... | 1,104,813 |
public static void main (String args[]) throws Exception { if ((System.getProperty("java.vm.name") != null) && System.getProperty("java.vm.name").equals("J9")) jvm = jvm.getJvm("j9_13"); else jvm = jvm.getJvm("currentjvm"); // ensure compatibility vCmd = jvm.getCommandLine(); try { ij.getPropertyArg(args);... | public static void main (String args[]) throws Exception { if ((System.getProperty("java.vm.name") != null) && System.getProperty("java.vm.name").equals("J9")) jvm = jvm.getJvm("j9_13"); else jvm = jvm.getJvm("currentjvm"); // ensure compatibility vCmd = jvm.getCommandLine(); try { ij.getPropertyArg(args);... | 1,104,814 |
private boolean parseDRDAConnection() throws DRDAProtocolException { int codePoint; boolean sessionOK = true; int securityCheckCode = parseSECCHK(); if (SanityManager.DEBUG) trace("*** SECCHKRM securityCheckCode is: "+securityCheckCode); writeSECCHKRM(securityCheckCode); //at this point if the security check f... | private boolean parseDRDAConnection() throws DRDAProtocolException { int codePoint; boolean sessionOK = true; int securityCheckCode = parseSECCHK(); if (SanityManager.DEBUG) trace("*** SECCHKRM securityCheckCode is: "+securityCheckCode); writeSECCHKRM(securityCheckCode); //at this point if the security check f... | 1,104,815 |
private boolean parseDRDAConnection() throws DRDAProtocolException { int codePoint; boolean sessionOK = true; int securityCheckCode = parseSECCHK(); if (SanityManager.DEBUG) trace("*** SECCHKRM securityCheckCode is: "+securityCheckCode); writeSECCHKRM(securityCheckCode); //at this point if the security check f... | private boolean parseDRDAConnection() throws DRDAProtocolException { int codePoint; boolean sessionOK = true; int securityCheckCode = parseSECCHK(); if (SanityManager.DEBUG) trace("*** SECCHKRM securityCheckCode is: "+securityCheckCode); writeSECCHKRM(securityCheckCode); //at this point if the security check f... | 1,104,816 |
private boolean parseDRDAConnection() throws DRDAProtocolException { int codePoint; boolean sessionOK = true; int securityCheckCode = parseSECCHK(); if (SanityManager.DEBUG) trace("*** SECCHKRM securityCheckCode is: "+securityCheckCode); writeSECCHKRM(securityCheckCode); //at this point if the security check f... | private boolean parseDRDAConnection() throws DRDAProtocolException { int codePoint; boolean sessionOK = true; int securityCheckCode = parseSECCHK(); if (SanityManager.DEBUG) trace("*** SECCHKRM securityCheckCode is: "+securityCheckCode); writeSECCHKRM(securityCheckCode); //at this point if the security check f... | 1,104,817 |
public RowIdLifetime getRowIdLifetime() throws SQLException { throw SQLExceptionFactory.notImplemented ("getRowIdLifetime ()"); } | public RowIdLifetime getRowIdLifetime() throws SQLException { checkForClosedConnection(); return RowIdLifetime.ROWID_UNSUPPORTED; } | 1,104,819 |
public void generateOneParameter(ExpressionClassBuilder acb, MethodBuilder mb, int parameterNumber ) throws StandardException { int parameterMode; SQLToJavaValueNode sql2j = null; if (methodParms[parameterNumber] instanceof SQLToJavaValueNode) sql2j = (SQLToJavaValueNode) methodParms[paramet... | public void generateOneParameter(ExpressionClassBuilder acb, MethodBuilder mb, int parameterNumber ) throws StandardException { int parameterMode; SQLToJavaValueNode sql2j = null; if (methodParms[parameterNumber] instanceof SQLToJavaValueNode) sql2j = (SQLToJavaValueNode) methodParms[paramet... | 1,104,821 |
public void generateOneParameter(ExpressionClassBuilder acb, MethodBuilder mb, int parameterNumber ) throws StandardException { int parameterMode; SQLToJavaValueNode sql2j = null; if (methodParms[parameterNumber] instanceof SQLToJavaValueNode) sql2j = (SQLToJavaValueNode) methodParms[paramet... | public void generateOneParameter(ExpressionClassBuilder acb, MethodBuilder mb, int parameterNumber ) throws StandardException { int parameterMode; SQLToJavaValueNode sql2j = null; if (methodParms[parameterNumber] instanceof SQLToJavaValueNode) sql2j = (SQLToJavaValueNode) methodParms[paramet... | 1,104,822 |
private void resolveRoutine(FromList fromList, SubqueryList subqueryList, Vector aggregateVector, SchemaDescriptor sd) throws StandardException { if (sd.getUUID() != null) { java.util.List list = getDataDictionary().getRoutineList( sd.getUUID().toString(), methodName, forCallStatement ? AliasInfo.ALIAS_NAME_SPAC... | private void resolveRoutine(FromList fromList, SubqueryList subqueryList, Vector aggregateVector, SchemaDescriptor sd) throws StandardException { if (sd.getUUID() != null) { java.util.List list = getDataDictionary().getRoutineList( sd.getUUID().toString(), methodName, forCallStatement ? AliasInfo.ALIAS_NAME_SPAC... | 1,104,823 |
private void resolveRoutine(FromList fromList, SubqueryList subqueryList, Vector aggregateVector, SchemaDescriptor sd) throws StandardException { if (sd.getUUID() != null) { java.util.List list = getDataDictionary().getRoutineList( sd.getUUID().toString(), methodName, forCallStatement ? AliasInfo.ALIAS_NAME_SPAC... | private void resolveRoutine(FromList fromList, SubqueryList subqueryList, Vector aggregateVector, SchemaDescriptor sd) throws StandardException { if (sd.getUUID() != null) { java.util.List list = getDataDictionary().getRoutineList( sd.getUUID().toString(), methodName, forCallStatement ? AliasInfo.ALIAS_NAME_SPAC... | 1,104,824 |
private void resolveRoutine(FromList fromList, SubqueryList subqueryList, Vector aggregateVector, SchemaDescriptor sd) throws StandardException { if (sd.getUUID() != null) { java.util.List list = getDataDictionary().getRoutineList( sd.getUUID().toString(), methodName, forCallStatement ? AliasInfo.ALIAS_NAME_SPAC... | private void resolveRoutine(FromList fromList, SubqueryList subqueryList, Vector aggregateVector, SchemaDescriptor sd) throws StandardException { if (sd.getUUID() != null) { java.util.List list = getDataDictionary().getRoutineList( sd.getUUID().toString(), methodName, forCallStatement ? AliasInfo.ALIAS_NAME_SPAC... | 1,104,825 |
void t_isPoolable() { try { boolean b; b = ps.isPoolable(); 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_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,104,826 |
void t_setBlob() { try { ps.setBlob(0,null,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_setBlob() { try { ps.setBlob(0,null,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,104,827 |
void t_setClob() { try { ps.setClob(0,null,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_setClob() { try { ps.setClob(0,null,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,104,828 |
void t_setNCharacterStream() { try { ps.setNCharacterStream(0,null,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_setNCharacterStream() { try { ps.setNCharacterStream(0,null,0); 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,104,829 |
void t_setNClob1() { try { ps.setNClob(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_setNClob1() { try { ps.setNClob(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,104,830 |
void t_setNClob2() { try { ps.setNClob(0,null,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_setNClob2() { try { ps.setNClob(0,null,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,104,831 |
void t_setNString() { try { ps.setNString(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_setNString() { try { ps.setNString(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,104,832 |
void t_setPoolable() { try { ps.setPoolable(false); 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_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,104,833 |
void t_setRowId() { try { ps.setRowId(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); } } catch(... | void t_setRowId() { try { ps.setRowId(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,104,834 |
void t_setSQLXML() { try { ps.setSQLXML(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_setSQLXML() { try { ps.setSQLXML(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,104,835 |
public void doTag(XMLOutput output) throws Exception { TaskSource tag = (TaskSource) findAncestorWithClass( TaskSource.class ); if ( tag == null ) { throw new JellyException( "You should only use Ant DataType tags within an Ant Task" ); } Object task = tag.getT... | public void doTag(XMLOutput output) throws Exception { TaskSource tag = (TaskSource) findAncestorWithClass( TaskSource.class ); if ( tag == null ) { throw new JellyException( "You should only use Ant DataType tags within an Ant Task" ); } Object task = tag.getT... | 1,104,836 |
final void initialize() { pos_ = 0; count_ = 0; topDdmCollectionStack_ = Reply.EMPTY_STACK; for (int i = 0; i < Reply.MAX_MARKS_NESTING; i++) { ddmCollectionLenStack_[i] = 0; } ddmScalarLen_ = 0; dssLength_ = 0; dssIsContinued_ = false; dssIs... | final void initialize() { pos_ = 0; count_ = 0; topDdmCollectionStack_ = Reply.EMPTY_STACK; for (int i = 0; i < Reply.MAX_MARKS_NESTING; i++) { ddmCollectionLenStack_[i] = 0; } ddmScalarLen_ = 0; dssLength_ = 0; dssIsContinued_ = false; dssIs... | 1,104,837 |
public QueryTreeNode bind() throws StandardException { DataDictionary dataDictionary; dataDictionary = getDataDictionary(); // This is how we handle queries like: SELECT A FROM T ORDER BY B. // We pull up the order by columns (if they don't appear in the SELECT // LIST) and let the bind() do the job. Note tha... | public QueryTreeNode bind() throws StandardException { DataDictionary dataDictionary; dataDictionary = getDataDictionary(); // This is how we handle queries like: SELECT A FROM T ORDER BY B. // We pull up the order by columns (if they don't appear in the SELECT // LIST) and let the bind() do the job. Note tha... | 1,104,838 |
public String getClientInfo(String name) throws SQLException{ throw SQLExceptionFactory.notImplemented ("getClientInfo (String)"); } | public String getClientInfo(String name) throws SQLException{ throw SQLExceptionFactory.notImplemented ("getClientInfo (String)"); } | 1,104,840 |
public void setClientInfo(String name, String value) throws SQLException{ throw SQLExceptionFactory.notImplemented ("setClientInfo (String, String)"); } | public void setClientInfo(String name, String value) throws SQLException{ throw SQLExceptionFactory.notImplemented ("setClientInfo (String, String)"); } | 1,104,841 |
protected String extractDBNameFromUrl(String dbUrl) { if (dbUrl == null) // shouldn't happen; ignore it here, as an error // will be thrown we try to connect. return ""; int start = dbUrl.indexOf("jdbc:derby:"); if (start == -1) // not a valid url; just ignore it (an error // will be thrown when we try to con... | protected String extractDBNameFromUrl(String dbUrl) { if (dbUrl == null) // shouldn't happen; ignore it here, as an error // will be thrown we try to connect. return ""; int start = dbUrl.indexOf("jdbc:derby:"); if (start == -1) // not a valid url; just ignore it (an error // will be thrown when we try to con... | 1,104,842 |
private int loadParam(String [] args, int start) { if ((args[start].length() == 0) || args[start].charAt(0) != '-') // starting argument should be a flag; if it's // not, ignore it. return start; boolean haveVal = (args.length > start + 1); switch (args[start].charAt(1)) { case 'd': if (!haveVal) retur... | private int loadParam(String [] args, int start) { if ((args[start].length() == 0) || args[start].charAt(0) != '-') // starting argument should be a flag; if it's // not, ignore it. return start; boolean haveVal = (args.length > start + 1); switch (args[start].charAt(1)) { case 'd': if (!haveVal) retur... | 1,104,843 |
private int loadParam(String [] args, int start) { if ((args[start].length() == 0) || args[start].charAt(0) != '-') // starting argument should be a flag; if it's // not, ignore it. return start; boolean haveVal = (args.length > start + 1); switch (args[start].charAt(1)) { case 'd': if (!haveVal) retur... | private int loadParam(String [] args, int start) { if ((args[start].length() == 0) || args[start].charAt(0) != '-') // starting argument should be a flag; if it's // not, ignore it. return start; boolean haveVal = (args.length > start + 1); switch (args[start].charAt(1)) { case 'd': if (!haveVal) retur... | 1,104,844 |
private int loadParam(String [] args, int start) { if ((args[start].length() == 0) || args[start].charAt(0) != '-') // starting argument should be a flag; if it's // not, ignore it. return start; boolean haveVal = (args.length > start + 1); switch (args[start].charAt(1)) { case 'd': if (!haveVal) retur... | private int loadParam(String [] args, int start) { if ((args[start].length() == 0) || args[start].charAt(0) != '-') // starting argument should be a flag; if it's // not, ignore it. return start; } return -1; boolean haveVal = (args.length > start + 1); switch (args[start].charAt(1)) { case 'd': if (!haveV... | 1,104,845 |
private int loadParam(String [] args, int start) { if ((args[start].length() == 0) || args[start].charAt(0) != '-') // starting argument should be a flag; if it's // not, ignore it. return start; boolean haveVal = (args.length > start + 1); switch (args[start].charAt(1)) { case 'd': if (!haveVal) retur... | private int loadParam(String [] args, int start) { if ((args[start].length() == 0) || args[start].charAt(0) != '-') // starting argument should be a flag; if it's // not, ignore it. return start; boolean haveVal = (args.length > start + 1); switch (args[start].charAt(1)) { case 'd': if (!haveVal) retur... | 1,104,846 |
public static void doSchemas(Connection conn, boolean tablesOnly) throws SQLException { Statement stmt = conn.createStatement(); ResultSet rs = stmt.executeQuery("SELECT SCHEMANAME, SCHEMAID " + "FROM SYS.SYSSCHEMAS"); boolean firstTime = true; while (rs.next()) { String sName = dblook.addQuotes( dblook.ex... | public static void doSchemas(Connection conn, boolean tablesOnly) throws SQLException { Statement stmt = conn.createStatement(); ResultSet rs = stmt.executeQuery("SELECT SCHEMANAME, SCHEMAID " + "FROM SYS.SYSSCHEMAS"); boolean firstTime = true; while (rs.next()) { String sName = dblook.addQuotes( dblook.ex... | 1,104,847 |
public static void doIndexes(Connection conn) throws SQLException { Statement stmt = conn.createStatement(); ResultSet rs = stmt.executeQuery("SELECT TABLEID, CONGLOMERATENAME, " + "DESCRIPTOR, SCHEMAID, ISINDEX, ISCONSTRAINT FROM SYS.SYSCONGLOMERATES " + "ORDER BY TABLEID"); boolean firstTime = true; while (... | public static void doIndexes(Connection conn) throws SQLException { Statement stmt = conn.createStatement(); ResultSet rs = stmt.executeQuery("SELECT TABLEID, CONGLOMERATENAME, " + "DESCRIPTOR, SCHEMAID, ISINDEX, ISCONSTRAINT FROM SYS.SYSCONGLOMERATES " + "ORDER BY TABLEID"); boolean firstTime = true; while (... | 1,104,848 |
public static void doTriggers (Connection conn) throws SQLException { Statement stmt = conn.createStatement(); ResultSet rs = stmt.executeQuery("SELECT TRIGGERNAME, SCHEMAID, " + "EVENT, FIRINGTIME, TYPE, TABLEID, REFERENCEDCOLUMNS, " + "TRIGGERDEFINITION, REFERENCINGOLD, REFERENCINGNEW, OLDREFERENCINGNAME, " ... | public static void doTriggers (Connection conn) throws SQLException { Statement stmt = conn.createStatement(); ResultSet rs = stmt.executeQuery("SELECT TRIGGERNAME, SCHEMAID, " + "EVENT, FIRINGTIME, TYPE, TABLEID, REFERENCEDCOLUMNS, " + "TRIGGERDEFINITION, REFERENCINGOLD, REFERENCINGNEW, OLDREFERENCINGNAME, " ... | 1,104,849 |
private void finalizeDssLength () { // calculate the total size of the dss and the number of bytes which would // require continuation dss headers. The total length already includes the // the 6 byte dss header located at the beginning of the dss. It does not // include the length of any continuation headers. int... | private void finalizeDssLength () { // calculate the total size of the dss and the number of bytes which would // require continuation dss headers. The total length already includes the // the 6 byte dss header located at the beginning of the dss. It does not // include the length of any continuation headers. int... | 1,104,850 |
private void finalizeDssLength () { // calculate the total size of the dss and the number of bytes which would // require continuation dss headers. The total length already includes the // the 6 byte dss header located at the beginning of the dss. It does not // include the length of any continuation headers. int... | private void finalizeDssLength () { // calculate the total size of the dss and the number of bytes which would // require continuation dss headers. The total length already includes the // the 6 byte dss header located at the beginning of the dss. It does not // include the length of any continuation headers. int... | 1,104,851 |
private void finalizeDssLength () { // calculate the total size of the dss and the number of bytes which would // require continuation dss headers. The total length already includes the // the 6 byte dss header located at the beginning of the dss. It does not // include the length of any continuation headers. int... | private void finalizeDssLength () { // calculate the total size of the dss and the number of bytes which would // require continuation dss headers. The total length already includes the // the 6 byte dss header located at the beginning of the dss. It does not // include the length of any continuation headers. int... | 1,104,852 |
VTIResultSet(Activation activation, GeneratedMethod row, int resultSetNumber, GeneratedMethod constructor, String javaClassName, Qualifier[][] pushedQualifiers, int erdNumber, boolean version2, boolean reuseablePs, int ctcNumber, boolean isTarget, int scanIsolationLevel, doubl... | VTIResultSet(Activation activation, GeneratedMethod row, int resultSetNumber, GeneratedMethod constructor, String javaClassName, Qualifier[][] pushedQualifiers, int erdNumber, boolean version2, boolean reuseablePs, int ctcNumber, boolean isTarget, int scanIsolationLevel, doubl... | 1,104,854 |
VTIResultSet(Activation activation, GeneratedMethod row, int resultSetNumber, GeneratedMethod constructor, String javaClassName, Qualifier[][] pushedQualifiers, int erdNumber, boolean version2, boolean reuseablePs, int ctcNumber, boolean isTarget, int scanIsolationLevel, doubl... | VTIResultSet(Activation activation, GeneratedMethod row, int resultSetNumber, GeneratedMethod constructor, String javaClassName, Qualifier[][] pushedQualifiers, int erdNumber, boolean version2, boolean reuseablePs, int ctcNumber, boolean isTarget, int scanIsolationLevel, doubl... | 1,104,855 |
public void close() throws StandardException { beginTime = getCurrentTimeMillis(); if (isOpen) { if (closeCleanup != null) { closeCleanup.invoke(activation); // let activation tidy up } // we don't want to keep around a pointer to the // row ... so it can be thrown away. // REVISIT: does this need to be... | public void close() throws StandardException { beginTime = getCurrentTimeMillis(); if (isOpen) { if (closeCleanup != null) { closeCleanup.invoke(activation); // let activation tidy up } // we don't want to keep around a pointer to the // row ... so it can be thrown away. // REVISIT: does this need to be... | 1,104,856 |
public static void main(String[] args) throws Exception { // Load harness properties. ij.getPropertyArg(args); String hostName = TestUtil.getHostName(); if (hostName.equals("localhost")) NETWORKSERVER_PORT = 20000; else NETWORKSERVER_PORT = 1527; // "runTest()" is going to try to connect to the database th... | public static void main(String[] args) throws Exception { // Load harness properties. ij.getPropertyArg(args); String hostName = TestUtil.getHostName(); if (hostName.equals("localhost")) NETWORKSERVER_PORT = 20000; else NETWORKSERVER_PORT = 1527; // "runTest()" is going to try to connect to the database th... | 1,104,857 |
public static void main(String[] args) throws Exception { // Load harness properties. ij.getPropertyArg(args); String hostName = TestUtil.getHostName(); if (hostName.equals("localhost")) NETWORKSERVER_PORT = 20000; else NETWORKSERVER_PORT = 1527; // "runTest()" is going to try to connect to the database th... | public static void main(String[] args) throws Exception { // Load harness properties. ij.getPropertyArg(args); String hostName = TestUtil.getHostName(); if (hostName.equals("localhost")) NETWORKSERVER_PORT = 20000; else NETWORKSERVER_PORT = 1527; // "runTest()" is going to try to connect to the database th... | 1,104,858 |
public static void main(String[] args) throws Exception { // Load harness properties. ij.getPropertyArg(args); String hostName = TestUtil.getHostName(); if (hostName.equals("localhost")) NETWORKSERVER_PORT = 20000; else NETWORKSERVER_PORT = 1527; // "runTest()" is going to try to connect to the database th... | public static void main(String[] args) throws Exception { // Load harness properties. ij.getPropertyArg(args); String hostName = TestUtil.getHostName(); if (hostName.equals("localhost")) NETWORKSERVER_PORT = 20000; else NETWORKSERVER_PORT = 1527; // "runTest()" is going to try to connect to the database th... | 1,104,859 |
public static void main(String[] args) throws Exception { // Load harness properties. ij.getPropertyArg(args); String hostName = TestUtil.getHostName(); if (hostName.equals("localhost")) NETWORKSERVER_PORT = 20000; else NETWORKSERVER_PORT = 1527; // "runTest()" is going to try to connect to the database th... | public static void main(String[] args) throws Exception { // Load harness properties. ij.getPropertyArg(args); String hostName = TestUtil.getHostName(); if (hostName.equals("localhost")) NETWORKSERVER_PORT = 20000; else NETWORKSERVER_PORT = 1527; // "runTest()" is going to try to connect to the database th... | 1,104,860 |
public static void main(String[] args) throws Exception { // Load harness properties. ij.getPropertyArg(args); String hostName = TestUtil.getHostName(); if (hostName.equals("localhost")) NETWORKSERVER_PORT = 20000; else NETWORKSERVER_PORT = 1527; // "runTest()" is going to try to connect to the database th... | public static void main(String[] args) throws Exception { // Load harness properties. ij.getPropertyArg(args); String hostName = TestUtil.getHostName(); if (hostName.equals("localhost")) NETWORKSERVER_PORT = 20000; else NETWORKSERVER_PORT = 1527; // "runTest()" is going to try to connect to the database th... | 1,104,861 |
public static void main(String[] args) throws Exception { // Load harness properties. ij.getPropertyArg(args); String hostName = TestUtil.getHostName(); if (hostName.equals("localhost")) NETWORKSERVER_PORT = 20000; else NETWORKSERVER_PORT = 1527; // "runTest()" is going to try to connect to the database th... | public static void main(String[] args) throws Exception { // Load harness properties. ij.getPropertyArg(args); String hostName = TestUtil.getHostName(); if (hostName.equals("localhost")) NETWORKSERVER_PORT = 20000; else NETWORKSERVER_PORT = 1527; // "runTest()" is going to try to connect to the database th... | 1,104,862 |
public static void main(String[] args) throws Exception { // Load harness properties. ij.getPropertyArg(args); String hostName = TestUtil.getHostName(); if (hostName.equals("localhost")) NETWORKSERVER_PORT = 20000; else NETWORKSERVER_PORT = 1527; // "runTest()" is going to try to connect to the database th... | public static void main(String[] args) throws Exception { // Load harness properties. ij.getPropertyArg(args); String hostName = TestUtil.getHostName(); if (hostName.equals("localhost")) NETWORKSERVER_PORT = 20000; else NETWORKSERVER_PORT = 1527; // "runTest()" is going to try to connect to the database th... | 1,104,863 |
protected void resolveMethodCall(String javaClassName, boolean staticMethod) throws StandardException { // only allow direct method calls through routines and internal SQL. if (routineInfo == null && !internalCall) { // See if we are being executed in an internal context if ((getCompilerContext().g... | protected void resolveMethodCall(String javaClassName, boolean staticMethod) throws StandardException { // only allow direct method calls through routines and internal SQL. if (routineInfo == null && !internalCall) { // See if we are being executed in an internal context if ((getCompilerContext().g... | 1,104,864 |
protected void resolveMethodCall(String javaClassName, boolean staticMethod) throws StandardException { // only allow direct method calls through routines and internal SQL. if (routineInfo == null && !internalCall) { // See if we are being executed in an internal context if ((getCompilerContext().g... | protected void resolveMethodCall(String javaClassName, boolean staticMethod) throws StandardException { // only allow direct method calls through routines and internal SQL. if (routineInfo == null && !internalCall) { // See if we are being executed in an internal context if ((getCompilerContext().g... | 1,104,865 |
protected void resolveMethodCall(String javaClassName, boolean staticMethod) throws StandardException { // only allow direct method calls through routines and internal SQL. if (routineInfo == null && !internalCall) { // See if we are being executed in an internal context if ((getCompilerContext().g... | protected void resolveMethodCall(String javaClassName, boolean staticMethod) throws StandardException { // only allow direct method calls through routines and internal SQL. if (routineInfo == null && !internalCall) { // See if we are being executed in an internal context if ((getCompilerContext().g... | 1,104,866 |
protected void resolveMethodCall(String javaClassName, boolean staticMethod) throws StandardException { // only allow direct method calls through routines and internal SQL. if (routineInfo == null && !internalCall) { // See if we are being executed in an internal context if ((getCompilerContext().g... | protected void resolveMethodCall(String javaClassName, boolean staticMethod) throws StandardException { // only allow direct method calls through routines and internal SQL. if (routineInfo == null && !internalCall) { // See if we are being executed in an internal context if ((getCompilerContext().g... | 1,104,868 |
protected void resolveMethodCall(String javaClassName, boolean staticMethod) throws StandardException { // only allow direct method calls through routines and internal SQL. if (routineInfo == null && !internalCall) { // See if we are being executed in an internal context if ((getCompilerContext().g... | protected void resolveMethodCall(String javaClassName, boolean staticMethod) throws StandardException { // only allow direct method calls through routines and internal SQL. if (routineInfo == null && !internalCall) { // See if we are being executed in an internal context if ((getCompilerContext().g... | 1,104,869 |
protected void resolveMethodCall(String javaClassName, boolean staticMethod) throws StandardException { // only allow direct method calls through routines and internal SQL. if (routineInfo == null && !internalCall) { // See if we are being executed in an internal context if ((getCompilerContext().g... | protected void resolveMethodCall(String javaClassName, boolean staticMethod) throws StandardException { // only allow direct method calls through routines and internal SQL. if (routineInfo == null && !internalCall) { // See if we are being executed in an internal context if ((getCompilerContext().g... | 1,104,870 |
void startCallableStatementMethodTest(Connection conn_in,CallableStatement cs_in) { conn = conn_in; cs = cs_in; t_getRowId1(); t_getRowId2(); t_setRowId(); t_setNString(); t_setNCharacterStream(); t_setNClob1(); t_setClob(); t_setBlob(); t... | void startCallableStatementMethodTest(Connection conn_in,CallableStatement cs_in) { conn = conn_in; cs = cs_in; t_getRowId1(); t_getRowId2(); t_setRowId(); t_setNString(); t_setNCharacterStream(); t_setNClob1(); t_setClob(); t_setBlob(); t... | 1,104,871 |
synchronized public void reset(LogWriter logWriter, String user, String password, ClientDataSource ds, boolean recomputeFromDataSource) throws SqlException { if (logWriter != null) { logWriter.traceConnectResetEntry(this, logWriter, user, (ds != null) ? ds : dataSource_); } try { ... | synchronized public void reset(LogWriter logWriter, String user, String password, ClientDataSource ds, boolean recomputeFromDataSource) throws SqlException { if (logWriter != null) { logWriter.traceConnectResetEntry(this, logWriter, user, (ds != null) ? ds : dataSource_); } try { ... | 1,104,872 |
public static Test suite() { TestSuite rsSuite = new TestSuite(ResultSetTest.class, "ResultSetTest suite"); // Add client only tests // NOTE: JCC is excluded if (usingDerbyNetClient()) { rsSuite.addTest( clientSuite("ResultSetTest client-only suit... | public static Test suite() { TestSuite rsSuite = new TestSuite(ResultSetTest.class, "ResultSetTest suite"); // Add client only tests // NOTE: JCC is excluded if (usingDerbyNetClient()) { rsSuite.addTest( clientSuite("ResultSetTest client-only suit... | 1,104,873 |
public static Test suite() { TestSuite rsSuite = new TestSuite(ResultSetTest.class, "ResultSetTest suite"); // Add client only tests // NOTE: JCC is excluded if (usingDerbyNetClient()) { rsSuite.addTest( clientSuite("ResultSetTest client-only suit... | public static Test suite() { TestSuite rsSuite = new TestSuite(ResultSetTest.class, "ResultSetTest suite"); // Add client only tests // NOTE: JCC is excluded if (usingDerbyNetClient()) { rsSuite.addTest( clientSuite("ResultSetTest client-only suit... | 1,104,874 |
JarDBFile( JarDBFile dir, String name) { super( dir,name); this.storageFactory = dir.storageFactory; } | JarDBFile( JarStorageFactory storageFactory, String path) { super( dir,name); this.storageFactory = dir.storageFactory; } | 1,104,876 |
JarDBFile( JarDBFile dir, String name) { super( dir,name); this.storageFactory = dir.storageFactory; } | JarDBFile( JarDBFile dir, String name) { super( dir,name); this.storageFactory = dir.storageFactory; } | 1,104,877 |
abstract StorageFile getParentDir( int pathLen); | public StorageFile getParentDir() { if( path.length() <= storageFactory.separatedDataDirectory.length()) return null; return getParentDir( path.lastIndexOf( '/')); } | 1,104,878 |
public static Test suite() { final TestSuite suite = new TestSuite("DatabaseClassLoadingTest"); // Need DriverManager to execute the add contact procedure // as it uses server side jdbc. Test test = suite; if (JDBC.vmSupportsJDBC3()) { suite.add... | public static Test suite() { final TestSuite suite = new TestSuite("DatabaseClassLoadingTest"); // Need DriverManager to execute the add contact procedure // as it uses server side jdbc. Test test = suite; if (JDBC.vmSupportsJDBC3()) { suite.add... | 1,104,879 |
public static void main(String[] args) throws Exception { skiptestReason.setLength(0); // 0 out for useprocess // Determine the test type if (args.length == 0) { // No script name provided System.out.println("no test name provided"); System.exit(1); } scriptName = args[0]; if (Boolean.getBoolean("listOnl... | public static void main(String[] args) throws Exception { skiptestReason.setLength(0); // 0 out for useprocess // Determine the test type if (args.length == 0) { // No script name provided System.out.println("no test name provided"); System.exit(1); } scriptName = args[0]; if (Boolean.getBoolean("listOnl... | 1,104,881 |
public static void main(String[] args) throws Exception { skiptestReason.setLength(0); // 0 out for useprocess // Determine the test type if (args.length == 0) { // No script name provided System.out.println("no test name provided"); System.exit(1); } scriptName = args[0]; if (Boolean.getBoolean("listOnl... | public static void main(String[] args) throws Exception { skiptestReason.setLength(0); // 0 out for useprocess // Determine the test type if (args.length == 0) { // No script name provided System.out.println("no test name provided"); System.exit(1); } scriptName = args[0]; if (Boolean.getBoolean("listOnl... | 1,104,882 |
public static void main(String[] args) throws Exception { skiptestReason.setLength(0); // 0 out for useprocess // Determine the test type if (args.length == 0) { // No script name provided System.out.println("no test name provided"); System.exit(1); } scriptName = args[0]; if (Boolean.getBoolean("listOnl... | public static void main(String[] args) throws Exception { skiptestReason.setLength(0); // 0 out for useprocess // Determine the test type if (args.length == 0) { // No script name provided System.out.println("no test name provided"); System.exit(1); } scriptName = args[0]; if (Boolean.getBoolean("listOnl... | 1,104,883 |
public static void main(String[] args) throws Exception { skiptestReason.setLength(0); // 0 out for useprocess // Determine the test type if (args.length == 0) { // No script name provided System.out.println("no test name provided"); System.exit(1); } scriptName = args[0]; if (Boolean.getBoolean("listOnl... | public static void main(String[] args) throws Exception { skiptestReason.setLength(0); // 0 out for useprocess // Determine the test type if (args.length == 0) { // No script name provided System.out.println("no test name provided"); System.exit(1); } scriptName = args[0]; if (Boolean.getBoolean("listOnl... | 1,104,884 |
public final void setAsciiStream(String parameterName, InputStream x, long length) throws SQLException { throw SQLExceptionFactory.notImplemented ("setAsciiStream(String,InputStream,long)"); } | public final void setAsciiStream(String parameterName, InputStream x, long length) throws SQLException { throw SQLExceptionFactory.notImplemented ("setAsciiStream(String,InputStream,long)"); } | 1,104,885 |
public final void setBinaryStream(String parameterName, InputStream x, long length) throws SQLException { throw SQLExceptionFactory.notImplemented ("setBinaryStream(String,InputStream,long)"); } | public final void setBinaryStream(String parameterName, InputStream x, long length) throws SQLException { throw SQLExceptionFactory.notImplemented ("setBinaryStream(String,InputStream,long)"); } | 1,104,886 |
public final void setCharacterStream(String parameterName, Reader x, long length) throws SQLException { throw SQLExceptionFactory.notImplemented ("setCharacterStream(String,Reader,long)"); } | public final void setCharacterStream(String parameterName, Reader x, long length) throws SQLException { throw SQLExceptionFactory.notImplemented ("setCharacterStream(String,Reader,long)"); } | 1,104,887 |
protected void executeSPS(SPSDescriptor sps) throws StandardException { boolean recompile = false; while (true) { /* ** Only grab the ps the 1st time through. This ** way a row trigger doesn't do any unnecessary ** setup work. */ if (ps == null || recompile) { /* ** We need to clone the prepared... | protected void executeSPS(SPSDescriptor sps) throws StandardException { boolean recompile = false; while (true) { /* ** Only grab the ps the 1st time through. This ** way a row trigger doesn't do any unnecessary ** setup work. */ if (ps == null || recompile) { /* ** We need to clone the prepared... | 1,104,889 |
public void executeGrantRevoke( Activation activation, boolean grant, List grantees) throws StandardException { LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDataDictionary(); String currentUser = lcc.getAuthorizationId(); TransactionControll... | public void executeGrantRevoke( Activation activation, boolean grant, List grantees) throws StandardException { LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDataDictionary(); String currentUser = lcc.getAuthorizationId(); TransactionControll... | 1,104,890 |
public NetXAConnection(NetLogWriter netLogWriter, String user, String password, org.apache.derby.jdbc.ClientBaseDataSource dataSource, int rmId, boolean isXAConn) throws SqlException { ... | public NetXAConnection(NetLogWriter netLogWriter, String user, String password, org.apache.derby.jdbc.ClientBaseDataSource dataSource, int rmId, boolean isXAConn, ClientPooledConnection ... | 1,104,891 |
public NetXAConnection(NetLogWriter netLogWriter, String user, String password, org.apache.derby.jdbc.ClientBaseDataSource dataSource, int rmId, boolean isXAConn) throws SqlException { ... | public NetXAConnection(NetLogWriter netLogWriter, String user, String password, org.apache.derby.jdbc.ClientBaseDataSource dataSource, int rmId, boolean isXAConn) throws SqlException { ... | 1,104,892 |
protected NetConnection createNetConnection (NetLogWriter netLogWriter, String user, String password, org.apache.derby.jdbc.ClientBaseDataSource dataSource, int rmId, boolean isXAConn) t... | protected NetConnection createNetConnection (NetLogWriter netLogWriter, String user, String password, org.apache.derby.jdbc.ClientBaseDataSource dataSource, int rmId, boolean isXAConn, C... | 1,104,893 |
protected NetConnection createNetConnection (NetLogWriter netLogWriter, String user, String password, org.apache.derby.jdbc.ClientBaseDataSource dataSource, int rmId, boolean isXAConn) t... | protected NetConnection createNetConnection (NetLogWriter netLogWriter, String user, String password, org.apache.derby.jdbc.ClientBaseDataSource dataSource, int rmId, boolean isXAConn) t... | 1,104,894 |
public void doTag(final XMLOutput output) throws Exception { getGoal(getName()).addPostGoalCallback( new PreGoalCallback() { public void firePreGoal(Goal goal) throws Exception { // lets run the body log.info( "Running post target: " + g... | public void doTag(final XMLOutput output) throws Exception { getGoal(getName()).addPostGoalCallback( new PreGoalCallback() { public void firePreGoal(Goal goal) throws Exception { // lets run the body log.info( "Running post target: " + g... | 1,104,895 |
void installJarTest() throws SQLException, Exception{ logMessage("Begin Install Jar Test"); Connection conn1 = getConnection(); conn1.setAutoCommit(false); Statement conn1_stmt = conn1.createStatement(); Connection conn2 = getConnection(); conn2.setAutoCommit(false); ... | void installJarTest() throws Exception{ logMessage("Begin Install Jar Test"); Connection conn1 = getConnection(); conn1.setAutoCommit(false); Statement conn1_stmt = conn1.createStatement(); Connection conn2 = getConnection(); conn2.setAutoCommit(false); Statement con... | 1,104,898 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.