bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
private void writeSQLDXGRP(ResultSetMetaData rsmeta, EmbedParameterSetMetaData pmeta, int jdbcElemNum, boolean rtnOutput) throws DRDAProtocolException,SQLException { // Null indicator indicates we have data writer.writeByte(0); // SQLXKEYMEM; DRDA TYPE I2; ENVLID 0x04; Length Override 2 // Hard to get primary k...
private void writeSQLDXGRP(ResultSetMetaData rsmeta, EmbedParameterSetMetaData pmeta, int jdbcElemNum, boolean rtnOutput) throws DRDAProtocolException,SQLException { // Null indicator indicates we have data writer.writeByte(0); // SQLXKEYMEM; DRDA TYPE I2; ENVLID 0x04; Length Override 2 // Hard to get primary k...
1,105,547
private void writeSQLDXGRP(ResultSetMetaData rsmeta, EmbedParameterSetMetaData pmeta, int jdbcElemNum, boolean rtnOutput) throws DRDAProtocolException,SQLException { // Null indicator indicates we have data writer.writeByte(0); // SQLXKEYMEM; DRDA TYPE I2; ENVLID 0x04; Length Override 2 // Hard to get primary k...
private void writeSQLDXGRP(ResultSetMetaData rsmeta, EmbedParameterSetMetaData pmeta, int jdbcElemNum, boolean rtnOutput) throws DRDAProtocolException,SQLException { // Null indicator indicates we have data writer.writeByte(0); // SQLXKEYMEM; DRDA TYPE I2; ENVLID 0x04; Length Override 2 // Hard to get primary k...
1,105,548
private void writeTYPDEFOVR() throws DRDAProtocolException { //TYPDEFOVR - required - only single byte and mixed byte are specified writer.startDdm(CodePoint.TYPDEFOVR); writer.writeScalar2Bytes(CodePoint.CCSIDSBC, server.CCSIDSBC); writer.writeScalar2Bytes(CodePoint.CCSIDMBC, server.CCSIDMBC); // PKGDFTCST - Sen...
private void writeTYPDEFOVR() throws DRDAProtocolException { //TYPDEFOVR - required - only single byte and mixed byte are specified writer.startDdm(CodePoint.TYPDEFOVR); writer.writeScalar2Bytes(CodePoint.CCSIDSBC, server.CCSIDSBC); writer.writeScalar2Bytes(CodePoint.CCSIDMBC, server.CCSIDMBC); // PKGDFTCST - Sen...
1,105,549
public String getString() { BigDecimal localValue = getBigDecimal(); if (localValue == null) return null; else return localValue.toString(); }
public String getString() { BigDecimal localValue = getBigDecimal(); if (localValue == null) return null; else if (JVMInfo.JDK_ID < 6) return localValue.toString(); }
1,105,550
private void connectionWorkhorse ( Connection conn, HashSet<String> unsupportedList, HashSet<String> notUnderstoodList ) throws Exception { vetSavepoint( conn, unsupportedList, notUnderstoodList ); vetLargeObjects( conn, unsupportedList, notUnderstoodList ); DatabaseMetaData dbmd = conn.getMetaData(); Prepare...
private void connectionWorkhorse ( Connection conn, HashSet<String> unsupportedList, HashSet<String> notUnderstoodList ) throws Exception { vetSavepoint( conn, unsupportedList, notUnderstoodList ); vetLargeObjects( conn, unsupportedList, notUnderstoodList ); DatabaseMetaData dbmd = conn.getMetaData(); Prepare...
1,105,552
private void connectionWorkhorse ( Connection conn, HashSet<String> unsupportedList, HashSet<String> notUnderstoodList ) throws Exception { vetSavepoint( conn, unsupportedList, notUnderstoodList ); vetLargeObjects( conn, unsupportedList, notUnderstoodList ); DatabaseMetaData dbmd = conn.getMetaData(); Prepare...
private void connectionWorkhorse ( Connection conn, HashSet<String> unsupportedList, HashSet<String> notUnderstoodList ) throws Exception { vetSavepoint( conn, unsupportedList, notUnderstoodList ); vetLargeObjects( conn, unsupportedList, notUnderstoodList ); DatabaseMetaData dbmd = conn.getMetaData(); Prepare...
1,105,553
private void printNotUnderstoodList( HashSet<String> notUnderstoodList ) { println( "\n\n" ); println( "--------------- NOT UNDERSTOOD METHODS ------------------" ); println( "--" ); int count = notUnderstoodList.size(); String[] result = new String[ count ]; notUnderstoodList.toArray( result ); Arrays.sort( ...
private void printNotUnderstoodList( HashSet<String> notUnderstoodList ) { println( "\n\n" ); println( "--------------- NOT UNDERSTOOD METHODS ------------------" ); println( "--" ); String[] result = new String[ count ]; notUnderstoodList.toArray( result ); Arrays.sort( result ); for ( int i = 0; i < count; ...
1,105,554
private void printUnsupportedList( HashSet<String> unsupportedList ) { println( "--------------- UNSUPPORTED METHODS ------------------" ); println( "--" ); int count = unsupportedList.size(); String[] result = new String[ count ]; unsupportedList.toArray( result ); Arrays.sort( result ); for ( int i = 0; i <...
private void printUnsupportedList( HashSet<String> unsupportedList ) { println( "--------------- UNSUPPORTED METHODS ------------------" ); println( "--" ); String[] result = new String[ count ]; unsupportedList.toArray( result ); Arrays.sort( result ); for ( int i = 0; i < count; i++ ) { println( result[ i...
1,105,555
private void vetInterfaceMethods ( Object candidate, Class iface, HashSet<String> unsupportedList, HashSet<String> notUnderstoodList ) throws Exception { Method[] methods = iface.getMethods(); int methodCount = methods.length; for ( int i = 0; i < methodCount; i++ ) { Method method = methods[ i ]; vetMe...
private void vetInterfaceMethods ( Object candidate, Class iface, HashSet<String> unsupportedList, HashSet<String> notUnderstoodList ) throws Exception { Method[] methods = sortMethods( iface ); int methodCount = methods.length; for ( int i = 0; i < methodCount; i++ ) { Method method = methods[ i ]; vet...
1,105,556
private long bulkInsertCore(LanguageConnectionContext lcc, long oldHeapConglom) throws StandardException { fullTemplate = constants.getEmptyHeapRow(lcc); bulkHeapCC = tc.openCompiledConglomerate( false, TransactionController.OPENMODE_FORUPDATE, ...
private long bulkInsertCore(LanguageConnectionContext lcc, long oldHeapConglom) throws StandardException { fullTemplate = constants.getEmptyHeapRow(lcc); bulkHeapCC = tc.openCompiledConglomerate( false, TransactionController.OPENMODE_FORUPDATE, ...
1,105,557
private void normalInsertCore(LanguageConnectionContext lcc, boolean firstExecute) throws StandardException { boolean firstDeferredRow = true; ExecRow deferredRowBuffer = null; long user_autoinc=0; /* Get or re-use the row changer. * NOTE: We need to set ourself as the top result set * if this i...
private void normalInsertCore(LanguageConnectionContext lcc, boolean firstExecute) throws StandardException { boolean firstDeferredRow = true; ExecRow deferredRowBuffer = null; long user_autoinc=0; /* Get or re-use the row changer. * NOTE: We need to set ourself as the top result set * if this i...
1,105,558
private void normalInsertCore(LanguageConnectionContext lcc, boolean firstExecute) throws StandardException { boolean firstDeferredRow = true; ExecRow deferredRowBuffer = null; long user_autoinc=0; /* Get or re-use the row changer. * NOTE: We need to set ourself as the top result set * if this i...
private void normalInsertCore(LanguageConnectionContext lcc, boolean firstExecute) throws StandardException { boolean firstDeferredRow = true; ExecRow deferredRowBuffer = null; long user_autoinc=0; /* Get or re-use the row changer. * NOTE: We need to set ourself as the top result set * if this i...
1,105,559
protected final 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 leng...
protected final 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 leng...
1,105,560
public boolean isValid(int timeout) throws SQLException { throw Util.notImplemented(); }
public boolean isValid(int timeout) throws SQLException { if (timeout < 0) { throw Util.generateCsSQLException(SQLState.INVALID_API_PARAMETER, new Integer(timeout), "timeout", "java.sql.Connection.isValid"); } return !isClosed(); }
1,105,561
public int performWork(ContextManager context) throws StandardException { // SECURITY PERMISSION - MP1, OP5 if (fileToGo.exists()) { if (!fileToGo.delete()) { throw StandardException.newException( SQLState.FILE_CANNOT_REMOVE_FILE, f...
public int performWork(ContextManager context) throws StandardException { // SECURITY PERMISSION - MP1, OP5 if (fileToGo.exists()) { if (!fileToGo.delete()) { throw StandardException.newException( SQLState.FILE_CANNOT_REMOVE_FILE, f...
1,105,562
public void generate(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException { if (SanityManager.DEBUG) SanityManager.ASSERT(resultColumns != null, "Tree structure bad"); // Get our final cost estimate. costEstimate = getFinalCostEstimate(); /* ** Check and see if everything bel...
public void generate(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException { if (SanityManager.DEBUG) SanityManager.ASSERT(resultColumns != null, "Tree structure bad"); // Get our final cost estimate. costEstimate = getFinalCostEstimate(); /* ** Check and see if everything bel...
1,105,564
protected void setUp() throws Exception { if (!config.getJDBCClient().isEmbedded()) { BaseTestCase.println("Starting network server:"); networkServerController = new NetworkServerControl (InetAddress.getByName(config.getHostName()), config.getPort()); ...
protected void setUp() throws Exception { if (!config.getJDBCClient().isEmbedded()) { BaseTestCase.println("Starting network server:"); networkServerController = new NetworkServerControl (InetAddress.getByName(config.getHostName()), config.getPort()); ...
1,105,567
public void run() { goAway = false; while (true) { synchronized (this) { if (goAway) return; try { wait(); } catch (InterruptedException ie) { } } } }
public void run() { while (true) { synchronized (this) { if (goAway) return; try { wait(); } catch (InterruptedException ie) { } } } }
1,105,568
void startTestResultSetMethods(Connection conn_in,PreparedStatement ps_in,ResultSet rs_in) { conn = conn_in; ps = ps_in; rs = rs_in; t_getHoldability(); t_isClosed(); t_updateNString1(); t_updateNString2(); t_updateNClob1(); t_up...
void startTestResultSetMethods(Connection conn_in,PreparedStatement ps_in,ResultSet rs_in) { conn = conn_in; ps = ps_in; rs = rs_in; t_getHoldability(); t_isClosed(); t_updateNString1(); t_updateNString2(); t_updateNClob1(); t_up...
1,105,569
public int moveRecordForCompressAtSlot( int slot, Object[] row, RecordHandle[] old_handle, RecordHandle[] new_handle) throws StandardException { long src_pageno = getPageNumber(); try { fetchFromSlot( null, slot, ...
public int moveRecordForCompressAtSlot( int slot, Object[] row, RecordHandle[] old_handle, RecordHandle[] new_handle) throws StandardException { long src_pageno = getPageNumber(); try { fetchFromSlot( null, slot, ...
1,105,571
public int moveRecordForCompressAtSlot( int slot, Object[] row, RecordHandle[] old_handle, RecordHandle[] new_handle) throws StandardException { long src_pageno = getPageNumber(); try { fetchFromSlot( null, slot, ...
public int moveRecordForCompressAtSlot( int slot, Object[] row, RecordHandle[] old_handle, RecordHandle[] new_handle) throws StandardException { long src_pageno = getPageNumber(); try { fetchFromSlot( null, slot, ...
1,105,572
public int moveRecordForCompressAtSlot( int slot, Object[] row, RecordHandle[] old_handle, RecordHandle[] new_handle) throws StandardException { long src_pageno = getPageNumber(); try { fetchFromSlot( null, slot, ...
public int moveRecordForCompressAtSlot( int slot, Object[] row, RecordHandle[] old_handle, RecordHandle[] new_handle) throws StandardException { long src_pageno = getPageNumber(); try { fetchFromSlot( null, slot, ...
1,105,573
public void generate(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException { if (SanityManager.DEBUG) SanityManager.ASSERT(resultColumns != null, "Tree structure bad"); /* Get the next ResultSet #, so that we can number this ResultSetNode, its * ResultColumnList and ResultSet. ...
public void generate(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException { if (SanityManager.DEBUG) SanityManager.ASSERT(resultColumns != null, "Tree structure bad"); /* Get the next ResultSet #, so that we can number this ResultSetNode, its * ResultColumnList and ResultSet. ...
1,105,574
public void generate(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException { if (SanityManager.DEBUG) SanityManager.ASSERT(resultColumns != null, "Tree structure bad"); /* Get the next ResultSet #, so that we can number this ResultSetNode, its * ResultColumnList and ResultSet. ...
public void generate(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException { if (SanityManager.DEBUG) SanityManager.ASSERT(resultColumns != null, "Tree structure bad"); /* Get the next ResultSet #, so that we can number this ResultSetNode, its * ResultColumnList and ResultSet. ...
1,105,575
public SQLWarning getSQLWarning() { SQLWarning sqlw = new SQLWarning(getMessage(), getSQLState(), getErrorCode()); // If we're in a runtime that supports chained exceptions, set the cause // of the SQLException. if (JVMInfo.JDK_ID >= JVMInfo.J2SE_14 ) { ...
public SQLWarning getSQLWarning() { SQLWarning sqlw = new SQLWarning(getMessage(), getSQLState(), getErrorCode()); // If we're in a runtime that supports chained exceptions, set the cause // of the SQLException. if (JVMInfo.JDK_ID >= JVMInfo.J2SE_14 ) { ...
1,105,576
public void backup(String backupDir) throws StandardException { if (backupDir == null || backupDir.equals("")) { throw StandardException.newException( SQLState.RAWSTORE_CANNOT_CREATE_BACKUP_DIRECTORY, (File)null); } // in case this is an URL form String backupDirURL = null; try { U...
public void backup(String backupDir) throws StandardException { if (backupDir == null || backupDir.equals("")) { throw StandardException.newException( SQLState.RAWSTORE_CANNOT_CREATE_BACKUP_DIRECTORY, (File)null); } // in case this is an URL form String backupDirURL = null; try { U...
1,105,577
public void backupAndEnableLogArchiveMode(String backupDir,boolean deleteOnlineArchivedLogFiles) throws StandardException { enableLogArchiveMode(); backup(backupDir); //After successful backup delete the archived log files //that are not necessary to do a roll-forward recovery //from this backup if ...
public void backupAndEnableLogArchiveMode(String backupDir,boolean deleteOnlineArchivedLogFiles) throws StandardException { logFactory.enableLogArchiveMode(); backup(backupDir); //After successful backup delete the archived log files //that are not necessary to do a roll-forward recovery //from this...
1,105,578
public void disableLogArchiveMode(boolean deleteOnlineArchivedLogFiles) throws StandardException { logFactory.disableLogArchiveMode(); if(deleteOnlineArchivedLogFiles) { logFactory.deleteOnlineArchivedLogFiles(); } }
public synchronized void disableLogArchiveMode(boolean deleteOnlineArchivedLogFiles) throws StandardException { logFactory.disableLogArchiveMode(); if(deleteOnlineArchivedLogFiles) { logFactory.deleteOnlineArchivedLogFiles(); } }
1,105,579
private void generateMinion(ExpressionClassBuilder acb, MethodBuilder mb, boolean genChildResultSet) throws StandardException { MethodBuilder userExprFun; ValueNode searchClause = null; ValueNode equijoinClause = null; /* The tableProperties, if non-null, must be correct to get this far. * We si...
private void generateMinion(ExpressionClassBuilder acb, MethodBuilder mb, boolean genChildResultSet) throws StandardException { MethodBuilder userExprFun; ValueNode searchClause = null; ValueNode equijoinClause = null; /* The tableProperties, if non-null, must be correct to get this far. * We si...
1,105,580
private void generateMinion(ExpressionClassBuilder acb, MethodBuilder mb, boolean genChildResultSet) throws StandardException { MethodBuilder userExprFun; ValueNode searchClause = null; ValueNode equijoinClause = null; /* The tableProperties, if non-null, must be correct to get this far. * We si...
private void generateMinion(ExpressionClassBuilder acb, MethodBuilder mb, boolean genChildResultSet) throws StandardException { MethodBuilder userExprFun; ValueNode searchClause = null; ValueNode equijoinClause = null; /* The tableProperties, if non-null, must be correct to get this far. * We si...
1,105,581
private static void runTests(Properties suiteProps, String suite) throws IOException, Exception { // save a copy of the system properties at this point; when runing with // java threads we need to reset the system properties to this list; // otherwise we start to accumulate extraneous properti...
private static void runTests(Properties suiteProps, String suite) throws IOException, Exception { // save a copy of the system properties at this point; when runing with // java threads we need to reset the system properties to this list; // otherwise we start to accumulate extraneous properti...
1,105,583
private static void createKeysFrom (ResultSet rs) throws SQLException { boolean firstTime = true; while (rs.next()) { if (!rs.getBoolean(7)) // this row is NOT for a constraint, so skip it. continue; String tableId = rs.getString(3); String tableName = dblook.lookupTableId(tableId); if (dblook.isExclud...
private static void createKeysFrom (ResultSet rs) throws SQLException { boolean firstTime = true; while (rs.next()) { if (!rs.getBoolean(7)) // this row is NOT for a constraint, so skip it. continue; String tableId = rs.getString(3); String tableName = dblook.lookupTableId(tableId); if (dblook.isExclud...
1,105,586
private static void createKeysFrom (ResultSet rs) throws SQLException { boolean firstTime = true; while (rs.next()) { if (!rs.getBoolean(7)) // this row is NOT for a constraint, so skip it. continue; String tableId = rs.getString(3); String tableName = dblook.lookupTableId(tableId); if (dblook.isExclud...
private static void createKeysFrom (ResultSet rs) throws SQLException { boolean firstTime = true; while (rs.next()) { if (!rs.getBoolean(7)) // this row is NOT for a constraint, so skip it. continue; String tableId = rs.getString(3); String tableName = dblook.lookupTableId(tableId); if (dblook.isExclud...
1,105,587
private static void printHeader() { if (printedHeader) return; Logs.reportString("----------------------------------------------"); Logs.reportMessage("CSLOOK_KeysHeader"); Logs.reportString("----------------------------------------------\n"); printedHeader = true; }
private static void printHeader() { if (printedHeader) return; Logs.reportString("----------------------------------------------"); Logs.reportMessage("DBLOOK_KeysHeader"); Logs.reportString("----------------------------------------------\n"); printedHeader = true; }
1,105,588
private static void runSuites(Vector suitesToRun) throws ClassNotFoundException, FileNotFoundException, IOException, Exception { // For each suite, locate its properties and runall files // which should be in the "suites" dir or user.dir String suiteName = ""; userdir = ...
private static void runSuites(Vector suitesToRun) throws ClassNotFoundException, FileNotFoundException, IOException, Exception { // For each suite, locate its properties and runall files // which should be in the "suites" dir or user.dir String suiteName = ""; userdir = ...
1,105,589
private static boolean shouldSkipTest() { boolean result = false; // figure out if suite should be skipped ... adhoc rules boolean isRmiJdbc = false; boolean isIBridge = false; boolean isJdk12 = false; // really now 'isJdk12orHigher' boolean isJdk14 = false; boolean isJdk118 = false; boolean isJdk117 = false; bo...
private static boolean shouldSkipTest() { boolean result = false; // figure out if suite should be skipped ... adhoc rules boolean isRmiJdbc = false; boolean isIBridge = false; boolean isJdk12 = false; // really now 'isJdk12orHigher' boolean isJdk14 = false; boolean isJdk118 = false; boolean isJdk117 = false; bo...
1,105,590
public static void main(String[] args) { Connection con; Statement stmt; try { System.out.println("Test BootLock Starting"); // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); String derbyHome = System.getProperty("derby.system.home"); con = ij....
public static void main(String[] args) { Connection con; Statement stmt; try { System.out.println("Test BootLock Starting"); // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); String derbyHome = System.getProperty("derby.system.home"); con = ij....
1,105,591
public static void main(String[] args) { Connection con; Statement stmt; try { System.out.println("Test BootLock Starting"); // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); String derbyHome = System.getProperty("derby.system.home"); con = ij....
public static void main(String[] args) { Connection con; Statement stmt; try { System.out.println("Test BootLock Starting"); // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); String derbyHome = System.getProperty("derby.system.home"); con = ij....
1,105,592
private void setProperties(Properties values) throws PrivilegedActionException { for (Enumeration e = values.propertyNames(); e.hasMoreElements();) { String key = (String) e.nextElement(); String value = values.getProperty(key); String old = BaseTestCase.getSystemProperty(key); ...
private void setProperties(Properties values) throws PrivilegedActionException { for (Enumeration e = values.propertyNames(); e.hasMoreElements();) { String key = (String) e.nextElement(); String value = values.getProperty(key); String old = BaseTestCase.getSystemProperty(key); ...
1,105,595
public static void main (String args[]) throws Exception { host = TestUtil.getHostName(); maxthreadsCmd2[4] = host; 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 vC...
public static void main (String args[]) throws Exception { host = TestUtil.getHostName(); maxthreadsCmd2[4] = host; 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 vC...
1,105,598
public static void main (String args[]) throws Exception { host = TestUtil.getHostName(); maxthreadsCmd2[4] = host; 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 vC...
public static void main (String args[]) throws Exception { host = TestUtil.getHostName(); maxthreadsCmd2[4] = host; 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 vC...
1,105,599
public static void main (String args[]) throws Exception { host = TestUtil.getHostName(); maxthreadsCmd2[4] = host; 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 vC...
public static void main (String args[]) throws Exception { host = TestUtil.getHostName(); maxthreadsCmd2[4] = host; 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 vC...
1,105,600
public static void main (String args[]) throws Exception { host = TestUtil.getHostName(); maxthreadsCmd2[4] = host; 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 vC...
public static void main (String args[]) throws Exception { host = TestUtil.getHostName(); maxthreadsCmd2[4] = host; 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 vC...
1,105,601
public static void main (String args[]) throws Exception { host = TestUtil.getHostName(); maxthreadsCmd2[4] = host; 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 vC...
public static void main (String args[]) throws Exception { host = TestUtil.getHostName(); maxthreadsCmd2[4] = host; 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 vC...
1,105,602
public static void main (String args[]) throws Exception { host = TestUtil.getHostName(); maxthreadsCmd2[4] = host; 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 vC...
public static void main (String args[]) throws Exception { host = TestUtil.getHostName(); maxthreadsCmd2[4] = host; 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 vC...
1,105,603
static private void dumpSQLExceptions (SQLException se) { System.out.println("FAIL -- unexpected exception"); while (se != null) { System.out.println("SQLSTATE("+se.getSQLState()+"): "+se); se = se.getNextException(); } ...
static private void dumpSQLExceptions (SQLException se) { if( se.getSQLState() != null && (se.getSQLState().equals(EXPECTED_SQL_STATE))) { System.out.println("PASS -- expected exception"); while (se != null) { System.out.println("SQLSTATE("+se.getSQLState()+"):...
1,105,604
static private void dumpSQLExceptions (SQLException se) { System.out.println("FAIL -- unexpected exception"); while (se != null) { System.out.println("SQLSTATE("+se.getSQLState()+"): "+se); se = se.getNextException(); } ...
static private void dumpSQLExceptions (SQLException se) { System.out.println("FAIL -- unexpected exception"); while (se != null) { System.out.println("SQLSTATE("+se.getSQLState()+"): "+se); se = se.getNextException(); } ...
1,105,605
public static void test1(String []args) { Connection con; ResultSet rs; PreparedStatement stmt = null; PreparedStatement pStmt = null; Statement stmt1 = null; String returnValue = null; System.out.println("Te...
public static void test1(String []args) { Connection con; ResultSet rs; PreparedStatement stmt = null; PreparedStatement pStmt = null; Statement stmt1 = null; String returnValue = null; System.out.println("Te...
1,105,607
public static void test1(String []args) { Connection con; ResultSet rs; PreparedStatement stmt = null; PreparedStatement pStmt = null; Statement stmt1 = null; String returnValue = null; System.out.println("Te...
public static void test1(String []args) { Connection con; ResultSet rs; PreparedStatement stmt = null; PreparedStatement pStmt = null; Statement stmt1 = null; String returnValue = null; System.out.println("Te...
1,105,608
public static void test1(String []args) { Connection con; ResultSet rs; PreparedStatement stmt = null; PreparedStatement pStmt = null; Statement stmt1 = null; String returnValue = null; System.out.println("Te...
public static void test1(String []args) { Connection con; ResultSet rs; PreparedStatement stmt = null; PreparedStatement pStmt = null; Statement stmt1 = null; String returnValue = null; System.out.println("Te...
1,105,609
protected void computeFeatureSet_() { if (connection_.resultSetHoldability_ == 0) // property not set { setDefaultResultSetHoldability(); } // Support for QRYCLSIMP was added in 10.2.0 if (productLevel_.greaterThanOrEqualTo(10, 2, 0)) { supportsQryclsimp_ = ...
protected void computeFeatureSet_() { if (connection_.resultSetHoldability_ == 0) // property not set { setDefaultResultSetHoldability(); } // Support for QRYCLSIMP was added in 10.2.0 if (productLevel_.greaterThanOrEqualTo(10, 2, 0)) { supportsQryclsimp_ = ...
1,105,610
public void verifyProperties(DataDictionary dDictionary) throws StandardException { if (tableProperties == null) { return; } /* Check here for: * invalid properties key * invalid joinStrategy * invalid value for hashInitialCapacity * invalid value for hashLoadFactor * invalid value for hashMaxCap...
public void verifyProperties(DataDictionary dDictionary) throws StandardException { if (tableProperties == null) { return; } /* Check here for: * invalid properties key * invalid joinStrategy * invalid value for hashInitialCapacity * invalid value for hashLoadFactor * invalid value for hashMaxCap...
1,105,611
public void verifyProperties(DataDictionary dDictionary) throws StandardException { if (tableProperties == null) { return; } /* Check here for: * invalid properties key * invalid joinStrategy * invalid value for hashInitialCapacity * invalid value for hashLoadFactor * invalid value for hashMaxCap...
public void verifyProperties(DataDictionary dDictionary) throws StandardException { if (tableProperties == null) { return; } /* Check here for: * invalid properties key * invalid joinStrategy * invalid value for hashInitialCapacity * invalid value for hashLoadFactor * invalid value for hashMaxCap...
1,105,612
private static void assertMultipleResultsFromExecuteQuery(SQLException sqle) { if (usingEmbedded()) { assertSQLState("Unexpected SQL state.", "X0Y78", sqle); } else if (usingDerbyNetClient()) { assertSQLState("Unexpected SQL state.", "XJ201", sqle); } else if (usingDerb...
private static void assertMultipleResultsFromExecuteQuery(SQLException sqle) { if (usingEmbedded()) { assertSQLState("Unexpected SQL state.", "X0Y78", sqle); } else if (usingDerbyNetClient()) { assertSQLState("Unexpected SQL state.", "XJ201", sqle); } else if (usingDerb...
1,105,614
private static void assertMultipleResultsFromExecuteQuery(SQLException sqle) { if (usingEmbedded()) { assertSQLState("Unexpected SQL state.", "X0Y78", sqle); } else if (usingDerbyNetClient()) { assertSQLState("Unexpected SQL state.", "XJ201", sqle); } else if (usingDerb...
private static void assertMultipleResultsFromExecuteQuery(SQLException sqle) { if (usingEmbedded()) { assertSQLState("Unexpected SQL state.", "X0Y78", sqle); } else if (usingDerbyNetClient()) { assertSQLState("Unexpected SQL state.", "XJ201", sqle); } else if (usingDerb...
1,105,615
private static void assertNoResultSetFromExecuteQuery(SQLException sqle) { if (usingEmbedded()) { assertSQLState("Unexpected SQL state.", "X0Y78", sqle); } else if (usingDerbyNetClient()) { assertSQLState("Unexpected SQL state.", "XJ205", sqle); } else if (usingDerbyNet())...
private static void assertNoResultSetFromExecuteQuery(SQLException sqle) { if (usingEmbedded()) { assertSQLState("Unexpected SQL state.", "X0Y78", sqle); } else if (usingDerbyNetClient()) { assertSQLState("Unexpected SQL state.", "XJ205", sqle); } else if (usingDerbyNet())...
1,105,616
private static void assertNoResultSetFromExecuteQuery(SQLException sqle) { if (usingEmbedded()) { assertSQLState("Unexpected SQL state.", "X0Y78", sqle); } else if (usingDerbyNetClient()) { assertSQLState("Unexpected SQL state.", "XJ205", sqle); } else if (usingDerbyNet())...
private static void assertNoResultSetFromExecuteQuery(SQLException sqle) { if (usingEmbedded()) { assertSQLState("Unexpected SQL state.", "X0Y78", sqle); } else if (usingDerbyNetClient()) { assertSQLState("Unexpected SQL state.", "XJ205", sqle); } else if (usingDerbyNet())...
1,105,617
private static void assertResultsFromExecuteUpdate(SQLException sqle) { if (usingEmbedded()) { assertSQLState("Unexpected SQL state.", "X0Y79", sqle); } else if (usingDerbyNetClient()) { assertSQLState("Unexpected SQL state.", "XJ201", sqle); } else if (usingDerbyNet()) { ...
private static void assertResultsFromExecuteUpdate(SQLException sqle) { if (usingEmbedded()) { assertSQLState("Unexpected SQL state.", "X0Y79", sqle); } else if (usingDerbyNetClient()) { assertSQLState("Unexpected SQL state.", "XJ201", sqle); } else if (usingDerbyNet()) { ...
1,105,618
private static void assertResultsFromExecuteUpdate(SQLException sqle) { if (usingEmbedded()) { assertSQLState("Unexpected SQL state.", "X0Y79", sqle); } else if (usingDerbyNetClient()) { assertSQLState("Unexpected SQL state.", "XJ201", sqle); } else if (usingDerbyNet()) { ...
private static void assertResultsFromExecuteUpdate(SQLException sqle) { if (usingEmbedded()) { assertSQLState("Unexpected SQL state.", "X0Y79", sqle); } else if (usingDerbyNetClient()) { assertSQLState("Unexpected SQL state.", "XJ201", sqle); } else if (usingDerbyNet()) { ...
1,105,619
public static Test suite() { TestSuite suite = new TestSuite(ProcedureTest.class); if (!usingDerbyNet()) { suite.addTest (new ProcedureTest ("xtestExecuteUpdateWithNoDynamicResultSets")); suite.addTest (new ProcedureTest ...
public static Test suite() { TestSuite suite = new TestSuite(ProcedureTest.class); if (!usingDerbyNet()) { suite.addTest (new ProcedureTest ("xtestExecuteUpdateWithNoDynamicResultSets")); suite.addTest (new ProcedureTest ...
1,105,620
private void initSlotTable() throws StandardException { int localSlotsInUse = slotsInUse; // must initialize the header now initializeHeaders(localSlotsInUse); // mark all the space on the page as free clearAllSpace(); // first count the space occupied by the slot table freeSpace -= localSlotsInUse * ...
private void initSlotTable( PageKey newIdentity) throws StandardException { int localSlotsInUse = slotsInUse; // must initialize the header now initializeHeaders(localSlotsInUse); // mark all the space on the page as free clearAllSpace(); // first count the space occupied by the slot table freeSpace -...
1,105,622
private void initSlotTable() throws StandardException { int localSlotsInUse = slotsInUse; // must initialize the header now initializeHeaders(localSlotsInUse); // mark all the space on the page as free clearAllSpace(); // first count the space occupied by the slot table freeSpace -= localSlotsInUse * ...
private void initSlotTable() throws StandardException { int localSlotsInUse = slotsInUse; // must initialize the header now initializeHeaders(localSlotsInUse); // mark all the space on the page as free clearAllSpace(); // first count the space occupied by the slot table freeSpace -= localSlotsInUse * ...
1,105,623
private void initSlotTable() throws StandardException { int localSlotsInUse = slotsInUse; // must initialize the header now initializeHeaders(localSlotsInUse); // mark all the space on the page as free clearAllSpace(); // first count the space occupied by the slot table freeSpace -= localSlotsInUse * ...
private void initSlotTable() throws StandardException { int localSlotsInUse = slotsInUse; // must initialize the header now initializeHeaders(localSlotsInUse); // mark all the space on the page as free clearAllSpace(); // first count the space occupied by the slot table freeSpace -= localSlotsInUse * ...
1,105,624
private void normalInsertCore(LanguageConnectionContext lcc, boolean firstExecute) throws StandardException { boolean firstDeferredRow = true; ExecRow deferredRowBuffer = null; long user_autoinc=0; /* Get or re-use the row changer. * NOTE: We need to set ourself as the top result set * if this i...
private void normalInsertCore(LanguageConnectionContext lcc, boolean firstExecute) throws StandardException { boolean firstDeferredRow = true; ExecRow deferredRowBuffer = null; long user_autoinc=0; /* Get or re-use the row changer. * NOTE: We need to set ourself as the top result set * if this i...
1,105,625
private void normalInsertCore(LanguageConnectionContext lcc, boolean firstExecute) throws StandardException { boolean firstDeferredRow = true; ExecRow deferredRowBuffer = null; long user_autoinc=0; /* Get or re-use the row changer. * NOTE: We need to set ourself as the top result set * if this i...
private void normalInsertCore(LanguageConnectionContext lcc, boolean firstExecute) throws StandardException { boolean firstDeferredRow = true; ExecRow deferredRowBuffer = null; long user_autoinc=0; /* Get or re-use the row changer. * NOTE: We need to set ourself as the top result set * if this i...
1,105,626
SetOpResultSet( NoPutResultSet leftSource, NoPutResultSet rightSource, Activation activation, int resultSetNumber, long optimizerEstimatedRowCount, double optimizerEstimatedCost, int opType, ...
SetOpResultSet( NoPutResultSet leftSource, NoPutResultSet rightSource, Activation activation, int resultSetNumber, long optimizerEstimatedRowCount, double optimizerEstimatedCost, int opType, ...
1,105,627
SetOpResultSet( NoPutResultSet leftSource, NoPutResultSet rightSource, Activation activation, int resultSetNumber, long optimizerEstimatedRowCount, double optimizerEstimatedCost, int opType, ...
SetOpResultSet( NoPutResultSet leftSource, NoPutResultSet rightSource, Activation activation, int resultSetNumber, long optimizerEstimatedRowCount, double optimizerEstimatedCost, int opType, ...
1,105,628
public void close() throws StandardException { beginTime = getCurrentTimeMillis(); if ( isOpen ) { if (closeCleanup != null) closeCleanup.invoke(activation); // let activation tidy up clearCurrentRow(); currentRow = null; prevCols = null; leftSource.close(); rightS...
public void close() throws StandardException { beginTime = getCurrentTimeMillis(); if ( isOpen ) { if (closeCleanup != null) closeCleanup.invoke(activation); // let activation tidy up clearCurrentRow(); currentRow = null; prevCols = null; leftSource.close(); rightS...
1,105,629
public void close() throws StandardException { beginTime = getCurrentTimeMillis(); if ( isOpen ) { if (closeCleanup != null) closeCleanup.invoke(activation); // let activation tidy up clearCurrentRow(); currentRow = null; prevCols = null; leftSource.close(); rightS...
public void close() throws StandardException { beginTime = getCurrentTimeMillis(); if ( isOpen ) { if (closeCleanup != null) closeCleanup.invoke(activation); // let activation tidy up clearCurrentRow(); prevCols = null; leftSource.close(); rightSource.close(); ...
1,105,630
public final void doMe(Transaction xact, LogInstant instant, LimitObjectInput in) throws StandardException, IOException { long oldversion = 0; // sanity check LogInstant oldLogInstant = null; // sanity check if (SanityManager.DEBUG) { oldLogInstant = this.page.getLastLogInstant(); oldversion = this.page.ge...
public final void doMe(Transaction xact, LogInstant instant, LimitObjectInput in) throws StandardException, IOException { long oldversion = 0; // sanity check LogInstant oldLogInstant = null; // sanity check if (SanityManager.DEBUG) { oldLogInstant = this.page.getLastLogInstant(); oldversion = this.page.ge...
1,105,631
public static void main(String[] args) { try { // Using TestConnection for now instead of ij because // ij.startJBMS() returns null for classes built against // JDK 1.6 runTests(new TestConnection().createEmbeddedConnection()); runTests(new TestConnection().crea...
public static void main(String[] args) { try { // Using TestConnection for now instead of ij because // ij.startJBMS() returns null for classes built against // JDK 1.6 runTests(new TestConnection().createEmbeddedConnection()); runTests(new TestConnection().crea...
1,105,632
static boolean runCallableStatementWithOutputParamBatch(Connection conn) throws SQLException { boolean passed = true; int updateCount[] = null; ResultSet rs; System.out.println("Negative Callable Statement: callable statement with output parameters in the batch"); Statement s = conn.createStatement(); s...
static boolean runCallableStatementWithOutputParamBatch(Connection conn) throws SQLException { boolean passed = true; int updateCount[] = null; ResultSet rs; System.out.println("Negative Callable Statement: callable statement with output parameters in the batch"); Statement s = conn.createStatement(); s...
1,105,633
public CallableStatement newCallableStatement(Agent agent, org.apache.derby.client.am.Connection connection, String sql,int type,int concurrency, int holdability) throws SqlException { return new CallableStatement(agent,connection,sql,type, concurrency,holdabil...
public CallableStatement newCallableStatement(Agent agent, org.apache.derby.client.am.Connection connection, String sql,int type,int concurrency, int holdability,ClientPooledConnection cpc) throws SqlException { return new CallableStatement(agent,connection,sql,type, ...
1,105,634
public CallableStatement newCallableStatement(Agent agent, org.apache.derby.client.am.Connection connection, String sql,int type,int concurrency, int holdability) throws SqlException { return new CallableStatement(agent,connection,sql,type, concurrency,holdabil...
public CallableStatement newCallableStatement(Agent agent, org.apache.derby.client.am.Connection connection, String sql,int type,int concurrency, int holdability) throws SqlException { return new CallableStatement(agent,connection,sql,type, concurrency,holdabil...
1,105,635
public PreparedStatement newPreparedStatement(Agent agent, org.apache.derby.client.am.Connection connection, String sql,Section section) throws SqlException { return new PreparedStatement(agent,connection,sql,section); }
public PreparedStatement newPreparedStatement(Agent agent, org.apache.derby.client.am.Connection connection, String sql,Section section) throws SqlException { return new PreparedStatement(agent,connection,sql,section); }
1,105,636
public static Test suite() { TestSuite mainSuite = new TestSuite( "CallableStatementTest and SetObjectUnsupportedTest suite"); TestSuite suite = new TestSuite(CallableStatementTest.class, "CallableStatementTest suite"); mainSuite.addTest(new...
public static Test suite() { TestSuite mainSuite = new TestSuite( "CallableStatementTest and SetObjectUnsupportedTest suite"); TestSuite suite = new TestSuite(CallableStatementTest.class, "CallableStatementTest suite"); mainSuite.addTest(new...
1,105,637
public void boot(boolean create, Properties properties) throws StandardException { dataDirectory = properties.getProperty(PersistentService.ROOT); DaemonFactory daemonFactory = (DaemonFactory)Monitor.startSystemModule(org.apache.derby.iapi.reference.Module.DaemonFactory); rawStoreDaemon = daemonFactory.createNew...
public void boot(boolean create, Properties properties) throws StandardException { dataDirectory = properties.getProperty(PersistentService.ROOT); DaemonFactory daemonFactory = (DaemonFactory)Monitor.startSystemModule(org.apache.derby.iapi.reference.Module.DaemonFactory); rawStoreDaemon = daemonFactory.createNew...
1,105,638
public void configureDatabaseForEncryption(Properties properties, CipherFactory newCipherFactory) throws StandardException { boolean reEncrypt = (databaseEncrypted && encryptDatabase); // check if the database can be encrypted. canEncryp...
public void configureDatabaseForEncryption(Properties properties, CipherFactory newCipherFactory) throws StandardException { boolean reEncrypt = (databaseEncrypted && encryptDatabase); // check if the database can be encrypted. canEncryp...
1,105,639
public void configureDatabaseForEncryption(Properties properties, CipherFactory newCipherFactory) throws StandardException { boolean reEncrypt = (databaseEncrypted && encryptDatabase); // check if the database can be encrypted. canEncryp...
public void configureDatabaseForEncryption(Properties properties, CipherFactory newCipherFactory) throws StandardException { boolean reEncrypt = (databaseEncrypted && encryptDatabase); // check if the database can be encrypted. canEncryp...
1,105,640
public void configureDatabaseForEncryption(Properties properties, CipherFactory newCipherFactory) throws StandardException { boolean reEncrypt = (databaseEncrypted && encryptDatabase); // check if the database can be encrypted. canEncryp...
public void configureDatabaseForEncryption(Properties properties, CipherFactory newCipherFactory) throws StandardException { boolean reEncrypt = (databaseEncrypted && encryptDatabase); // check if the database can be encrypted. canEncryp...
1,105,641
public void configureDatabaseForEncryption(Properties properties, CipherFactory newCipherFactory) throws StandardException { boolean reEncrypt = (databaseEncrypted && encryptDatabase); // check if the database can be encrypted. canEncryp...
public void configureDatabaseForEncryption(Properties properties, CipherFactory newCipherFactory) throws StandardException { boolean reEncrypt = (databaseEncrypted && encryptDatabase); // check if the database can be encrypted. canEncryp...
1,105,642
public void configureDatabaseForEncryption(Properties properties, CipherFactory newCipherFactory) throws StandardException { boolean reEncrypt = (databaseEncrypted && encryptDatabase); // check if the database can be encrypted. canEncryp...
public void configureDatabaseForEncryption(Properties properties, CipherFactory newCipherFactory) throws StandardException { boolean reEncrypt = (databaseEncrypted && encryptDatabase); // check if the database can be encrypted. canEncryp...
1,105,643
public void configureDatabaseForEncryption(Properties properties, CipherFactory newCipherFactory) throws StandardException { boolean reEncrypt = (databaseEncrypted && encryptDatabase); // check if the database can be encrypted. canEncryp...
public void configureDatabaseForEncryption(Properties properties, CipherFactory newCipherFactory) throws StandardException { boolean reEncrypt = (databaseEncrypted && encryptDatabase); // check if the database can be encrypted. canEncryp...
1,105,644
public void configureDatabaseForEncryption(Properties properties, CipherFactory newCipherFactory) throws StandardException { boolean reEncrypt = (databaseEncrypted && encryptDatabase); // check if the database can be encrypted. canEncryp...
public void configureDatabaseForEncryption(Properties properties, CipherFactory newCipherFactory) throws StandardException { boolean reEncrypt = (databaseEncrypted && encryptDatabase); // check if the database can be encrypted. canEncryp...
1,105,645
public void configureDatabaseForEncryption(Properties properties, CipherFactory newCipherFactory) throws StandardException { boolean reEncrypt = (databaseEncrypted && encryptDatabase); // check if the database can be encrypted. canEncryp...
public void configureDatabaseForEncryption(Properties properties, CipherFactory newCipherFactory) throws StandardException { boolean reEncrypt = (databaseEncrypted && encryptDatabase); // check if the database can be encrypted. canEncryp...
1,105,646
private void crashOnDebugFlag(String debugFlag) throws StandardException { if (SanityManager.DEBUG) { // if the test debug flag is set, throw an // exception to simulate error cases. if (SanityManager.DEBUG_ON(debugFlag)) { Standar...
private void crashOnDebugFlag(String debugFlag, boolean reEncrypt) throws StandardException { if (SanityManager.DEBUG) { // if the test debug flag is set, throw an // exception to simulate error cases. if (SanityManager.DEBUG_ON(debugFlag)) { ...
1,105,647
private void crashOnDebugFlag(String debugFlag) throws StandardException { if (SanityManager.DEBUG) { // if the test debug flag is set, throw an // exception to simulate error cases. if (SanityManager.DEBUG_ON(debugFlag)) { Standar...
private void crashOnDebugFlag(String debugFlag) throws StandardException { if (SanityManager.DEBUG) { // if the test debug flag is set, throw an // exception to simulate error cases. if (SanityManager.DEBUG_ON(debugFlag)) { Standar...
1,105,648
public void handleIncompleteDatabaseEncryption(Properties properties) throws StandardException { // find what was the encryption status before database crashed. int dbEncryptionStatus = 0; String dbEncryptionStatusStr = properties.getProperty(RawStoreFactory.DB_ENCRYPTI...
public void handleIncompleteDatabaseEncryption(Properties properties) throws StandardException { // find what was the encryption status before database crashed. int dbEncryptionStatus = 0; String dbEncryptionStatusStr = properties.getProperty(RawStoreFactory.DB_ENCRYPTI...
1,105,649
public void handleIncompleteDatabaseEncryption(Properties properties) throws StandardException { // find what was the encryption status before database crashed. int dbEncryptionStatus = 0; String dbEncryptionStatusStr = properties.getProperty(RawStoreFactory.DB_ENCRYPTI...
public void handleIncompleteDatabaseEncryption(Properties properties) throws StandardException { // find what was the encryption status before database crashed. int dbEncryptionStatus = 0; String dbEncryptionStatusStr = properties.getProperty(RawStoreFactory.DB_ENCRYPTI...
1,105,650
public void handleIncompleteDatabaseEncryption(Properties properties) throws StandardException { // find what was the encryption status before database crashed. int dbEncryptionStatus = 0; String dbEncryptionStatusStr = properties.getProperty(RawStoreFactory.DB_ENCRYPTI...
public void handleIncompleteDatabaseEncryption(Properties properties) throws StandardException { // find what was the encryption status before database crashed. int dbEncryptionStatus = 0; String dbEncryptionStatusStr = properties.getProperty(RawStoreFactory.DB_ENCRYPTI...
1,105,651
public GenericPreparedStatement(Statement st) { this(); statement = st; }
public GenericPreparedStatement(Statement st) { this(); statement = st; }
1,105,652
public GenericPreparedStatement(Statement st) { this(); statement = st; }
public GenericPreparedStatement(Statement st) { this(); UUIDValue = uuidFactory.createUUID(); UUIDString = UUIDValue.toString(); spsAction = false; }
1,105,653
GenericStorablePreparedStatement(Statement stmt) { super(stmt); }
public GenericStorablePreparedStatement() { super(stmt); }
1,105,654
GenericStorablePreparedStatement(Statement stmt) { super(stmt); }
GenericStorablePreparedStatement(Statement stmt) { super(); }
1,105,655
public void testGetStreamTwice(Connection conn) throws SQLException, IOException { Statement st = null; ResultSet rs = null; InputStream is = null; try{ st = conn.createStatement(); rs = st.executeQuery("select " + colName + " "+ "from " + tableName); rs.next()...
public void testGetStreamTwice(Connection conn) throws SQLException, IOException { Statement st = null; ResultSet rs = null; InputStream is = null; try{ st = conn.createStatement(); rs = st.executeQuery("select " + colName + " "+ "from " + tableName); rs.next()...
1,105,656
public void testGetReaderTwice( Connection conn ) throws SQLException, IOException { Statement st = null; ResultSet rs = null; Reader reader = null; try{ st = conn.createStatement(); rs = st.executeQuery( "select " + colName + " " + "from " + tableName ); rs...
public void testGetReaderTwice( Connection conn ) throws SQLException, IOException { Statement st = null; ResultSet rs = null; Reader reader = null; try{ st = conn.createStatement(); rs = st.executeQuery( "select " + colName + " " + "from " + tableName ); rs...
1,105,657
public ExecRow getCurrentRow() throws StandardException { ExecRow result = null; if (SanityManager.DEBUG) SanityManager.ASSERT(isOpen, "TSRS expected to be open"); if (currentRowPrescanned) return currentRow; /* Nothing to do if we're not currently on a row or * if the current row get deleted out from un...
public ExecRow getCurrentRow() throws StandardException { ExecRow result = null; if (SanityManager.DEBUG) SanityManager.ASSERT(isOpen, "TSRS expected to be open"); if (currentRowPrescanned) return currentRow; /* Nothing to do if we're not currently on a row or * if the current row get deleted out from un...
1,105,658
public ExecRow getCurrentRow() throws StandardException { ExecRow result = null; if (SanityManager.DEBUG) SanityManager.ASSERT(isOpen, "TSRS expected to be open"); if (currentRowPrescanned) return currentRow; /* Nothing to do if we're not currently on a row or * if the current row get deleted out from un...
public ExecRow getCurrentRow() throws StandardException { ExecRow result = null; if (SanityManager.DEBUG) SanityManager.ASSERT(isOpen, "TSRS expected to be open"); if (currentRowPrescanned) return currentRow; /* Nothing to do if we're not currently on a row or * if the current row get deleted out from un...
1,105,659
public RowLocation getRowLocation() throws StandardException { RowLocation rl; if (! isOpen) return null; if ( ! scanControllerOpened) return null; /* ** If the conglomerate is keyed, the row location of the base row ** is in the last column of the current row. If it's not keyed, ** we get the row location f...
public RowLocation getRowLocation() throws StandardException { RowLocation rl; if (! isOpen) return null; if ( ! scanControllerOpened) return null; /* ** If the conglomerate is keyed, the row location of the base row ** is in the last column of the current row. If it's not keyed, ** we get the row location f...
1,105,660
protected void checkJBMSToString() throws Exception { clearConnections(); // Open ten connections rather than just two to // try and catch any odd uniqueness bugs. Still // no guarantee but is better than just two. int numConnections = 10; for ( int i = 0 ; i < numConne...
protected static void checkJBMSToString() throws Exception { clearConnections(); // Open ten connections rather than just two to // try and catch any odd uniqueness bugs. Still // no guarantee but is better than just two. int numConnections = 10; for ( int i = 0 ; i < n...
1,105,661