bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
private void readAndSetExtParam( int i, DRDAStatement stmt, int drdaType, int extLen) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); drdaType = (drdaType & 0x000000ff); // need unsigned value boolean checkNullability = false; if (sqlamLevel >= MGR...
private void readAndSetExtParam( int i, DRDAStatement stmt, int drdaType, int extLen) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); drdaType = (drdaType & 0x000000ff); // need unsigned value boolean checkNullability = false; if (sqlamLevel >= MGR...
1,105,778
private void readAndSetExtParam( int i, DRDAStatement stmt, int drdaType, int extLen) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); drdaType = (drdaType & 0x000000ff); // need unsigned value boolean checkNullability = false; if (sqlamLevel >= MGR...
private void readAndSetExtParam( int i, DRDAStatement stmt, int drdaType, int extLen) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); drdaType = (drdaType & 0x000000ff); // need unsigned value boolean checkNullability = false; if (sqlamLevel >= MGR...
1,105,779
public void executeGrantRevoke( Activation activation, boolean grant, List grantees) throws StandardException { // Check that the current user has permission to grant the privileges. LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDataDictionary...
public void executeGrantRevoke( Activation activation, boolean grant, List grantees) throws StandardException { // Check that the current user has permission to grant the privileges. LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDataDictionary...
1,105,781
private void setTypeIdSpecificInstanceVariables() { switch (formatId) { case StoredFormatIds.BIT_TYPE_ID: typePrecedence = BIT_PRECEDENCE; javaTypeName = "byte[]"; ...
private void setTypeIdSpecificInstanceVariables() { switch (formatId) { case StoredFormatIds.BIT_TYPE_ID: typePrecedence = BIT_PRECEDENCE; javaTypeName = "byte[]"; ...
1,105,782
private void setTypeIdSpecificInstanceVariables() { switch (formatId) { case StoredFormatIds.BIT_TYPE_ID: typePrecedence = BIT_PRECEDENCE; javaTypeName = "byte[]"; ...
private void setTypeIdSpecificInstanceVariables() { switch (formatId) { case StoredFormatIds.BIT_TYPE_ID: typePrecedence = BIT_PRECEDENCE; javaTypeName = "byte[]"; ...
1,105,783
private void setTypeIdSpecificInstanceVariables() { switch (formatId) { case StoredFormatIds.BIT_TYPE_ID: typePrecedence = BIT_PRECEDENCE; javaTypeName = "byte[]"; ...
private void setTypeIdSpecificInstanceVariables() { switch (formatId) { case StoredFormatIds.BIT_TYPE_ID: typePrecedence = BIT_PRECEDENCE; javaTypeName = "byte[]"; ...
1,105,784
public XMLDataValue XMLQuery(StringDataValue xExpr, XMLDataValue xmlContext, XMLDataValue result) throws StandardException { // Incremental development (DERBY-688); this is not yet // implemented. throw StandardException.newException( SQLState.NOT_IMPLEMENTED, "XMLQU...
public XMLDataValue XMLQuery(StringDataValue xExpr, XMLDataValue xmlContext, XMLDataValue result) throws StandardException { // Incremental development (DERBY-688); this is not yet // implemented. throw StandardException.newException( SQLState.NOT_IMPLEMENTED, "XMLQU...
1,105,786
public String getGrantee() { return grantee;}
public final String getGrantee() { return grantee;}
1,105,787
public String getGrantor() { return grantor;}
public final String getGrantor() { return grantor;}
1,105,788
private void updateIndex(long newHeapConglom, DataDictionary dd, int index, long[] newIndexCongloms) throws StandardException { ConglomerateController indexCC; Properties properties = new Properties(); ConglomerateDescriptor cd; // Get the ConglomerateDescriptor for the index cd = td.getConglomerateDescri...
private void updateIndex(long newHeapConglom, DataDictionary dd, int index, long[] newIndexCongloms) throws StandardException { ConglomerateController indexCC; Properties properties = new Properties(); ConglomerateDescriptor cd; // Get the ConglomerateDescriptor for the index cd = td.getConglomerateDescri...
1,105,789
private void updateIndex(long newHeapConglom, DataDictionary dd, int index, long[] newIndexCongloms) throws StandardException { ConglomerateController indexCC; Properties properties = new Properties(); ConglomerateDescriptor cd; // Get the ConglomerateDescriptor for the index cd = td.getConglomerateDescri...
private void updateIndex(long newHeapConglom, DataDictionary dd, int index, long[] newIndexCongloms) throws StandardException { ConglomerateController indexCC; Properties properties = new Properties(); ConglomerateDescriptor cd; // Get the ConglomerateDescriptor for the index cd = td.getConglomerateDescri...
1,105,790
private static String[] buildTestCommand(String propString, String systemHome, String scriptPath) throws FileNotFoundException, IOException, Exception { //System.out.println("testType: " + testType); String ij = ""; // Create the test command line if (testType.equals("sql")) ij...
private static String[] buildTestCommand(String propString, String systemHome, String scriptPath) throws FileNotFoundException, IOException, Exception { //System.out.println("testType: " + testType); String ij = ""; // Create the test command line if (testType.equals("sql")) ij...
1,105,791
protected ResultSetNode optimizeSource( Optimizer optimizer, ResultSetNode sourceResultSet, PredicateList predList, CostEstimate outerCost) throws StandardException { ResultSetNode retval; if (sourceResultSet instanceof FromTable) { FromList optList = (FromList) getNodeFactory().getNode(...
protected ResultSetNode optimizeSource( Optimizer optimizer, ResultSetNode sourceResultSet, PredicateList predList, CostEstimate outerCost) throws StandardException { ResultSetNode retval; if (sourceResultSet instanceof FromTable) { FromList optList = (FromList) getNodeFactory().getNode(...
1,105,793
private void doDeferredInsert() throws StandardException { if (rowHolder == null) { Properties properties = new Properties(); // Get the properties on the index openIndexCC().getInternalTablePropertySet(properties); /* ** Create our row holder. it is ok to skip passing ** in the result description bec...
private void doDeferredInsert() throws StandardException { if (rowHolder == null) { Properties properties = new Properties(); // Get the properties on the index openIndexCC().getInternalTablePropertySet(properties); /* ** Create our row holder. it is ok to skip passing ** in the result description bec...
1,105,795
public RealJoinResultSetStatistics( int numOpens, int rowsSeen, int rowsFiltered, long constructorTime, long openTime, long nextTime, long closeTime, int resultSetNumber, int rowsSeenLeft, int rowsSeenRight, int rowsR...
public RealJoinResultSetStatistics( int numOpens, int rowsSeen, int rowsFiltered, long constructorTime, long openTime, long nextTime, long closeTime, int resultSetNumber, int rowsSeenLeft, int rowsSeenRight, int rowsR...
1,105,796
public JavaValueNode bindExpression( FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { boolean nullParameter = false; String[] parmTypeNames; /* NULL and ? not allowed as receivers */ if (receiver instanceof SQLToJavaValueNode) { ValueNode SQLValue = ((...
public JavaValueNode bindExpression( FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { boolean nullParameter = false; String[] parmTypeNames; /* NULL and ? not allowed as receivers */ if (receiver instanceof SQLToJavaValueNode) { ValueNode SQLValue = ((...
1,105,799
public JavaValueNode bindExpression( FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { boolean nullParameter = false; String[] parmTypeNames; /* NULL and ? not allowed as receivers */ if (receiver instanceof SQLToJavaValueNode) { ValueNode SQLValue = ((...
public JavaValueNode bindExpression( FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { boolean nullParameter = false; String[] parmTypeNames; /* NULL and ? not allowed as receivers */ if (receiver instanceof SQLToJavaValueNode) { ValueNode SQLValue = ((...
1,105,800
protected BasePage newPage(BaseContainerHandle userHandle, RawTransaction ntt, BaseContainerHandle allocHandle, boolean isOverflow) throws StandardException { // NOTE: right now, we are single threaded thru this method, see MT comment boolean useNTT = (ntt != null); // if ntt is null,...
protected BasePage newPage(BaseContainerHandle userHandle, RawTransaction ntt, BaseContainerHandle allocHandle, boolean isOverflow) throws StandardException { // NOTE: right now, we are single threaded thru this method, see MT comment boolean useNTT = (ntt != null); // if ntt is null,...
1,105,801
private static void defragmentRows( String schemaName, String tableName, DataDictionary data_dictionary, TransactionController tc) throws SQLException { GroupFetchScanController base_group_fetch_cc = null; int num_index...
private static void defragmentRows( String schemaName, String tableName, DataDictionary data_dictionary, TransactionController tc) throws SQLException { GroupFetchScanController base_group_fetch_cc = null; int num_index...
1,105,802
private static void defragmentRows( String schemaName, String tableName, DataDictionary data_dictionary, TransactionController tc) throws SQLException { GroupFetchScanController base_group_fetch_cc = null; int num_index...
private static void defragmentRows( String schemaName, String tableName, DataDictionary data_dictionary, TransactionController tc) throws SQLException { GroupFetchScanController base_group_fetch_cc = null; int num_index...
1,105,803
private static void setup_indexes( TransactionController tc, TableDescriptor td, int[][] index_col_map, ScanController[] index_scan, ConglomerateController[] index_cc, DataValueDescriptor[][] index_row) throws StandardException { /...
private static void setup_indexes( TransactionController tc, TableDescriptor td, int[][] index_col_map, ScanController[] index_scan, ConglomerateController[] index_cc, DataValueDescriptor[][] index_row) throws StandardException { /...
1,105,804
private static void setup_indexes( TransactionController tc, TableDescriptor td, int[][] index_col_map, ScanController[] index_scan, ConglomerateController[] index_cc, DataValueDescriptor[][] index_row) throws StandardException { /...
private static void setup_indexes( TransactionController tc, TableDescriptor td, int[][] index_col_map, ScanController[] index_scan, ConglomerateController[] index_cc, DataValueDescriptor[][] index_row) throws StandardException { /...
1,105,805
private void checkXAHoldability() { System.out.println("START XA HOLDABILITY TEST"); try { EmbeddedXADataSource dscsx = new EmbeddedXADataSource(); dscsx.setDatabaseName("wombat"); XAConnection xac = dscsx.getXAConnection("fred", "wilma"); XAResource xr = xac.getXAResource(); Xid xid = getXid(25, (byte) 21...
private void checkXAHoldability() { System.out.println("START XA HOLDABILITY TEST"); try { EmbeddedXADataSource dscsx = new EmbeddedXADataSource(); dscsx.setDatabaseName("wombat"); XAConnection xac = dscsx.getXAConnection("fred", "wilma"); XAResource xr = xac.getXAResource(); Xid xid = getXid(25, (byte) 21...
1,105,807
protected void runTest() { // Test cases with get connection via drivermanager and using // different security mechanisms. // Network server supports SECMEC_USRIDPWD, SECMEC_USRIDONL,SECMEC_EUSRIDPWD System.out.println("Checking security mechanism authentication with DriverManager"); getConnectionUsingDriverManag...
protected void runTest() { // Test cases with get connection via drivermanager and using // different security mechanisms. // Network server supports SECMEC_USRIDPWD, SECMEC_USRIDONL,SECMEC_EUSRIDPWD System.out.println("Checking security mechanism authentication with DriverManager"); getConnectionUsingDriverManag...
1,105,808
protected void runTest() { // Test cases with get connection via drivermanager and using // different security mechanisms. // Network server supports SECMEC_USRIDPWD, SECMEC_USRIDONL,SECMEC_EUSRIDPWD System.out.println("Checking security mechanism authentication with DriverManager"); getConnectionUsingDriverManag...
protected void runTest() { // Test cases with get connection via drivermanager and using // different security mechanisms. // Network server supports SECMEC_USRIDPWD, SECMEC_USRIDONL,SECMEC_EUSRIDPWD System.out.println("Checking security mechanism authentication with DriverManager"); getConnectionUsingDriverManag...
1,105,809
protected void runTest() { // Test cases with get connection via drivermanager and using // different security mechanisms. // Network server supports SECMEC_USRIDPWD, SECMEC_USRIDONL,SECMEC_EUSRIDPWD System.out.println("Checking security mechanism authentication with DriverManager"); getConnectionUsingDriverManag...
protected void runTest() { // Test cases with get connection via drivermanager and using // different security mechanisms. // Network server supports SECMEC_USRIDPWD, SECMEC_USRIDONL,SECMEC_EUSRIDPWD System.out.println("Checking security mechanism authentication with DriverManager"); getConnectionUsingDriverManag...
1,105,810
protected CallableStatement newCallableStatement_(String sql, int type, int concurrency, int holdability) throws SqlException { return new NetCallableStatement(netAgent_, this, sql, type, concurrency, holdability).callableStatement_; }
protected CallableStatement newCallableStatement_(String sql, int type, int concurrency, int holdability) throws SqlException { return new NetCallableStatement(netAgent_, this, sql, type, concurrency, holdability,pooledConnection_).callableStatement_; }
1,105,811
protected PreparedStatement newPositionedUpdatePreparedStatement_(String sql, org.apache.derby.client.am.Section section) throws SqlException { return new NetPreparedStatement(netAgent_, this, sql, section).preparedStatement_; }
protected PreparedStatement newPositionedUpdatePreparedStatement_(String sql, org.apache.derby.client.am.Section section) throws SqlException { return new NetPreparedStatement(netAgent_, this, sql, section,pooledConnection_).preparedStateme...
1,105,812
protected PreparedStatement newPreparedStatement_(String sql, int type, int concurrency, int holdability, int autoGeneratedKeys, String[] columnNames) throws SqlException { return new NetPreparedStatement(netAgent_, this, sql, type, concurrency, holdability, autoGeneratedKeys, columnNames).preparedStatement_...
protected PreparedStatement newPreparedStatement_(String sql, int type, int concurrency, int holdability, int autoGeneratedKeys, String[] columnNames) throws SqlException { return new NetPreparedStatement(netAgent_, this, sql, type, concurrency, holdability, autoGeneratedKeys, columnNames,pooledConnection_)....
1,105,813
public void cancelRowUpdates() throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "cancelRowUpdates"); } checkForClosedResultSet(); if (isOn...
public void cancelRowUpdates() throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "cancelRowUpdates"); } checkForClosedResultSet(); if (isOn...
1,105,814
public void cancelRowUpdates() throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "cancelRowUpdates"); } checkForClosedResultSet(); if (isOn...
public void cancelRowUpdates() throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "cancelRowUpdates"); } checkForClosedResultSet(); if (isOn...
1,105,815
protected final void checkForClosedResultSet() throws SqlException { if (!openOnClient_) { agent_.checkForDeferredExceptions(); throw new SqlException(agent_.logWriter_, "Invalid operation: result set closed"); } else { agent_.checkForDeferredExceptions(); } ...
protected final void checkForClosedResultSet() throws SqlException { if (!openOnClient_) { agent_.checkForDeferredExceptions(); throw new SqlException(agent_.logWriter_, new MessageId(SQLState.ALREADY_CLOSED), "ResultSet"); } else { agent_.checkForDeferredExceptions();...
1,105,816
final void checkForValidColumnIndex(int column) throws SqlException { if (column < 1 || column > resultSetMetaData_.columns_) { throw new SqlException(agent_.logWriter_, "Invalid argument: parameter index " + column + " is out of range."); } }
final void checkForValidColumnIndex(int column) throws SqlException { if (column < 1 || column > resultSetMetaData_.columns_) { throw new SqlException(agent_.logWriter_, "Invalid argument: parameter index " + column + " is out of range."); } }
1,105,817
private final void checkForValidCursorPosition() throws SqlException { if (!isValidCursorPosition_) { throw new SqlException(agent_.logWriter_, "Invalid operation to read at current cursor position."); } }
private final void checkForValidCursorPosition() throws SqlException { if (!isValidCursorPosition_) { throw new SqlException(agent_.logWriter_, new MessageId(SQLState.CURSOR_INVALID_OPERATION_AT_CURRENT_POSITION)); } }
1,105,818
private final void checkThatResultSetIsNotDynamic() throws SqlException { if (sensitivity_ == sensitivity_sensitive_dynamic__) { throw new SqlException(agent_.logWriter_, "This method should not be called on sensitive dynamic cursors."); } }
private final void checkThatResultSetIsNotDynamic() throws SqlException { if (sensitivity_ == sensitivity_sensitive_dynamic__) { throw new SqlException(agent_.logWriter_, new MessageId(SQLState.CURSOR_INVALID_FOR_SENSITIVE_DYNAMIC)); } }
1,105,819
private final void checkThatResultSetTypeIsScrollable() throws SqlException { if (resultSetType_ == java.sql.ResultSet.TYPE_FORWARD_ONLY) { throw new SqlException(agent_.logWriter_, "This method should only be called on ResultSet objects that are " + "scrollable(type TYPE_SCROLL...
private final void checkThatResultSetTypeIsScrollable() throws SqlException { if (resultSetType_ == java.sql.ResultSet.TYPE_FORWARD_ONLY) { throw new SqlException(agent_.logWriter_, "This method should only be called on ResultSet objects that are " + "scrollable(type TYPE_SCROLL...
1,105,820
private void checkUpdatableCursor() throws SqlException { if (resultSetConcurrency_ == java.sql.ResultSet.CONCUR_READ_ONLY) { throw new SqlException(agent_.logWriter_, "This method should only be called on ResultSet objects " + "that are updatable(concurrency...
private void checkUpdatableCursor(String methodName) throws SqlException { if (resultSetConcurrency_ == java.sql.ResultSet.CONCUR_READ_ONLY) { throw new SqlException(agent_.logWriter_, "This method should only be called on ResultSet objects " + "that are upda...
1,105,821
private void checkUpdatableCursor() throws SqlException { if (resultSetConcurrency_ == java.sql.ResultSet.CONCUR_READ_ONLY) { throw new SqlException(agent_.logWriter_, "This method should only be called on ResultSet objects " + "that are updatable(concurrency...
private void checkUpdatableCursor() throws SqlException { if (resultSetConcurrency_ == java.sql.ResultSet.CONCUR_READ_ONLY) { throw new SqlException(agent_.logWriter_, "This method should only be called on ResultSet objects " + "that are updatable(concurrency...
1,105,822
private final void checkUpdatePreconditions(int column) throws SqlException { checkForClosedResultSet(); checkForValidColumnIndex(column); if (resultSetConcurrency_ != java.sql.ResultSet.CONCUR_UPDATABLE) { throw new SqlException(agent_.logWriter_, "ResultSet is not updatable."); ...
private final void checkUpdatePreconditions(int column) throws SqlException { checkForClosedResultSet(); checkForValidColumnIndex(column); if (resultSetConcurrency_ != java.sql.ResultSet.CONCUR_UPDATABLE) { throw new SqlException(agent_.logWriter_, new MessageId(SQLState.UPDATABLE_RE...
1,105,823
private final void checkUpdatePreconditions(int column) throws SqlException { checkForClosedResultSet(); checkForValidColumnIndex(column); if (resultSetConcurrency_ != java.sql.ResultSet.CONCUR_UPDATABLE) { throw new SqlException(agent_.logWriter_, "ResultSet is not updatable."); ...
private final void checkUpdatePreconditions(int column) throws SqlException { checkForClosedResultSet(); checkForValidColumnIndex(column); if (resultSetConcurrency_ != java.sql.ResultSet.CONCUR_UPDATABLE) { throw new SqlException(agent_.logWriter_, "ResultSet is not updatable."); ...
1,105,824
private final void checkUpdatePreconditions(int column) throws SqlException { checkForClosedResultSet(); checkForValidColumnIndex(column); if (resultSetConcurrency_ != java.sql.ResultSet.CONCUR_UPDATABLE) { throw new SqlException(agent_.logWriter_, "ResultSet is not updatable."); ...
private final void checkUpdatePreconditions(int column) throws SqlException { checkForClosedResultSet(); checkForValidColumnIndex(column); if (resultSetConcurrency_ != java.sql.ResultSet.CONCUR_UPDATABLE) { throw new SqlException(agent_.logWriter_, "ResultSet is not updatable."); ...
1,105,825
private final void checkUpdatePreconditions(int column) throws SqlException { checkForClosedResultSet(); checkForValidColumnIndex(column); if (resultSetConcurrency_ != java.sql.ResultSet.CONCUR_UPDATABLE) { throw new SqlException(agent_.logWriter_, "ResultSet is not updatable."); ...
private final void checkUpdatePreconditions(int column) throws SqlException { checkForClosedResultSet(); checkForValidColumnIndex(column); if (resultSetConcurrency_ != java.sql.ResultSet.CONCUR_UPDATABLE) { throw new SqlException(agent_.logWriter_, "ResultSet is not updatable."); ...
1,105,826
private void closeCloseFilterInputStream() throws SqlException { if(is_ != null){ try{ is_.close(); }catch(IOException e){ throw new SqlException(agent_.logWriter_ , e , "Failed to close inputStream."); } is_ = null; } }
private void closeCloseFilterInputStream() throws SqlException { if(is_ != null){ try{ is_.close(); }catch(IOException e){ throw new SqlException(agent_.logWriter_ , e , "Failed to close inputStream."); } is_ = null; } }
1,105,827
private void deleteRowX() throws SqlException { checkForClosedResultSet(); // discard all previous updates resetUpdatedColumns(); if (isOnInsertRow_ || resultSetConcurrency_ == java.sql.ResultSet.CONCUR_READ_ONLY) { throw new SqlException(agent_.logWriter_, "This method cannot...
private void deleteRowX() throws SqlException { checkForClosedResultSet(); // discard all previous updates resetUpdatedColumns(); if (isOnInsertRow_ || resultSetConcurrency_ == java.sql.ResultSet.CONCUR_READ_ONLY) { throw new SqlException(agent_.logWriter_, "This method cannot...
1,105,828
public java.sql.Array getArray(int column) throws SQLException { try { closeCloseFilterInputStream(); if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getArray", column); } checkGetterPreconditions(column); java.sql.A...
public java.sql.Array getArray(int column) throws SQLException { try { closeCloseFilterInputStream(); if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getArray", column); } checkGetterPreconditions(column); java.sql.A...
1,105,829
private void getPreparedStatementForUpdate() throws SqlException { // each column is associated with a tableName in the extended describe info. String updateString = buildUpdateString(); if (updateString == null) { throw new SqlException(agent_.logWriter_, "No updateXXX issued on thi...
private void getPreparedStatementForUpdate() throws SqlException { // each column is associated with a tableName in the extended describe info. String updateString = buildUpdateString(); if (updateString == null) { throw new SqlException(agent_.logWriter_, new MessageId(SQLState.CURS...
1,105,830
public java.sql.Ref getRef(int column) throws SQLException { try { closeCloseFilterInputStream(); if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getRef", column); } checkGetterPreconditions(column); java.sql.Ref ...
public java.sql.Ref getRef(int column) throws SQLException { try { closeCloseFilterInputStream(); if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getRef", column); } checkGetterPreconditions(column); java.sql.Ref ...
1,105,831
public java.io.InputStream getUnicodeStream(int column) throws SQLException { try { closeCloseFilterInputStream(); if (agent_.loggingEnabled()) { agent_.logWriter_.traceDeprecatedEntry(this, "getUnicodeStream", column); } checkGetterPreconditi...
public java.io.InputStream getUnicodeStream(int column) throws SQLException { try { closeCloseFilterInputStream(); if (agent_.loggingEnabled()) { agent_.logWriter_.traceDeprecatedEntry(this, "getUnicodeStream", column); } checkGetterPreconditi...
1,105,832
private void insertRowX() throws SqlException { checkForClosedResultSet(); if (isOnCurrentRow_ || resultSetConcurrency_ == java.sql.ResultSet.CONCUR_READ_ONLY) { throw new SqlException(agent_.logWriter_, "This method cannot be invoked while the cursor is not on the insert " + ...
private void insertRowX() throws SqlException { checkForClosedResultSet(); if (isOnCurrentRow_ || resultSetConcurrency_ == java.sql.ResultSet.CONCUR_READ_ONLY) { throw new SqlException(agent_.logWriter_, "This method cannot be invoked while the cursor is not on the insert " + ...
1,105,833
private void insertRowX() throws SqlException { checkForClosedResultSet(); if (isOnCurrentRow_ || resultSetConcurrency_ == java.sql.ResultSet.CONCUR_READ_ONLY) { throw new SqlException(agent_.logWriter_, "This method cannot be invoked while the cursor is not on the insert " + ...
private void insertRowX() throws SqlException { checkForClosedResultSet(); if (isOnCurrentRow_ || resultSetConcurrency_ == java.sql.ResultSet.CONCUR_READ_ONLY) { throw new SqlException(agent_.logWriter_, "This method cannot be invoked while the cursor is not on the insert " + ...
1,105,834
public void moveToCurrentRow() throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "moveToCurrentRow"); } checkForClosedResultSet(); checkUpd...
public void moveToCurrentRow() throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "moveToCurrentRow"); } checkForClosedResultSet(); checkUpd...
1,105,835
public void moveToInsertRow() throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "moveToInsertRow"); } checkForClosedResultSet(); checkUpdat...
public void moveToInsertRow() throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "moveToInsertRow"); } checkForClosedResultSet(); checkUpdat...
1,105,836
private void refreshRowX() throws SqlException { checkForClosedResultSet(); checkThatResultSetTypeIsScrollable(); if (isBeforeFirstX() || isAfterLastX() || isOnInsertRow_ || resultSetConcurrency_ == java.sql.ResultSet.CONCUR_READ_ONLY) { throw new SqlException(agent_.l...
private void refreshRowX() throws SqlException { checkForClosedResultSet(); checkThatResultSetTypeIsScrollable(); if (isBeforeFirstX() || isAfterLastX() || isOnInsertRow_ || resultSetConcurrency_ == java.sql.ResultSet.CONCUR_READ_ONLY) { throw new SqlException(agent_.l...
1,105,837
private boolean relativeX(int rows) throws SqlException { checkForClosedResultSet(); checkThatResultSetTypeIsScrollable(); clearWarningsX(); wasNull_ = ResultSet.WAS_NULL_UNSET; // discard all previous updates when moving the cursor. resetUpdatedColumns(); unuseStreams(); ...
private boolean relativeX(int rows) throws SqlException { checkForClosedResultSet(); checkThatResultSetTypeIsScrollable(); clearWarningsX(); wasNull_ = ResultSet.WAS_NULL_UNSET; // discard all previous updates when moving the cursor. resetUpdatedColumns(); unuseStreams(); ...
1,105,838
public void setFetchDirection(int direction) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setFetchDirection", direction); } checkForClosedResultSet(...
public void setFetchDirection(int direction) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setFetchDirection", direction); } checkForClosedResultSet(...
1,105,839
public void setFetchSize(int rows) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setFetchSize", rows); } checkForClosedResultSet(); if...
public void setFetchSize(int rows) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setFetchSize", rows); } checkForClosedResultSet(); if...
1,105,840
public void updateNull(int column) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "updateNull", column); } checkUpdatePreconditions(column); ...
public void updateNull(int column) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "updateNull", column); } checkUpdatePreconditions(column); ...
1,105,841
private boolean updateRowX() throws SqlException { checkForClosedResultSet(); if (isOnInsertRow_ || resultSetConcurrency_ == java.sql.ResultSet.CONCUR_READ_ONLY) { throw new SqlException(agent_.logWriter_, "This method cannot be invoked while the cursor is on the insert " + ...
private boolean updateRowX() throws SqlException { checkForClosedResultSet(); if (isOnInsertRow_ || resultSetConcurrency_ == java.sql.ResultSet.CONCUR_READ_ONLY) { throw new SqlException(agent_.logWriter_, "This method cannot be invoked while the cursor is on the insert " + ...
1,105,842
private boolean updateRowX() throws SqlException { checkForClosedResultSet(); if (isOnInsertRow_ || resultSetConcurrency_ == java.sql.ResultSet.CONCUR_READ_ONLY) { throw new SqlException(agent_.logWriter_, "This method cannot be invoked while the cursor is on the insert " + ...
private boolean updateRowX() throws SqlException { checkForClosedResultSet(); if (isOnInsertRow_ || resultSetConcurrency_ == java.sql.ResultSet.CONCUR_READ_ONLY) { throw new SqlException(agent_.logWriter_, "This method cannot be invoked while the cursor is on the insert " + ...
1,105,843
void useStream(int columnIndex) throws SqlException { if(streamUsedFlags_[columnIndex - 1]){ throw new SqlException(agent_.logWriter_, "Stream of column value in result cannot be retrieved twice"); } streamUsedFlags_[columnIndex - 1] = true; }
void useStream(int columnIndex) throws SqlException { if(streamUsedFlags_[columnIndex - 1]){ throw new SqlException(agent_.logWriter_, new MessageId(SQLState.LANG_STREAM_RETRIEVED_ALREADY)); } streamUsedFlags_[columnIndex - 1] = true; }
1,105,844
public boolean wasNull() throws SQLException { try { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "wasNull"); } checkForClosedResultSet(); if (wasNull_ == ResultSet.WAS_NULL_UNSET) { throw new SqlException(a...
public boolean wasNull() throws SQLException { try { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "wasNull"); } checkForClosedResultSet(); if (wasNull_ == ResultSet.WAS_NULL_UNSET) { throw new SqlException(a...
1,105,845
private void setColumnListToNotNull(ConstraintDefinitionNode cdn, TableDescriptor td) throws StandardException { ResultColumnList rcl = cdn.getColumnList(); int rclSize = rcl.size(); for (int index = 0; index < rclSize; index++) { String colName = ((ResultColumn) rcl.elementAt(index)).getName(); /* For ALTER ...
private void setColumnListToNotNull(ConstraintDefinitionNode cdn, TableDescriptor td) throws StandardException { ResultColumnList rcl = cdn.getColumnList(); int rclSize = rcl.size(); for (int index = 0; index < rclSize; index++) { String colName = ((ResultColumn) rcl.elementAt(index)).getName(); /* For ALTER ...
1,105,846
private void setColumnListToNotNull(ConstraintDefinitionNode cdn, TableDescriptor td) throws StandardException { ResultColumnList rcl = cdn.getColumnList(); int rclSize = rcl.size(); for (int index = 0; index < rclSize; index++) { String colName = ((ResultColumn) rcl.elementAt(index)).getName(); /* For ALTER ...
private void setColumnListToNotNull(ConstraintDefinitionNode cdn, TableDescriptor td) throws StandardException { ResultColumnList rcl = cdn.getColumnList(); int rclSize = rcl.size(); for (int index = 0; index < rclSize; index++) { String colName = ((ResultColumn) rcl.elementAt(index)).getName(); /* For ALTER ...
1,105,847
static private void dumpSQLExceptions (SQLException se) { System.out.println("FAIL -- unexpected exception"); while (se != null) { System.out.print("SQLSTATE("+se.getSQLState()+"):"); se.printStackTrace(System.out); se = se.getNextException(); } }
public static void dumpSQLExceptions (SQLException se) { System.out.println("FAIL -- unexpected exception"); while (se != null) { System.out.print("SQLSTATE("+se.getSQLState()+"):"); se.printStackTrace(System.out); se = se.getNextException(); } }
1,105,849
public static void main(String[] args) { Connection con = null, con2 = null, con3 = null; Statement s; System.out.println("Test savepointJdbc30 starting"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); con = ij.startJBMS(); isDerbyNet...
public static void main(String[] args) { Connection con = null, con2 = null; Statement s; System.out.println("Test savepointJdbc30 starting"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); con = ij.startJBMS(); isDerbyNet = TestUtil.i...
1,105,850
public static void main(String[] args) { Connection con = null, con2 = null, con3 = null; Statement s; System.out.println("Test savepointJdbc30 starting"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); con = ij.startJBMS(); isDerbyNet...
public static void main(String[] args) { Connection con = null, con2 = null, con3 = null; Statement s; System.out.println("Test savepointJdbc30 starting"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); con = ij.startJBMS(); isDerbyNet...
1,105,851
public static void main(String[] args) { Connection con = null, con2 = null, con3 = null; Statement s; System.out.println("Test savepointJdbc30 starting"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); con = ij.startJBMS(); isDerbyNet...
public static void main(String[] args) { Connection con = null, con2 = null, con3 = null; Statement s; System.out.println("Test savepointJdbc30 starting"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); con = ij.startJBMS(); isDerbyNet...
1,105,852
public static void main(String[] args) { Connection con = null, con2 = null, con3 = null; Statement s; System.out.println("Test savepointJdbc30 starting"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); con = ij.startJBMS(); isDerbyNet...
public static void main(String[] args) { Connection con = null, con2 = null, con3 = null; Statement s; System.out.println("Test savepointJdbc30 starting"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); con = ij.startJBMS(); isDerbyNet...
1,105,853
public static void main(String[] args) { Connection con = null, con2 = null, con3 = null; Statement s; System.out.println("Test savepointJdbc30 starting"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); con = ij.startJBMS(); isDerbyNet...
public static void main(String[] args) { Connection con = null, con2 = null, con3 = null; Statement s; System.out.println("Test savepointJdbc30 starting"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); con = ij.startJBMS(); isDerbyNet...
1,105,854
public ResultSet execute(LanguageConnectionContext lcc, boolean rollbackParentContext, long timeoutMillis) throws StandardException { Activation a = getActivation(lcc, false); a.setSingleExecution(); return execute(a, false, false, rollbackParentContext, t...
public ResultSet execute(LanguageConnectionContext lcc, boolean rollbackParentContext, long timeoutMillis) throws StandardException { Activation a = getActivation(lcc, false); a.setSingleExecution(); return execute(a, rollbackParentContext, timeoutMillis);...
1,105,856
public ColumnDescriptor(String columnName, int columnPosition, DataTypeDescriptor columnType, DataValueDescriptor columnDefault, DefaultInfo columnDefaultInfo, TableDescriptor table, UUID defaultUUID, long autoincStart, long autoincInc, boolean autoinc) { this.columnName = columnName; this.column...
public ColumnDescriptor(String columnName, int columnPosition, DataTypeDescriptor columnType, DataValueDescriptor columnDefault, DefaultInfo columnDefaultInfo, TableDescriptor table, UUID defaultUUID, long autoincStart, long autoincInc, boolean autoinc) { this.columnName = columnName; this.column...
1,105,857
private static void assertAutoinc(boolean autoinc, long autoincInc, DefaultInfo defaultInfo){ if (autoinc){ SanityManager.ASSERT((autoincInc != 0), "increment is zero for autoincrement column"); SanityManager.ASSERT((defaultInfo == null || defaultInfo.isDefaultValueAutoinc()), "If ...
private static void assertAutoinc(boolean autoinc, long autoincInc, DefaultInfo defaultInfo){ if (autoinc){ SanityManager.ASSERT((autoincInc != 0), "increment is zero for autoincrement column"); SanityManager.ASSERT((defaultInfo == null || defaultInfo.isDefaultValueAutoinc()), "If ...
1,105,858
protected String serializeToString(String xmlAsText) throws Exception { ArrayList aList = new ArrayList(); aList.add(dBuilder.parse( new InputSource(new StringReader(xmlAsText)))); /* The second argument in the following call is for * catching cases where we have a ...
protected String serializeToString(final String xmlAsText) throws Exception { ArrayList aList = new ArrayList(); aList.add(dBuilder.parse( new InputSource(new StringReader(xmlAsText)))); /* The second argument in the following call is for * catching cases where we h...
1,105,860
protected String serializeToString(String xmlAsText) throws Exception { ArrayList aList = new ArrayList(); aList.add(dBuilder.parse( new InputSource(new StringReader(xmlAsText)))); /* The second argument in the following call is for * catching cases where we have a ...
protected String serializeToString(String xmlAsText) throws Exception { ArrayList aList = new ArrayList(); aList.add(dBuilder.parse( new InputSource(new StringReader(xmlAsText)))); /* The second argument in the following call is for * catching cases where we have a ...
1,105,861
public SqlXmlUtil() throws StandardException { try { /* Note: Use of DocumentBuilderFactory means that we get * whatever XML parser is the "default" for the JVM in * use--and thus, we don't have to hard-code the parser * name, nor do we have to require that t...
public SqlXmlUtil() throws StandardException { try { /* Note: Use of DocumentBuilderFactory means that we get * whatever XML parser is the "default" for the JVM in * use--and thus, we don't have to hard-code the parser * name, nor do we have to require that t...
1,105,862
public void compileXQExpr(String queryExpr, String opName) throws StandardException { try { /* The following XPath constructor compiles the expression * as part of the construction process. We have to pass * in a PrefixResolver object in order to avoid NPEs when ...
public void compileXQExpr(String queryExpr, String opName) throws StandardException { try { /* The following XPath constructor compiles the expression * as part of the construction process. We have to pass * in a PrefixResolver object in order to avoid NPEs when ...
1,105,863
static int getMonth(int encodedDate) { return ((encodedDate >>> 8) & 0x00ff); }
public NumberDataValue getMonth(NumberDataValue result) throws StandardException { return ((encodedDate >>> 8) & 0x00ff); }
1,105,864
static int getMonth(int encodedDate) { return ((encodedDate >>> 8) & 0x00ff); }
static int getMonth(int encodedDate) { if (SanityManager.DEBUG) { SanityManager.ASSERT(!isNull(), "getMonth called on a null"); } return SQLDate.setSource(getMonth(encodedDate), result); }
1,105,865
static int getYear(int encodedDate) { return (encodedDate >>> 16); }
public NumberDataValue getYear(NumberDataValue result) throws StandardException { return (encodedDate >>> 16); }
1,105,866
static int getYear(int encodedDate) { return (encodedDate >>> 16); }
static int getYear(int encodedDate) { if (SanityManager.DEBUG) { SanityManager.ASSERT(!isNull(), "getYear called on a null"); } return SQLDate.setSource(getYear(encodedDate), result); }
1,105,867
public Blob createBlob() throws SQLException { throw Util.notImplemented(); }
public Blob createBlob() throws SQLException { checkIfClosed(); return new EmbedBlob(new byte[0],this); }
1,105,868
public Clob createClob() throws SQLException { throw Util.notImplemented(); }
public Clob createClob() throws SQLException { checkIfClosed(); return new EmbedClob("",this); }
1,105,869
private void runCrashRecoveryTestCases(boolean reEncrypt) throws SQLException { Connection conn; if (reEncrypt) conn = createEncryptedDatabase(); else conn = createDatabase(); createTable(conn, TEST_TABLE_NAME); //load some rows insert(co...
private void runCrashRecoveryTestCases(boolean reEncrypt) throws SQLException { Connection conn; if (reEncrypt) conn = createEncryptedDatabase(); else conn = createDatabase(); createTable(conn, TEST_TABLE_NAME); //load some rows insert(co...
1,105,871
private void runCrashRecoveryTestCases(boolean reEncrypt) throws SQLException { Connection conn; if (reEncrypt) conn = createEncryptedDatabase(); else conn = createDatabase(); createTable(conn, TEST_TABLE_NAME); //load some rows insert(co...
private void runCrashRecoveryTestCases(boolean reEncrypt) throws SQLException { Connection conn; if (reEncrypt) conn = createEncryptedDatabase(); else conn = createDatabase(); createTable(conn, TEST_TABLE_NAME); //load some rows insert(co...
1,105,872
private void runCrashRecoveryTestCases(boolean reEncrypt) throws SQLException { Connection conn; if (reEncrypt) conn = createEncryptedDatabase(); else conn = createDatabase(); createTable(conn, TEST_TABLE_NAME); //load some rows insert(co...
private void runCrashRecoveryTestCases(boolean reEncrypt) throws SQLException { Connection conn; if (reEncrypt) conn = createEncryptedDatabase(); else conn = createDatabase(); createTable(conn, TEST_TABLE_NAME); //load some rows insert(co...
1,105,873
public void setUp() throws SQLException { //The ConnectionPoolDataSource object //used to get a PooledConnection object ConnectionPoolDataSource cpDataSource = getConnectionPoolDataSource(); PooledConnection pConn = cpDataSource.getPooledConnection(); ...
public void setUp() throws SQLException { //The ConnectionPoolDataSource object //used to get a PooledConnection object ConnectionPoolDataSource cpDataSource = TestDataSourceFactory.getConnectionPoolDataSource(); PooledConnection pConn = cpDataSource.getPoo...
1,105,875
public void setUp() throws SQLException { // Use a XADataSource to obtain a XAConnection object, and // finally a "real" connection. con = getXADataSource().getXAConnection().getConnection(); }
public void setUp() throws SQLException { // Use a XADataSource to obtain a XAConnection object, and // finally a "real" connection. con = TestDataSourceFactory.getXADataSource().getXAConnection().getConnection(); }
1,105,876
private void getProps() throws Exception{ InputStream versionStream = getClass().getResourceAsStream(ProductGenusNames.DBMS_INFO); Properties prop=new Properties(); prop.load(versionStream); //create the tmp Prop file tmpProp.put(PLUGIN_PKG,PLUGIN_PKG_NAME); //package name tmpProp.put(PLUGIN_ZIP_FILE,PLUGIN_ZI...
private void getProps() throws Exception{ InputStream versionStream = getClass().getResourceAsStream(ProductGenusNames.DBMS_INFO); Properties prop=new Properties(); prop.load(versionStream); //create the tmp Prop file tmpProp.put(PLUGIN_PKG,PLUGIN_PKG_NAME); //package name tmpProp.put(PLUGIN_ZIP_FILE,PLUGIN_ZI...
1,105,877
StorageFile newPersistentFile( String path) { if( path == null) return new DirFile4( dataDirectory, rwsOK); return new DirFile4(dataDirectory, path, rwsOK); }
StorageFile newPersistentFile( String path) { if( path == null) return new DirFile4( dataDirectory, rwsOK); return new DirFile4(dataDirectory, path, rwsOK); }
1,105,878
private void checkForClosedConnection() throws SQLException { try { checkForClosedConnectionX(); } catch ( SqlException se ) { throw se.getSQLException(); } }
protected void checkForClosedConnection() throws SQLException { try { checkForClosedConnectionX(); } catch ( SqlException se ) { throw se.getSQLException(); } }
1,105,879
static boolean scrollSensitiveTest( Connection conn) throws SQLException { ResultSet rs; SQLWarning warning; Statement s_s_r = null; // sensitive, read only Statement s_s_u = null; // sensitive, updatable s_s_r = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ_ONLY); // We ...
static boolean scrollSensitiveTest( Connection conn) throws SQLException { ResultSet rs; SQLWarning warning; Statement s_s_r = null; // sensitive, read only Statement s_s_u = null; // sensitive, updatable s_s_r = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ_ONLY); // We ...
1,105,880
public static boolean testCallableStatements( Connection conn) throws SQLException { boolean passed = true; int warningCount = 0; SQLWarning warning; CallableStatement cs_s_r = null; // sensitive, read only CallableStatement cs_s_u = null; // sensitive, updatable CallableStatement cs_i_r = null; // insensit...
public static boolean testCallableStatements( Connection conn) throws SQLException { boolean passed = true; int warningCount = 0; SQLWarning warning; CallableStatement cs_s_r = null; // sensitive, read only CallableStatement cs_s_u = null; // sensitive, updatable CallableStatement cs_i_r = null; // insensit...
1,105,881
public static boolean testCallableStatements( Connection conn) throws SQLException { boolean passed = true; int warningCount = 0; SQLWarning warning; CallableStatement cs_s_r = null; // sensitive, read only CallableStatement cs_s_u = null; // sensitive, updatable CallableStatement cs_i_r = null; // insensit...
public static boolean testCallableStatements( Connection conn) throws SQLException { boolean passed = true; int warningCount = 0; SQLWarning warning; CallableStatement cs_s_r = null; // sensitive, read only CallableStatement cs_s_u = null; // sensitive, updatable CallableStatement cs_i_r = null; // insensit...
1,105,882
public NumberDataValue times(NumberDataValue left, NumberDataValue right, NumberDataValue result) throws StandardException { double tempResult; if (result == null) { result = new SQLDecimal(); } if (left.isNull() || right.isNull()) { result.setToNull(); return result; } result.setValue(le...
public NumberDataValue times(NumberDataValue left, NumberDataValue right, NumberDataValue result) throws StandardException { if (result == null) { result = new SQLDecimal(); } if (left.isNull() || right.isNull()) { result.setToNull(); return result; } result.setValue(left.getBigDecimal()....
1,105,886
public static Test suite() { TestSuite suite = new TestSuite("XML Type and Operators Suite\n"); if (!JDBC.classpathMeetsXMLReqs()) return suite; // First wrap the tests in a TestSetup that sets up / tears down // the "fixture", and run those wrapped tests in embedded mode. ...
public static Test suite() { TestSuite suite = new TestSuite("XML Type and Operators Suite\n"); if (!XML.classpathMeetsXMLReqs()) return suite; // First wrap the tests in a TestSetup that sets up / tears down // the "fixture", and run those wrapped tests in embedded mode. ...
1,105,887
void t_getNClob1() { try { NClob nclob = cs.getNClob(0); System.out.println("Not Implemented Exception not thrown"); } catch(SQLException e) { if(!message.equals(e.getMessage())) { System.out.println("Unexpected SQLException"+e); } } ca...
void t_getNClob1() { try { NClob nclob = cs.getNClob(0); System.out.println("Not Implemented Exception not thrown"); } catch(SQLException e) { if(SQLState.NOT_IMPLEMENTED.equals (e.getSQLState())) { System.out.println("Unexpected SQLException"+e); ...
1,105,889
void t_getNClob2(){ try { NClob nclob = cs.getNClob(null); System.out.println("Not Implemented Exception not thrown"); } catch(SQLException e) { if(!message.equals(e.getMessage())) { System.out.println("Unexpected SQLException"+e); } } ...
void t_getNClob2(){ try { NClob nclob = cs.getNClob(null); System.out.println("Not Implemented Exception not thrown"); } catch(SQLException e) { if(SQLState.NOT_IMPLEMENTED.equals (e.getSQLState())) { System.out.println("Unexpected SQLException"+e); ...
1,105,890
void t_getRowId1() { try { cs.getRowId(0); System.out.println("Not Implemented Exception not thrown"); } catch(SQLException e) { if(!message.equals(e.getMessage())) { System.out.println("Unexpected SQLException"+e); } } catc...
void t_getRowId1() { try { cs.getRowId(0); System.out.println("Not Implemented Exception not thrown"); } catch(SQLException e) { if(SQLState.NOT_IMPLEMENTED.equals (e.getSQLState())) { System.out.println("Unexpected SQLException"+e); } ...
1,105,891
void t_getRowId2() { try { cs.getRowId(null); System.out.println("Not Implemented Exception not thrown"); } catch(SQLException e) { if(!message.equals(e.getMessage())) { System.out.println("Unexpected SQLException"+e); } } catch(Excepti...
void t_getRowId2() { try { cs.getRowId(null); System.out.println("Not Implemented Exception not thrown"); } catch(SQLException e) { if(SQLState.NOT_IMPLEMENTED.equals (e.getSQLState())) { System.out.println("Unexpected SQLException"+e); } ...
1,105,892
void t_getSQLXML1() { try { SQLXML sqlxml = cs.getSQLXML(0); System.out.println("Not Implemented Exception not thrown"); } catch(SQLException e) { if(!message.equals(e.getMessage())) { System.out.println("Unexpected SQLException"+e); } ...
void t_getSQLXML1() { try { SQLXML sqlxml = cs.getSQLXML(0); System.out.println("Not Implemented Exception not thrown"); } catch(SQLException e) { if(SQLState.NOT_IMPLEMENTED.equals (e.getSQLState())) { System.out.println("Unexpected SQLException"+e); ...
1,105,893