bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public NestedLoopLeftOuterJoinResultSet( NoPutResultSet leftResultSet, int leftNumCols, NoPutResultSet rightResultSet, int rightNumCols, Activation activation, GeneratedMethod restriction, int resultSetNumber, GeneratedMethod emptyRowFun, boolean wasRightOuterJoin, ... | NestedLoopLeftOuterJoinResultSet( NoPutResultSet leftResultSet, int leftNumCols, NoPutResultSet rightResultSet, int rightNumCols, Activation activation, GeneratedMethod restriction, int resultSetNumber, GeneratedMethod emptyRowFun, boolean wasRightOuterJoin, bool... | 1,106,410 |
public NestedLoopLeftOuterJoinResultSet( NoPutResultSet leftResultSet, int leftNumCols, NoPutResultSet rightResultSet, int rightNumCols, Activation activation, GeneratedMethod restriction, int resultSetNumber, GeneratedMethod emptyRowFun, boolean wasRightOuterJoin, ... | public NestedLoopLeftOuterJoinResultSet( NoPutResultSet leftResultSet, int leftNumCols, NoPutResultSet rightResultSet, int rightNumCols, Activation activation, GeneratedMethod restriction, int resultSetNumber, GeneratedMethod emptyRowFun, boolean wasRightOuterJoin, ... | 1,106,411 |
public NestedLoopLeftOuterJoinResultSet( NoPutResultSet leftResultSet, int leftNumCols, NoPutResultSet rightResultSet, int rightNumCols, Activation activation, GeneratedMethod restriction, int resultSetNumber, GeneratedMethod emptyRowFun, boolean wasRightOuterJoin, ... | public NestedLoopLeftOuterJoinResultSet( NoPutResultSet leftResultSet, int leftNumCols, NoPutResultSet rightResultSet, int rightNumCols, Activation activation, GeneratedMethod restriction, int resultSetNumber, GeneratedMethod emptyRowFun, boolean wasRightOuterJoin, ... | 1,106,412 |
public void verifyProperties(DataDictionary dDictionary) throws StandardException { if (tableProperties == null) { return; } /* Check here for: * invalid properties key * index and constraint properties * non-existent index * non-existent constraint * invalid joinStrategy * invalid value for h... | public void verifyProperties(DataDictionary dDictionary) throws StandardException { if (tableProperties == null) { return; } /* Check here for: * invalid properties key * index and constraint properties * non-existent index * non-existent constraint * invalid joinStrategy * invalid value for h... | 1,106,413 |
public void verifyProperties(DataDictionary dDictionary) throws StandardException { if (tableProperties == null) { return; } /* Check here for: * invalid properties key * index and constraint properties * non-existent index * non-existent constraint * invalid joinStrategy * invalid value for h... | public void verifyProperties(DataDictionary dDictionary) throws StandardException { if (tableProperties == null) { return; } /* Check here for: * invalid properties key * index and constraint properties * non-existent index * non-existent constraint * invalid joinStrategy * invalid value for h... | 1,106,414 |
public void verifyProperties(DataDictionary dDictionary) throws StandardException { if (tableProperties == null) { return; } /* Check here for: * invalid properties key * index and constraint properties * non-existent index * non-existent constraint * invalid joinStrategy * invalid value for h... | public void verifyProperties(DataDictionary dDictionary) throws StandardException { if (tableProperties == null) { return; } /* Check here for: * invalid properties key * index and constraint properties * non-existent index * non-existent constraint * invalid joinStrategy * invalid value for h... | 1,106,415 |
protected DRDAResultSet(ResultSet rs) throws SQLException { setResultSet(rs); state = NOT_OPENED; } | protected DRDAResultSet() { setResultSet(rs); state = NOT_OPENED; } | 1,106,417 |
protected DRDAResultSet(ResultSet rs) throws SQLException { setResultSet(rs); state = NOT_OPENED; } | protected DRDAResultSet(ResultSet rs) throws SQLException { state = NOT_OPENED; } | 1,106,418 |
public JavaValueNode bindExpression( FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { // for a function we can get called recursively if (alreadyBound) return this; bindParameters(fromList, subqueryList, aggregateVector); /* If javaClassName is null then we ... | public JavaValueNode bindExpression( FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { // for a function we can get called recursively if (alreadyBound) return this; bindParameters(fromList, subqueryList, aggregateVector); /* If javaClassName is null then we ... | 1,106,419 |
public CallableStatement40(Agent agent, Connection connection, String sql, int type, int concurrency, int holdability) throws SqlException { super(agent, connection, sql, type, concurrency, holdability); ps = new PreparedStatement40(agent, connection, sql, type, concurrency, holda... | public CallableStatement40(Agent agent, Connection connection, String sql, int type, int concurrency, int holdability) throws SqlException { super(agent, connection, sql, type, concurrency, holdability); ps = new PreparedStatement40(agent, connection, sql, type, concurrency, holda... | 1,106,420 |
protected void checksBeforeInsert() throws SQLException { // 1)Make sure this is an updatable ResultSet // if not updatable resultset, then throw exception checkUpdatableCursor("insertRow"); // 2)Make sure JDBC ResultSet is not closed checkIfClosed("insertRow"); // 3)Make s... | protected void checksBeforeInsert() throws SQLException { // 1)Make sure this is an updatable ResultSet // if not updatable resultset, then throw exception checkUpdatableCursor("insertRow"); // 2)Make sure JDBC ResultSet is not closed // 3)Make sure JDBC ResultSet is posit... | 1,106,422 |
protected void checksBeforeUpdateOrDelete(String methodName, int columnIndex) throws SQLException { //1)Make sure this is an updatable ResultSet checkUpdatableCursor(methodName); //2)Make sure JDBC ResultSet is not closed checkIfClosed(methodName); //3)Make sure JDBC ResultSet is positioned on... | protected void checksBeforeUpdateOrDelete(String methodName, int columnIndex) throws SQLException { //1)Make sure this is an updatable ResultSet checkUpdatableCursor(methodName); //2)Make sure JDBC ResultSet is not closed //3)Make sure JDBC ResultSet is positioned on a row checkOnRow(); ... | 1,106,424 |
public final Statement getStatement() { return applicationStmt; } | public final Statement getStatement() throws SQLException { return applicationStmt; } | 1,106,429 |
public void moveToCurrentRow() throws SQLException { // if not updatable resultset, then throw exception checkUpdatableCursor("moveToCurrentRow"); checkExecIfClosed("moveToCurrentRow"); synchronized (getConnectionSynchronization()) { try { if (isOnInsertRow) { // Get position previous to moveToInsertRow ... | public void moveToCurrentRow() throws SQLException { // if not updatable resultset, then throw exception checkUpdatableCursor("moveToCurrentRow"); synchronized (getConnectionSynchronization()) { try { if (isOnInsertRow) { // Get position previous to moveToInsertRow currentRow = currentRowBeforeInsert... | 1,106,432 |
public void moveToInsertRow() throws SQLException { // if not updatable resultset, then throw exception checkUpdatableCursor("moveToInsertRow"); checkExecIfClosed("moveToInsertRow"); synchronized (getConnectionSynchronization()) { try { // initialize state corresponding to insertRow/updateRow impl. for (in... | public void moveToInsertRow() throws SQLException { // if not updatable resultset, then throw exception checkUpdatableCursor("moveToInsertRow"); synchronized (getConnectionSynchronization()) { try { // initialize state corresponding to insertRow/updateRow impl. for (int i=0; i < columnGotUpdated.length; i... | 1,106,433 |
public static Test defaultSuite(Class testClass) { final TestSuite suite = new TestSuite(suiteName(testClass)); suite.addTest(new CleanDatabaseTestSetup(embeddedSuite(testClass))); suite.addTest(new CleanDatabaseTestSetup(clientServerSuite(testClass))); return (su... | public static Test defaultSuite(Class testClass) { final TestSuite suite = new TestSuite(suiteName(testClass)); suite.addTest(new CleanDatabaseTestSetup(embeddedSuite(testClass))); suite.addTest(new CleanDatabaseTestSetup(clientServerSuite(testClass))); return (su... | 1,106,439 |
public void setProperties(Properties props) throws StandardException { properties = props; /* ** Validate the properties list now. This is possible because ** there is nothing in this properties list that relies on binding ** or optimization to validate. */ Enumeration enum = properties.keys(); while (enum.ha... | public void setProperties(Properties props) throws StandardException { properties = props; /* ** Validate the properties list now. This is possible because ** there is nothing in this properties list that relies on binding ** or optimization to validate. */ Enumeration enum = properties.keys(); while (enum.ha... | 1,106,440 |
public void setProperties(Properties props) throws StandardException { properties = props; /* ** Validate the properties list now. This is possible because ** there is nothing in this properties list that relies on binding ** or optimization to validate. */ Enumeration enum = properties.keys(); while (enum.ha... | public void setProperties(Properties props) throws StandardException { properties = props; /* ** Validate the properties list now. This is possible because ** there is nothing in this properties list that relies on binding ** or optimization to validate. */ Enumeration enum = properties.keys(); while (enum.ha... | 1,106,441 |
public void doTag(XMLOutput output) { if (question != null) { if (defaultInput != null) { System.out.println(question + " [" + defaultInput + "]"); } else { System.out.println(question); } // ... | public void doTag(XMLOutput output) { if (question != null) { if (defaultInput != null) { System.out.println(question + " [" + defaultInput + "]"); } else { System.out.println(question); } // ... | 1,106,443 |
public void doTag(XMLOutput output) { if (question != null) { if (defaultInput != null) { System.out.println(question + " [" + defaultInput + "]"); } else { System.out.println(question); } // ... | public void doTag(XMLOutput output) { if (question != null) { if (defaultInput != null) { System.out.println(question + " [" + defaultInput + "]"); } else { System.out.println(question); } // ... | 1,106,444 |
public void doTag(XMLOutput output) { if (question != null) { if (defaultInput != null) { System.out.println(question + " [" + defaultInput + "]"); } else { System.out.println(question); } // ... | public void doTag(XMLOutput output) { if (question != null) { if (defaultInput != null) { System.out.println(question + " [" + defaultInput + "]"); } else { System.out.println(question); } // ... | 1,106,445 |
Cacheable newContainerObject() { if( supportsRandomAccess) return rafContainerFactory.newRAFContainer(this); else return new InputStreamContainer( this); } | Cacheable newContainerObject() { if( supportsRandomAccess) return newRAFContainer(this); else return new InputStreamContainer( this); } | 1,106,446 |
private int getScanArguments(ExpressionClassBuilder acb, MethodBuilder mb) throws StandardException { // get a function to allocate scan rows of the right shape and size MethodBuilder resultRowAllocator = resultColumns.generateHolderMethod(acb, referencedCols, (Fo... | private int getScanArguments(ExpressionClassBuilder acb, MethodBuilder mb) throws StandardException { // get a function to allocate scan rows of the right shape and size MethodBuilder resultRowAllocator = resultColumns.generateHolderMethod(acb, referencedCols, (Fo... | 1,106,447 |
private int getScanArguments(ExpressionClassBuilder acb, MethodBuilder mb) throws StandardException { // get a function to allocate scan rows of the right shape and size MethodBuilder resultRowAllocator = resultColumns.generateHolderMethod(acb, referencedCols, (Fo... | private int getScanArguments(ExpressionClassBuilder acb, MethodBuilder mb) throws StandardException { // get a function to allocate scan rows of the right shape and size MethodBuilder resultRowAllocator = resultColumns.generateHolderMethod(acb, referencedCols, (Fo... | 1,106,448 |
private boolean willTickleServer(int number, boolean allowAutoCommits) throws SqlException { boolean requiresAutocommit = false; if (resultSetList_ != null) { for (int i = 0; i < number; i++) { if (resultSetList_[i] != null) { if (resultSetList_[i].openOnSe... | private boolean willTickleServer(int number, boolean allowAutoCommits) throws SqlException { boolean requiresAutocommit = false; if (resultSetList_ != null) { for (int i = 0; i < number; i++) { if (resultSetList_[i] != null) { if (resultSetList_[i].openOnSe... | 1,106,449 |
public SystemColumn[] buildColumnList() { if (columnList == null) { columnList = new SystemColumn[ COLUMN_COUNT]; columnList[ SYSROUTINEPERMS_ROUTINPERMSID - 1] = new SystemColumnImpl( convertIdCase( "ROUTINEPERMSID"), SYSROUTINEPERMS... | public SystemColumn[] buildColumnList() { if (columnList == null) { columnList = new SystemColumn[ COLUMN_COUNT]; columnList[ ROUTINPERMSID_COL_NUM - 1] = new SystemColumnImpl( convertIdCase( "ROUTINEPERMSID"), SYSROUTINEPERMS_ROUTINP... | 1,106,450 |
public SystemColumn[] buildColumnList() { if (columnList == null) { columnList = new SystemColumn[ COLUMN_COUNT]; columnList[ SYSROUTINEPERMS_ROUTINPERMSID - 1] = new SystemColumnImpl( convertIdCase( "ROUTINEPERMSID"), SYSROUTINEPERMS... | public SystemColumn[] buildColumnList() { if (columnList == null) { columnList = new SystemColumn[ COLUMN_COUNT]; columnList[ SYSROUTINEPERMS_ROUTINPERMSID - 1] = new SystemColumnImpl( convertIdCase( "ROUTINEPERMSID"), ROUTINPERMSID_C... | 1,106,451 |
public TupleDescriptor buildDescriptor(ExecRow row, TupleDescriptor parentTuple, DataDictionary dataDictionary) throws StandardException { if( SanityManager.DEBUG) SanityManager.ASSERT( row.nColumns() == COLUMN_CO... | public TupleDescriptor buildDescriptor(ExecRow row, TupleDescriptor parentTuple, DataDictionary dataDictionary) throws StandardException { if( SanityManager.DEBUG) SanityManager.ASSERT( row.nColumns() == COLUMN_CO... | 1,106,452 |
public ExecRow makeRow(TupleDescriptor td, TupleDescriptor parent) throws StandardException { UUID oid; String routinePermID = null; DataValueDescriptor grantee = null; DataValueDescriptor grantor = null; String routineID = null; if( td == null) { grantee =... | public ExecRow makeRow(TupleDescriptor td, TupleDescriptor parent) throws StandardException { UUID oid; String routinePermID = null; DataValueDescriptor grantee = null; DataValueDescriptor grantor = null; String routineID = null; if( td == null) { grantee =... | 1,106,455 |
public int getQueryTimeout() throws SQLException { // Currently Cloudscape does not support any sort of timeout, so always // return 0, which means that timeout is unlimited. return(0); } | public int getQueryTimeout() throws SQLException { // Currently Cloudscape does not support any sort of timeout, so always // return 0, which means that timeout is unlimited. return(0); } | 1,106,458 |
public void setQueryTimeout(int seconds) throws SQLException { if (seconds != 0) throw Util.notImplemented("setQueryTimeout"); } | public void setQueryTimeout(int seconds) throws SQLException { if (seconds != 0) throw Util.notImplemented("setQueryTimeout"); } | 1,106,459 |
protected Vector getDefaultImplementations() { InputStream is = loadModuleDefinitions(); if (is == null) { if (SanityManager.DEBUG) report("Default implementation list not found"); return null; } Properties moduleList = new Properties(); try { moduleList.load(is); } catch (IOException ioe) { if (Sanit... | protected Vector getDefaultImplementations() { Properties moduleList = new Properties(); boolean firstList = true; if (is == null) { if (SanityManager.DEBUG) report("Default implementation list not found"); return null; } Properties moduleList = new Properties(); try { moduleList.load(is); } catch (IOEx... | 1,106,460 |
protected Vector getDefaultImplementations() { InputStream is = loadModuleDefinitions(); if (is == null) { if (SanityManager.DEBUG) report("Default implementation list not found"); return null; } Properties moduleList = new Properties(); try { moduleList.load(is); } catch (IOException ioe) { if (Sanit... | protected Vector getDefaultImplementations() { InputStream is = loadModuleDefinitions(); try { for( Enumeration e = ClassLoader.getSystemResources( "org/apache/derby/modules.properties"); e.hasMoreElements() ;) { URL modulesPropertiesURL = (URL) e.nextElement(); InputStream is = null; try { is = loadModuleDefinition... | 1,106,461 |
protected Vector getDefaultImplementations() { InputStream is = loadModuleDefinitions(); if (is == null) { if (SanityManager.DEBUG) report("Default implementation list not found"); return null; } Properties moduleList = new Properties(); try { moduleList.load(is); } catch (IOException ioe) { if (Sanit... | protected Vector getDefaultImplementations() { InputStream is = loadModuleDefinitions(); if (is == null) { if (SanityManager.DEBUG) report("Default implementation list not found"); return null; } Properties moduleList = new Properties(); try { moduleList.load(is); } catch (IOException ioe) { if (Sanit... | 1,106,462 |
protected Vector getImplementations(Properties moduleList, boolean actualModuleList) { if (moduleList == null) return null; Vector implementations = actualModuleList ? new Vector(moduleList.size()) : new Vector(0,1); Class persistentServiceClass = PersistentService.class; // Get my current JDK environment int t... | protected Vector getImplementations(Properties moduleList, boolean actualModuleList) { if (moduleList == null) return null; Vector implementations = actualModuleList ? new Vector(moduleList.size()) : new Vector(0,1); // Get my current JDK environment int theJDKId = JVMInfo.JDK_ID; int[] envModuleCount = new i... | 1,106,463 |
protected Vector getImplementations(Properties moduleList, boolean actualModuleList) { if (moduleList == null) return null; Vector implementations = actualModuleList ? new Vector(moduleList.size()) : new Vector(0,1); Class persistentServiceClass = PersistentService.class; // Get my current JDK environment int t... | protected Vector getImplementations(Properties moduleList, boolean actualModuleList) { if (moduleList == null) return null; Vector implementations = actualModuleList ? new Vector(moduleList.size()) : new Vector(0,1); Class persistentServiceClass = PersistentService.class; // Get my current JDK environment int t... | 1,106,464 |
protected Vector getImplementations(Properties moduleList, boolean actualModuleList) { if (moduleList == null) return null; Vector implementations = actualModuleList ? new Vector(moduleList.size()) : new Vector(0,1); Class persistentServiceClass = PersistentService.class; // Get my current JDK environment int t... | protected Vector getImplementations(Properties moduleList, boolean actualModuleList) { if (moduleList == null) return null; Vector implementations = actualModuleList ? new Vector(moduleList.size()) : new Vector(0,1); Class persistentServiceClass = PersistentService.class; // Get my current JDK environment int t... | 1,106,465 |
private String getStorageFactoryClassName( Properties properties, String subSubProtocol) { String propertyName = Property.SUB_SUB_PROTOCOL_PREFIX + subSubProtocol; String className = null; if( properties != null) className = properties.getProperty( propertyName); if( classN... | private String getStorageFactoryClassName( Properties properties, String subSubProtocol) { String propertyName = Property.SUB_SUB_PROTOCOL_PREFIX + subSubProtocol; String className = null; if( properties != null) className = properties.getProperty( propertyName); if( classN... | 1,106,466 |
protected InputStream loadModuleDefinitions() { // SECURITY PERMISSION - IP1 return getClass().getResourceAsStream("/org/apache/derby/modules.properties"); } | protected InputStream loadModuleDefinitions( URL propertyFileURL) throws IOException { // SECURITY PERMISSION - IP1 return getClass().getResourceAsStream("/org/apache/derby/modules.properties"); } | 1,106,467 |
protected InputStream loadModuleDefinitions() { // SECURITY PERMISSION - IP1 return getClass().getResourceAsStream("/org/apache/derby/modules.properties"); } | protected InputStream loadModuleDefinitions() { // SECURITY PERMISSION - IP1 return propertyFileURL.openStream(); } | 1,106,468 |
public void updateBinaryStream(int column, java.io.InputStream x, int length) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.trace... | public void updateBinaryStream(int column, java.io.InputStream x, int length) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.trace... | 1,106,469 |
public static void largeTest(String[] args) throws Exception{ System.out.println("connecting"); Connection conn = connectAndCreate("LOBdb"); Statement s = conn.createStatement(); try { System.out.println("dropping"); s.executeUpdate("DROP TABLE atable"); } catch (Exception e) { } System.out.println("creatin... | public static void largeTest(String[] args) throws Exception{ System.out.println("connecting"); Connection conn = connectAndCreate("LOBdb"); Statement s = conn.createStatement(); try { System.out.println("dropping"); s.executeUpdate("DROP TABLE atable"); } catch (Exception e) { } System.out.println("creatin... | 1,106,470 |
static Test suite(boolean callable) { TestSuite suite = new TestSuite("SetObjectUnsupportedTest suite"); for (TypeInfo typeInfo : TYPES) { suite.addTest(new SetObjectUnsupportedTest ("testUnsupportedSetObject", typeInfo, callable)); suite.addTest(new SetO... | public static Test suite() { TestSuite suite = new TestSuite("SetObjectUnsupportedTest suite"); for (TypeInfo typeInfo : TYPES) { suite.addTest(new SetObjectUnsupportedTest ("testUnsupportedSetObject", typeInfo, callable)); suite.addTest(new SetObjectUnsu... | 1,106,471 |
static Test suite(boolean callable) { TestSuite suite = new TestSuite("SetObjectUnsupportedTest suite"); for (TypeInfo typeInfo : TYPES) { suite.addTest(new SetObjectUnsupportedTest ("testUnsupportedSetObject", typeInfo, callable)); suite.addTest(new SetO... | static Test suite(boolean callable) { TestSuite suite = new TestSuite("SetObjectUnsupportedTest suite"); for (TypeInfo typeInfo : TYPES) { suite.addTest(new SetObjectUnsupportedTest ("testUnsupportedSetObject", typeInfo, callable)); suite.addTest(new SetO... | 1,106,472 |
void runConsistencyChecker(String dbName) throws SQLException { Connection conn = DriverManager.getConnection("jdbc:derby:" + dbName); Statement stmt = conn.createStatement(); stmt.execute("values SYSCS_UTIL.SYSCS_CHECK_TABLE('APP', 'EMP')"); //TO DO : Consistency check all the tables including the system tables.... | void runConsistencyChecker(String dbName) throws SQLException { Connection conn = getConnection(); Statement stmt = conn.createStatement(); stmt.execute("values SYSCS_UTIL.SYSCS_CHECK_TABLE('APP', 'EMP')"); //TO DO : Consistency check all the tables including the system tables. conn.close(); } | 1,106,473 |
private void runTest() throws SQLException, Exception { logMessage("Begin Online Backup Test1"); Connection conn = ij.startJBMS(); conn.setAutoCommit(false); DatabaseActions dbActions = new DatabaseActions(conn); //create the test table. dbActions.createTable(TEST_TABLE_NAME); dbActions.startUnloggedAction(TE... | private void runTest() throws SQLException, Exception { logMessage("Begin Online Backup Test1"); Connection conn = ij.startJBMS(); conn.setAutoCommit(false); DatabaseActions dbActions = new DatabaseActions(conn); //create the test table. dbActions.createTable(TEST_TABLE_NAME); dbActions.startUnloggedAction(TE... | 1,106,474 |
private void runTest() throws SQLException, Exception { logMessage("Begin Online Backup Test1"); Connection conn = ij.startJBMS(); conn.setAutoCommit(false); DatabaseActions dbActions = new DatabaseActions(conn); //create the test table. dbActions.createTable(TEST_TABLE_NAME); dbActions.startUnloggedAction(TE... | private void runTest() throws SQLException, Exception { logMessage("Begin Online Backup Test1"); Connection conn = ij.startJBMS(); conn.setAutoCommit(false); DatabaseActions dbActions = new DatabaseActions(conn); //create the test table. dbActions.createTable(TEST_TABLE_NAME); dbActions.startUnloggedAction(TE... | 1,106,475 |
void shutdown(String dbName) { try{ // shutdown Connection conn = DriverManager.getConnection("jdbc:derby:" + dbName + ";shutdown=true"); }catch(SQLException se){ if (se.getSQLState() != null && se.getSQLState().equals("08006")) System.out.println("database shutdown properly"); else dumpSQLExcepti... | void shutdown(String dbName) { try{ // shutdown Connection conn = DriverManager.getConnection("jdbc:derby:" + dbName + ";shutdown=true"); }catch(SQLException se){ if (se.getSQLState() != null && se.getSQLState().equals("08006")) System.out.println("database shutdown properly"); else dumpSQLExcepti... | 1,106,477 |
private void dropColumnFromTable(Activation activation, int ix) throws StandardException { LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDataDictionary(); DependencyManager dm = dd.getDependencyManager(); TransactionController tc = lcc.getTr... | private void dropColumnFromTable(Activation activation, int ix) throws StandardException { LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDataDictionary(); DependencyManager dm = dd.getDependencyManager(); TransactionController tc = lcc.getTr... | 1,106,479 |
private void dropColumnFromTable(Activation activation, int ix) throws StandardException { LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDataDictionary(); DependencyManager dm = dd.getDependencyManager(); TransactionController tc = lcc.getTr... | private void dropColumnFromTable(Activation activation, int ix) throws StandardException { LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDataDictionary(); DependencyManager dm = dd.getDependencyManager(); TransactionController tc = lcc.getTr... | 1,106,480 |
private void dropColumnFromTable(Activation activation, int ix) throws StandardException { LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDataDictionary(); DependencyManager dm = dd.getDependencyManager(); TransactionController tc = lcc.getTr... | private void dropColumnFromTable(Activation activation, int ix) throws StandardException { LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDataDictionary(); DependencyManager dm = dd.getDependencyManager(); TransactionController tc = lcc.getTr... | 1,106,481 |
private void getAffectedIndexes(Activation activation) throws StandardException { IndexLister indexLister = td.getIndexLister( ); /* We have to get non-distinct index row generaters and conglom numbers * here and then compress it to distinct later because drop column * will need to change the index descriptor d... | private void getAffectedIndexes(Activation activation) throws StandardException { IndexLister indexLister = td.getIndexLister( ); /* We have to get non-distinct index row generaters and conglom numbers * here and then compress it to distinct later because drop column * will need to change the index descriptor d... | 1,106,482 |
public static void main(String[] args) throws Exception { Properties p = new Properties(); File dir = new File(args[0]); File source = new File(args[1]); String s = source.getName(); // loose the suffix s = s.substring(0, s.lastIndexOf('.')); // now get the locale String locale = s.substring(s.indexOf('_')); ... | public static void main(String[] args) throws Exception { Properties p = new Properties(); File dir = new File(args[0]); File source = new File(args[1]); String s = source.getName(); // loose the suffix s = s.substring(0, s.lastIndexOf('.')); // now get the locale String locale = s.substring(s.indexOf('_')); ... | 1,106,483 |
public static void assertEquals(Blob b1, Blob b2) { if (b1 == null || b2 == null) { assertNull("Blob b2 is null, b1 is not", b1); assertNull("Blob b1 is null, b2 is not", b2); return; } InputStream is1 = null, is2 = null; try { assertEquals("Bl... | public static void assertEquals(Blob b1, Blob b2) throws IOException, SQLException { if (b1 == null || b2 == null) { assertNull("Blob b2 is null, b1 is not", b1); assertNull("Blob b1 is null, b2 is not", b2); return; } InputStream is1 = null, is2 = null; ... | 1,106,484 |
public static void assertEquals(Blob b1, Blob b2) { if (b1 == null || b2 == null) { assertNull("Blob b2 is null, b1 is not", b1); assertNull("Blob b1 is null, b2 is not", b2); return; } InputStream is1 = null, is2 = null; try { assertEquals("Bl... | public static void assertEquals(Blob b1, Blob b2) { if (b1 == null || b2 == null) { assertNull("Blob b2 is null, b1 is not", b1); assertNull("Blob b1 is null, b2 is not", b2); return; } InputStream is1 = null, is2 = null; try { assertEquals("Bl... | 1,106,485 |
public static void assertEquals(Blob b1, Blob b2) { if (b1 == null || b2 == null) { assertNull("Blob b2 is null, b1 is not", b1); assertNull("Blob b1 is null, b2 is not", b2); return; } InputStream is1 = null, is2 = null; try { assertEquals("Bl... | public static void assertEquals(Blob b1, Blob b2) { if (b1 == null || b2 == null) { assertNull("Blob b2 is null, b1 is not", b1); assertNull("Blob b1 is null, b2 is not", b2); return; } InputStream is1 = null, is2 = null; try { assertEquals("Bl... | 1,106,486 |
public static void assertEquals(Blob b1, Blob b2) { if (b1 == null || b2 == null) { assertNull("Blob b2 is null, b1 is not", b1); assertNull("Blob b1 is null, b2 is not", b2); return; } InputStream is1 = null, is2 = null; try { assertEquals("Bl... | public static void assertEquals(Blob b1, Blob b2) { if (b1 == null || b2 == null) { assertNull("Blob b2 is null, b1 is not", b1); assertNull("Blob b1 is null, b2 is not", b2); return; } InputStream is1 = null, is2 = null; try { assertEquals("Bl... | 1,106,487 |
public ResultSet getProcedures(String catalog, String schemaPattern, String procedureNamePattern) throws SQLException { return doGetProcs(catalog, schemaPattern, procedureNamePattern, "getProcedures"); } | public ResultSet getProcedures(String catalog, String schemaPattern, String procedureNamePattern) throws SQLException { return doGetProcs(catalog, schemaPattern, procedureNamePattern, "getProcedures40"); } | 1,106,488 |
protected void checkSQLState(Method method, SQLException sqle) throws SQLException { if (sqle instanceof ClientInfoException && method.getName().equals("setClientInfo") && Arrays.asList(method.getParameterTypes()) .equals(Arrays.asList(ne... | protected void checkSQLState(Method method, SQLException sqle) throws SQLException { if (sqle instanceof SQLClientInfoException && method.getName().equals("setClientInfo") && Arrays.asList(method.getParameterTypes()) .equals(Arrays.asList... | 1,106,489 |
public void commit(Xid xid, boolean onePhase) throws XAException { NetAgent netAgent = conn_.netAgent_; int rc = XAResource.XA_OK; exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "commit", xid, onePhase); } ... | public void commit(Xid xid, boolean onePhase) throws XAException { NetAgent netAgent = conn_.netAgent_; int rc = XAResource.XA_OK; exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "commit", xid, onePhase); } ... | 1,106,490 |
public void commit(Xid xid, boolean onePhase) throws XAException { NetAgent netAgent = conn_.netAgent_; int rc = XAResource.XA_OK; exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "commit", xid, onePhase); } ... | public void commit(Xid xid, boolean onePhase) throws XAException { NetAgent netAgent = conn_.netAgent_; int rc = XAResource.XA_OK; exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "commit", xid, onePhase); } ... | 1,106,491 |
public void end(Xid xid, int flags) throws XAException { NetAgent netAgent = conn_.netAgent_; int rc = XAResource.XA_OK; exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "end", xid, flags); } if (conn_.isPhysica... | public void end(Xid xid, int flags) throws XAException { NetAgent netAgent = conn_.netAgent_; int rc = XAResource.XA_OK; exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "end", xid, flags); } if (conn_.isPhysica... | 1,106,492 |
public void forget(Xid xid) throws XAException { NetAgent netAgent = conn_.netAgent_; int rc = XAResource.XA_OK; exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "forget", xid); } if (conn_.isPhysicallyClosed())... | public void forget(Xid xid) throws XAException { NetAgent netAgent = conn_.netAgent_; int rc = XAResource.XA_OK; exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "forget", xid); } if (conn_.isPhysicalConnClosed(... | 1,106,493 |
public int getTransactionTimeout() throws XAException { if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "getTransactionTimeout"); } exceptionsOnXA = null; if (conn_.isPhysicallyClosed()) { connectionClosedFailure(); } if (... | public int getTransactionTimeout() throws XAException { if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "getTransactionTimeout"); } exceptionsOnXA = null; if (conn_.isPhysicalConnClosed()) { connectionClosedFailure(); } if... | 1,106,494 |
public boolean isSameRM(XAResource xares) throws XAException { boolean isSame = false; // preset that the RMs are NOT the same exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "isSameRM", xares); } if (conn_.isPhysical... | public boolean isSameRM(XAResource xares) throws XAException { boolean isSame = false; // preset that the RMs are NOT the same exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "isSameRM", xares); } if (conn_.isPhysical... | 1,106,495 |
public int prepare(Xid xid) throws XAException { // public interface for prepare // just call prepareX with the recursion flag set to true exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "prepare", xid); } if (conn_.i... | public int prepare(Xid xid) throws XAException { // public interface for prepare // just call prepareX with the recursion flag set to true exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "prepare", xid); } if (conn_.i... | 1,106,496 |
public Xid[] recover(int flag) throws XAException { int rc = XAResource.XA_OK; NetAgent netAgent = conn_.netAgent_; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "recover", flag); } exceptionsOnXA = null; if (conn_.isPhysicallyClos... | public Xid[] recover(int flag) throws XAException { int rc = XAResource.XA_OK; NetAgent netAgent = conn_.netAgent_; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "recover", flag); } exceptionsOnXA = null; if (conn_.isPhysicalConnCl... | 1,106,497 |
public void rollback(Xid xid) throws XAException { NetAgent netAgent = conn_.netAgent_; int rc = XAResource.XA_OK; exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "rollback", xid); } if (conn_.isPhysicallyClose... | public void rollback(Xid xid) throws XAException { NetAgent netAgent = conn_.netAgent_; int rc = XAResource.XA_OK; exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "rollback", xid); } if (conn_.isPhysicalConnClo... | 1,106,498 |
public void rollback(Xid xid) throws XAException { NetAgent netAgent = conn_.netAgent_; int rc = XAResource.XA_OK; exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "rollback", xid); } if (conn_.isPhysicallyClose... | public void rollback(Xid xid) throws XAException { NetAgent netAgent = conn_.netAgent_; int rc = XAResource.XA_OK; exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "rollback", xid); } if (conn_.isPhysicallyClose... | 1,106,499 |
public synchronized void start(Xid xid, int flags) throws XAException { NetAgent netAgent = conn_.netAgent_; int rc = XAResource.XA_OK; exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "start", xid, flags); } if... | public synchronized void start(Xid xid, int flags) throws XAException { NetAgent netAgent = conn_.netAgent_; int rc = XAResource.XA_OK; exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "start", xid, flags); } if... | 1,106,500 |
public synchronized void start(Xid xid, int flags) throws XAException { NetAgent netAgent = conn_.netAgent_; int rc = XAResource.XA_OK; exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "start", xid, flags); } if... | public synchronized void start(Xid xid, int flags) throws XAException { NetAgent netAgent = conn_.netAgent_; int rc = XAResource.XA_OK; exceptionsOnXA = null; if (conn_.agent_.loggingEnabled()) { conn_.agent_.logWriter_.traceEntry(this, "start", xid, flags); } if... | 1,106,501 |
public String toString() { return "tablePerms: grantee=" + getGrantee() + ",grantor=" + getGrantor() + ",tableUUID=" + getTableUUID() + ",selectPriv=" + getSelectPriv() + ",deletePriv=" + getDeletePriv() + ",insertPriv=" + getInsertPriv() + ",updatePriv=" + getUpdatePri... | public String toString() { return "tablePerms: grantee=" + getGrantee() + ",tablePermsUUID=" + getUUID() + ",grantor=" + getGrantor() + ",tableUUID=" + getTableUUID() + ",selectPriv=" + getSelectPriv() + ",deletePriv=" + getDeletePriv() + ",insertPriv=" + getInsertPriv() + ... | 1,106,502 |
private static String createPropString() throws ClassNotFoundException, FileNotFoundException, IOException { // Check for existence of app properties and/or derby.properties files // Copy the derby.properties to the db base directory // Then create the -p string for the test String p... | private static String createPropString() throws ClassNotFoundException, FileNotFoundException, IOException { // Check for existence of app properties and/or derby.properties files // Copy the derby.properties to the db base directory // Then create the -p string for the test String p... | 1,106,503 |
protected boolean isEquivalent(ValueNode o) throws StandardException { if (isSameNodeType(o)) { TernaryOperatorNode other = (TernaryOperatorNode)o; return (other.methodName.equals(methodName) && other.receiver.isEquivalent(receiver) && other.leftOperand.isEquivalent(leftOperand) && ot... | protected boolean isEquivalent(ValueNode o) throws StandardException { if (isSameNodeType(o)) { TernaryOperatorNode other = (TernaryOperatorNode)o; return (other.methodName.equals(methodName) && other.receiver.isEquivalent(receiver) && other.leftOperand.isEquivalent(leftOperand) && ( ... | 1,106,504 |
public void init(Object correlationName, Object tableProperties) { this.correlationName = (String) correlationName; this.tableProperties = (Properties) tableProperties; tableNumber = -1; optimizerToBestPlanMap = null; } | public void init(Object correlationName, Object tableProperties) { this.correlationName = (String) correlationName; this.tableProperties = (Properties) tableProperties; tableNumber = -1; bestPlanMap = null; } | 1,106,507 |
public CostEstimate optimizeIt( Optimizer optimizer, OptimizablePredicateList predList, CostEstimate outerCost, RowOrdering rowOrdering) throws StandardException { // It's possible that a call to optimize the left/right will cause // a new "truly the best" plan to be stored in the underlyin... | public CostEstimate optimizeIt( Optimizer optimizer, OptimizablePredicateList predList, CostEstimate outerCost, RowOrdering rowOrdering) throws StandardException { // It's possible that a call to optimize the left/right will cause // a new "truly the best" plan to be stored in the underlyin... | 1,106,508 |
public void rememberAsBest(int planType, Optimizer optimizer) throws StandardException { AccessPath bestPath = null; switch (planType) { case Optimizer.NORMAL_PLAN: bestPath = getBestAccessPath(); break; case Optimizer.SORT_AVOIDANCE_PLAN: bestPath = getBestSortAvoidancePath(); break; default: i... | public void rememberAsBest(int planType, Optimizer optimizer) throws StandardException { AccessPath bestPath = null; switch (planType) { case Optimizer.NORMAL_PLAN: bestPath = getBestAccessPath(); break; case Optimizer.SORT_AVOIDANCE_PLAN: bestPath = getBestSortAvoidancePath(); break; default: i... | 1,106,509 |
public void testStatementExecuteAfterConnectionClose() throws SQLException { con.close(); assertTrue("Connection should be closed after close()", con.isClosed()); try { stmt.executeQuery("select count(*) from stmtTable"); } catch (SQLException sqle) { ... | public void testStatementExecuteAfterConnectionClose() throws SQLException { con.close(); assertTrue("Connection should be closed after close()", con.isClosed()); try { stmt.executeQuery("select count(*) from stmtTable"); } catch (SQLException sqle) { ... | 1,106,510 |
public SQLException getSQLException(String message, String messageId, SQLException next, int severity, Throwable t, Object[] args) { String sqlState = StandardException.getSQLStateFromIdentifier(messageId); SQLException ex = new SQLException(message, sqlState, severity, t); if (sqlSt... | public SQLException getSQLException(String message, String messageId, SQLException next, int severity, Throwable t, Object[] args) { String sqlState = StandardException.getSQLStateFromIdentifier(messageId); t = wrapArgsForTransportAcrossDRDA( message, messageId, next, severity, t, args ); ... | 1,106,512 |
public void expandAllsAndNameColumns(FromList fromList) throws StandardException { boolean expanded = false; ResultColumnList allExpansion; String fullTableName; /* First walk result column list looking for *'s to expand */ for (int index = 0; index < size(); index++) { ResultColumn rc = (ResultColumn)... | public void expandAllsAndNameColumns(FromList fromList) throws StandardException { boolean expanded = false; ResultColumnList allExpansion; TableName fullTableName; /* First walk result column list looking for *'s to expand */ for (int index = 0; index < size(); index++) { ResultColumn rc = (ResultColu... | 1,106,513 |
public void expandAllsAndNameColumns(FromList fromList) throws StandardException { boolean expanded = false; ResultColumnList allExpansion; String fullTableName; /* First walk result column list looking for *'s to expand */ for (int index = 0; index < size(); index++) { ResultColumn rc = (ResultColumn)... | public void expandAllsAndNameColumns(FromList fromList) throws StandardException { boolean expanded = false; ResultColumnList allExpansion; String fullTableName; /* First walk result column list looking for *'s to expand */ for (int index = 0; index < size(); index++) { ResultColumn rc = (ResultColumn)... | 1,106,514 |
public NestedLoopJoinResultSet(NoPutResultSet leftResultSet, int leftNumCols, NoPutResultSet rightResultSet, int rightNumCols, Activation activation, GeneratedMethod restriction, int resultSetNumber, boolean oneRowRightSide, boolean not... | public NestedLoopJoinResultSet(NoPutResultSet leftResultSet, int leftNumCols, NoPutResultSet rightResultSet, int rightNumCols, Activation activation, GeneratedMethod restriction, int resultSetNumber, boolean oneRowRightSide, boolean not... | 1,106,515 |
public boolean autoCommitFailureClosesAllResultSets() throws SQLException { throw Util.notImplemented(); } | public boolean autoCommitFailureClosesAllResultSets() throws SQLException { return false; } | 1,106,516 |
public ResultSet getClientInfoProperties() throws SQLException { throw Util.notImplemented(); } | public ResultSet getClientInfoProperties() throws SQLException { throw Util.notImplemented(); } | 1,106,517 |
public RowIdLifetime getRowIdLifetime() throws SQLException { throw Util.notImplemented(); } | public RowIdLifetime getRowIdLifetime() throws SQLException { return RowIdLifetime.ROWID_UNSUPPORTED; } | 1,106,518 |
public ResultSet getSchemas(String catalog, String schemaPattern) throws SQLException { throw Util.notImplemented(); } | public ResultSet getSchemas(String catalog, String schemaPattern) throws SQLException { PreparedStatement s = getPreparedQuery("getSchemasWithParams"); s.setString(1, swapNull(catalog)); s.setString(2, swapNull(schemaPattern)); return s.executeQuery(); } | 1,106,519 |
public boolean providesQueryObjectGenerator() throws SQLException { throw Util.notImplemented(); } | public boolean providesQueryObjectGenerator() throws SQLException { return false; } | 1,106,520 |
public boolean supportsStoredFunctionsUsingCallSyntax() throws SQLException { throw Util.notImplemented(); } | public boolean supportsStoredFunctionsUsingCallSyntax() throws SQLException { return true; } | 1,106,521 |
public void undoMe( Transaction xact, BasePage undoPage, LogInstant CLRInstant, LimitObjectInput in) throws StandardException { if (SanityManager.DEBUG) { SanityManager.ASSERT(undoPage != null, "undo Page null"); SanityManager.ASSERT( undoPage... | public void undoMe( Transaction xact, BasePage undoPage, LogInstant CLRInstant, LimitObjectInput in) throws StandardException { if (SanityManager.DEBUG) { SanityManager.ASSERT(undoPage != null, "undo Page null"); SanityManager.ASSERT( undoPage... | 1,106,522 |
public void testDatabaseInClasspath() throws SQLException, MalformedURLException { String dbName = "classpath:dbro"; DataSource ds = JDBCDataSource.getDataSource(dbName); try { ds.getConnection(); fail("opened database before it was on classpath"); } catc... | public void testDatabaseInClasspath() throws SQLException, MalformedURLException { String dbName = "classpath:dbro"; DataSource ds = JDBCDataSource.getDataSource(dbName); try { ds.getConnection(); fail("opened database before it was on classpath"); } catc... | 1,106,523 |
public void testDatabaseInClasspath() throws SQLException, MalformedURLException { String dbName = "classpath:dbro"; DataSource ds = JDBCDataSource.getDataSource(dbName); try { ds.getConnection(); fail("opened database before it was on classpath"); } catc... | public void testDatabaseInClasspath() throws SQLException, MalformedURLException { String dbName = "classpath:dbro"; DataSource ds = JDBCDataSource.getDataSource(dbName); try { ds.getConnection(); fail("opened database before it was on classpath"); } catc... | 1,106,524 |
protected void close() throws SQLException { if (ps != null) ps.close(); if (stmt != null) stmt.close(); currentDrdaRs.close(); resultSetTable = null; resultSetKeyList = null; ps = null; stmtPmeta = null; stmt = null; rslsetflg = null; procName = null; outputTypes = null; cliParamDrdaTypes = null; cl... | protected void close() throws SQLException { if (ps != null) ps.close(); if (stmt != null) stmt.close(); currentDrdaRs.close(); resultSetTable = null; resultSetKeyList = null; ps = null; stmtPmeta = null; stmt = null; rslsetflg = null; procName = null; outputTypes = null; cliParamDrdaTypes = null; cl... | 1,106,525 |
protected int getParamDRDAType(int index) { return ((Byte)cliParamDrdaTypes.get(index -1)).intValue(); } | protected int getParamDRDAType(int index) { return ((Byte)cliParamDrdaTypes.get(index -1)).intValue(); } | 1,106,526 |
protected int getParamLen(int index) { return ((Integer) cliParamLens.elementAt(index -1)).intValue(); } | protected int getParamLen(int index) { return drdaParamState_.getDrdaLen(index-1); } | 1,106,527 |
protected void reset() { setTypDefValues(); withHoldCursor = -1; scrollType = ResultSet.TYPE_FORWARD_ONLY; concurType = ResultSet.CONCUR_READ_ONLY;; rowCount = 0; rslsetflg = null; maxrslcnt = 0; ps = null; stmtPmeta = null; isCall = false; procName = null; outputTypes = null; outputExpected = false; ... | protected void reset() { setTypDefValues(); withHoldCursor = -1; scrollType = ResultSet.TYPE_FORWARD_ONLY; concurType = ResultSet.CONCUR_READ_ONLY;; rowCount = 0; rslsetflg = null; maxrslcnt = 0; ps = null; stmtPmeta = null; isCall = false; procName = null; outputTypes = null; outputExpected = false; ... | 1,106,528 |
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,106,531 |
protected void openCore() throws StandardException { /* We must instantiate the VTI on each execution if any of the * parameters contain a ?. */ if (ps == null) { ps = (PreparedStatement) vtiRS.getVTIConstructor().invoke(activation); } if( ps instanceof DeferModification) { try ... | protected void openCore() throws StandardException { /* We must instantiate the VTI on each execution if any of the * parameters contain a ?. */ if (ps == null) { ps = (PreparedStatement) vtiRS.getVTIConstructor().invoke(activation); } if( ps instanceof DeferModification) { try ... | 1,106,534 |
public Object readJarFile(String schemaName, String sqlName) throws StandardException { DataDictionaryContext ddc = (DataDictionaryContext) ContextService.getContext(DataDictionaryContext.CONTEXT_ID); DataDictionary dd = ddc.getDataDictionary(); SchemaDescriptor sd = dd.getSchemaDescriptor(schemaName, null, true... | public Object readJarFile(String schemaName, String sqlName) throws StandardException { DataDictionaryContext ddc = (DataDictionaryContext) ContextService.getContext(DataDictionaryContext.CONTEXT_ID); DataDictionary dd = ddc.getDataDictionary(); SchemaDescriptor sd = dd.getSchemaDescriptor(schemaName, null, true... | 1,106,535 |
public String toString() { try { return getRealConnection().toString(); } catch ( SQLException e ) { return "<no connection>"; } } | public String toString() { if ( connString == null ) { return getRealConnection().toString(); } catch ( SQLException e ) { return "<no connection>"; } } | 1,106,536 |
public String toString() { try { return getRealConnection().toString(); } catch ( SQLException e ) { return "<no connection>"; } } | public String toString() { try { String wrappedString; try { wrappedString = getRealConnection().toString(); } catch ( SQLException e ) { wrappedString = "<none>"; } connString = this.getClass().getName() + "@" + this.hashCode() + ", Wrapped Connection = " + wrappedString; } ... | 1,106,537 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.