bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public static void dumpRS(ResultSet s) throws SQLException { SecurityCheck.inspect(s, "java.sql.ResultSet"); if (s == null) { System.out.println("<NULL>"); return; } ResultSetMetaData rsmd = s.getMetaData(); SecurityCheck.inspect(rsmd, "java.sql.ResultSetMetaData"); // Get the number of columns in the res...
public static void dumpRS(ResultSet s) throws SQLException { SecurityCheck.inspect(s, "java.sql.ResultSet"); if (s == null) { System.out.println("<NULL>"); return; } ResultSetMetaData rsmd = s.getMetaData(); SecurityCheck.inspect(rsmd, "java.sql.ResultSetMetaData"); // Get the number of columns in the res...
1,102,561
public StatementExecutor(PreparedStatement statement, boolean doFetch, int timeout) { this.statement = statement; this.doFetch = doFetch; this.timeout = timeout; highestRunTime = 0; sqlE...
public StatementExecutor(PreparedStatement statement, boolean doFetch, int timeout) { this.statement = statement; this.doFetch = doFetch; this.timeout = timeout; highestRunTime = 0; sqlE...
1,102,562
private static void dropTables(Connection conn, String tablePrefix) throws TestFailedException { Collection ignore = new HashSet(); ignore.add(SQLState.LANG_OBJECT_DOES_NOT_EXIST.substring(0,5)); exec(conn, "drop table " + tablePrefix + "0", ignore); exec(con...
private static void dropTables(Connection conn, String tablePrefix) throws TestFailedException { Collection ignore = new HashSet(); ignore.add(SQLState.LANG_OBJECT_DOES_NOT_EXIST.substring(0,5)); exec(conn, "drop table " + tablePrefix + "0", ignore); exec(con...
1,102,563
private static void exec(Connection connection, String queryString, Collection ignoreExceptions) throws TestFailedException { PreparedStatement statement = null; try { statement = connection.prepareStatement(queryS...
private static void exec(Connection connection, String queryString, Collection ignoreExceptions) throws TestFailedException { Statement statement = null; try { statement = connection.prepareStatement(queryString); ...
1,102,564
private static void exec(Connection connection, String queryString, Collection ignoreExceptions) throws TestFailedException { PreparedStatement statement = null; try { statement = connection.prepareStatement(queryS...
private static void exec(Connection connection, String queryString, Collection ignoreExceptions) throws TestFailedException { PreparedStatement statement = null; try { statement = connection.prepareStatement(queryS...
1,102,565
private static String getExecQuery(String tablePrefix) { return "insert into " + tablePrefix + "5 select " + tablePrefix + "3.a+" + tablePrefix + "x.a," + tablePrefix + "3.b from " + tablePrefix + "3 left join " + tablePrefix + "3 as " ...
private static String getExecQuery(String tablePrefix) { return "insert into " + tablePrefix + "5 select " + tablePrefix + "3.a+" + tablePrefix + "x.a," + tablePrefix + "3.b from " + tablePrefix + "3 left join " + tablePrefix + "3 as " ...
1,102,566
private static String getFetchQuery(String tablePrefix) { return "select " + tablePrefix + "4.a+" + tablePrefix + "3.a," + tablePrefix + "4.b||" + tablePrefix + "3.b from " + tablePrefix + "4 left join " + tablePrefix + "3 on 1=1 where mod(...
private static String getFetchQuery(String tablePrefix) { return "select " + tablePrefix + "4.a+" + tablePrefix + "3.a," + tablePrefix + "4.b||" + tablePrefix + "3.b from " + tablePrefix + "4 left join " + tablePrefix + "3 on 1=1 where mod(...
1,102,567
public void go(String[] args) { System.out.println("Test SetQueryTimeoutTest starting"); Connection conn1 = null; Connection conn2 = null; try { // Load the JDBC Driver class // use the ij utility to read the property file and // create connect...
public void go(String[] args) { System.out.println("Test SetQueryTimeoutTest starting"); Connection conn1 = null; Connection conn2 = null; try { // Load the JDBC Driver class // use the ij utility to read the property file and // create connect...
1,102,568
public void go(String[] args) { System.out.println("Test SetQueryTimeoutTest starting"); Connection conn1 = null; Connection conn2 = null; try { // Load the JDBC Driver class // use the ij utility to read the property file and // create connect...
public void go(String[] args) { System.out.println("Test SetQueryTimeoutTest starting"); Connection conn1 = null; Connection conn2 = null; try { // Load the JDBC Driver class // use the ij utility to read the property file and // create connect...
1,102,569
public void go(String[] args) { System.out.println("Test SetQueryTimeoutTest starting"); Connection conn1 = null; Connection conn2 = null; try { // Load the JDBC Driver class // use the ij utility to read the property file and // create connect...
public void go(String[] args) { System.out.println("Test SetQueryTimeoutTest starting"); Connection conn1 = null; Connection conn2 = null; try { // Load the JDBC Driver class // use the ij utility to read the property file and // create connect...
1,102,570
public void go(String[] args) { System.out.println("Test SetQueryTimeoutTest starting"); Connection conn1 = null; Connection conn2 = null; try { // Load the JDBC Driver class // use the ij utility to read the property file and // create connect...
public void go(String[] args) { System.out.println("Test SetQueryTimeoutTest starting"); Connection conn1 = null; Connection conn2 = null; try { // Load the JDBC Driver class // use the ij utility to read the property file and // create connect...
1,102,571
public void go(String[] args) { System.out.println("Test SetQueryTimeoutTest starting"); Connection conn1 = null; Connection conn2 = null; try { // Load the JDBC Driver class // use the ij utility to read the property file and // create connect...
public void go(String[] args) { System.out.println("Test SetQueryTimeoutTest starting"); Connection conn1 = null; Connection conn2 = null; try { // Load the JDBC Driver class // use the ij utility to read the property file and // create connect...
1,102,572
private static void prepareForTimedQueries(Connection conn) throws TestFailedException { System.out.println("Preparing for testing queries with timeout"); try { conn.setAutoCommit(true); } catch (SQLException e) { throw new TestFailedException("Should ...
private static void prepareForTimedQueries(Connection conn) throws TestFailedException { System.out.println("Preparing for testing queries with timeout"); try { conn.setAutoCommit(true); } catch (SQLException e) { throw new TestFailedException("Should ...
1,102,573
private static void prepareTables(Connection conn, String tablePrefix) throws TestFailedException { System.out.println("Initializing tables with prefix " + tablePrefix); dropTables(conn, tablePrefix); exec(conn, "create table " + tablePrefix + "1 (a int,...
private static void prepareTables(Connection conn, String tablePrefix) throws TestFailedException { System.out.println("Initializing tables with prefix " + tablePrefix); dropTables(conn, tablePrefix); exec(conn, "create table " + tablePrefix + "_orig (a ...
1,102,574
private static void prepareTables(Connection conn, String tablePrefix) throws TestFailedException { System.out.println("Initializing tables with prefix " + tablePrefix); dropTables(conn, tablePrefix); exec(conn, "create table " + tablePrefix + "1 (a int,...
private static void prepareTables(Connection conn, String tablePrefix) throws TestFailedException { System.out.println("Initializing tables with prefix " + tablePrefix); dropTables(conn, tablePrefix); exec(conn, "create table " + tablePrefix + "1 (a int,...
1,102,575
private static void prepareTables(Connection conn, String tablePrefix) throws TestFailedException { System.out.println("Initializing tables with prefix " + tablePrefix); dropTables(conn, tablePrefix); exec(conn, "create table " + tablePrefix + "1 (a int,...
private static void prepareTables(Connection conn, String tablePrefix) throws TestFailedException { System.out.println("Initializing tables with prefix " + tablePrefix); dropTables(conn, tablePrefix); exec(conn, "create table " + tablePrefix + "1 (a int,...
1,102,576
private static void testTimeoutWithExec(Connection conn1, Connection conn2) throws TestFailedException { System.out.println("Testing timeout with an execute operation"); try { conn1.setAutoCommit(true); conn2.setAuto...
private static void testTimeoutWithExec(Connection conn1, Connection conn2) throws TestFailedException { System.out.println("Testing timeout with an execute operation"); try { conn1.setAutoCommit(true); conn2.setAuto...
1,102,577
private static void testTimeoutWithExec(Connection conn1, Connection conn2) throws TestFailedException { System.out.println("Testing timeout with an execute operation"); try { conn1.setAutoCommit(true); conn2.setAuto...
private static void testTimeoutWithExec(Connection conn1, Connection conn2) throws TestFailedException { System.out.println("Testing timeout with an execute operation"); try { conn1.setAutoCommit(true); conn2.setAuto...
1,102,578
private static void testTimeoutWithExec(Connection conn1, Connection conn2) throws TestFailedException { System.out.println("Testing timeout with an execute operation"); try { conn1.setAutoCommit(true); conn2.setAuto...
private static void testTimeoutWithExec(Connection conn1, Connection conn2) throws TestFailedException { System.out.println("Testing timeout with an execute operation"); try { conn1.setAutoCommit(true); conn2.setAuto...
1,102,579
private static void testTimeoutWithExec(Connection conn1, Connection conn2) throws TestFailedException { System.out.println("Testing timeout with an execute operation"); try { conn1.setAutoCommit(true); conn2.setAuto...
private static void testTimeoutWithExec(Connection conn1, Connection conn2) throws TestFailedException { System.out.println("Testing timeout with an execute operation"); try { conn1.setAutoCommit(true); conn2.setAuto...
1,102,580
private static void testTimeoutWithExec(Connection conn1, Connection conn2) throws TestFailedException { System.out.println("Testing timeout with an execute operation"); try { conn1.setAutoCommit(true); conn2.setAuto...
private static void testTimeoutWithExec(Connection conn1, Connection conn2) throws TestFailedException { System.out.println("Testing timeout with an execute operation"); try { conn1.setAutoCommit(true); conn2.setAuto...
1,102,581
private static void testTimeoutWithExec(Connection conn1, Connection conn2) throws TestFailedException { System.out.println("Testing timeout with an execute operation"); try { conn1.setAutoCommit(true); conn2.setAuto...
private static void testTimeoutWithExec(Connection conn1, Connection conn2) throws TestFailedException { System.out.println("Testing timeout with an execute operation"); try { conn1.setAutoCommit(true); conn2.setAuto...
1,102,582
private static void testTimeoutWithFetch(Connection conn1, Connection conn2) throws TestFailedException { System.out.println("Testing timeout with fetch operations"); try { conn1.setAutoCommit(false); conn2.setAutoC...
private static void testTimeoutWithFetch(Connection conn1, Connection conn2) throws TestFailedException { System.out.println("Testing timeout with fetch operations"); try { conn1.setAutoCommit(false); conn2.setAutoC...
1,102,583
public String toString() { if ( idString == null ) { idString = Integer.toString(getLanguageConnection().getInstanceNumber()); } return idString; }
public String toString() { if ( connString == null ) { idString = Integer.toString(getLanguageConnection().getInstanceNumber()); } return idString; }
1,102,584
public String toString() { if ( idString == null ) { idString = Integer.toString(getLanguageConnection().getInstanceNumber()); } return idString; }
public String toString() { if ( idString == null ) { idString = Integer.toString(getLanguageConnection().getInstanceNumber()); } return idString; }
1,102,585
public String toString() { if ( idString == null ) { idString = Integer.toString(getLanguageConnection().getInstanceNumber()); } return idString; }
public String toString() { if ( idString == null ) { idString = Integer.toString(getLanguageConnection().getInstanceNumber()); } return connString; }
1,102,586
public static SQLWarning newEmbedSQLWarning(String messageId, Object arg) { return new EmbedSQLWarning( MessageService.getCompleteMessage(messageId, new Object[] {arg}), StandardException.getSQLStateFromIdentifier(messageId)); }
public static SQLWarning newEmbedSQLWarning(String messageId, Object arg) { return new EmbedSQLWarning( MessageService.getCompleteMessage(messageId, new Object[] {arg}), StandardException.getSQLStateFromIdentifier(messageId)); }
1,102,587
public FormatableBitSet bindResultColumnsByName(TableDescriptor targetTableDescriptor, DMLStatementNode statement) throws StandardException { int size = size(); FormatableBitSet columnBitSet = new FormatableBitSet( targetTableDescriptor.getNumberOfColumns()); ...
public FormatableBitSet bindResultColumnsByName(TableDescriptor targetTableDescriptor, DMLStatementNode statement) throws StandardException { int size = size(); FormatableBitSet columnBitSet = new FormatableBitSet( targetTableDescriptor.getNumberOfColumns()); ...
1,102,588
public FormatableBitSet bindResultColumnsByName(TableDescriptor targetTableDescriptor, DMLStatementNode statement) throws StandardException { int size = size(); FormatableBitSet columnBitSet = new FormatableBitSet( targetTableDescriptor.getNumberOfColumns()); ...
public FormatableBitSet bindResultColumnsByName(TableDescriptor targetTableDescriptor, DMLStatementNode statement) throws StandardException { int size = size(); for (int index = 0; index < size; index++) { ResultColumn rc = (ResultColumn) elementAt(index)...
1,102,589
public FormatableBitSet bindResultColumnsByName(TableDescriptor targetTableDescriptor, DMLStatementNode statement) throws StandardException { int size = size(); FormatableBitSet columnBitSet = new FormatableBitSet( targetTableDescriptor.getNumberOfColumns()); ...
public FormatableBitSet bindResultColumnsByName(TableDescriptor targetTableDescriptor, DMLStatementNode statement) throws StandardException { int size = size(); FormatableBitSet columnBitSet = new FormatableBitSet( targetTableDescriptor.getNumberOfColumns()); ...
1,102,590
public FormatableBitSet bindResultColumnsByName(TableDescriptor targetTableDescriptor, DMLStatementNode statement) throws StandardException { int size = size(); FormatableBitSet columnBitSet = new FormatableBitSet( targetTableDescriptor.getNumberOfColumns()); ...
public FormatableBitSet bindResultColumnsByName(TableDescriptor targetTableDescriptor, DMLStatementNode statement) throws StandardException { int size = size(); FormatableBitSet columnBitSet = new FormatableBitSet( targetTableDescriptor.getNumberOfColumns()); ...
1,102,591
ResultColumn cloneMe() throws StandardException { ResultColumn newResultColumn; ValueNode cloneExpr; /* If expression is a ColumnReference, then we want to * have the RC's clone have a clone of the ColumnReference * for it's expression. This is for the special case of * cloning the SELECT list for the HAVI...
ResultColumn cloneMe() throws StandardException { ResultColumn newResultColumn; ValueNode cloneExpr; /* If expression is a ColumnReference, then we want to * have the RC's clone have a clone of the ColumnReference * for it's expression. This is for the special case of * cloning the SELECT list for the HAVI...
1,102,592
ResultColumnDescriptor[] makeResultDescriptors(ExecutionContext ec) { ResultColumnDescriptor colDescs[] = new ResultColumnDescriptor[size()]; int size = size(); for (int index = 0; index < size; index++) { // the ResultColumn nodes are descriptors, so take 'em... colDescs[index] = ec.getExecutio...
public ResultColumnDescriptor[] makeResultDescriptors() { ResultColumnDescriptor colDescs[] = new ResultColumnDescriptor[size()]; int size = size(); for (int index = 0; index < size; index++) { // the ResultColumn nodes are descriptors, so take 'em... colDescs[index] = ec.getExecutionFactory().g...
1,102,593
ResultColumnDescriptor[] makeResultDescriptors(ExecutionContext ec) { ResultColumnDescriptor colDescs[] = new ResultColumnDescriptor[size()]; int size = size(); for (int index = 0; index < size; index++) { // the ResultColumn nodes are descriptors, so take 'em... colDescs[index] = ec.getExecutio...
ResultColumnDescriptor[] makeResultDescriptors(ExecutionContext ec) { ResultColumnDescriptor colDescs[] = new ResultColumnDescriptor[size()]; int size = size(); for (int index = 0; index < size; index++) { // the ResultColumn nodes are descriptors, so take 'em... colDescs[index] = ec.getExecutio...
1,102,594
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); SQLException ex = new SQLException(message, sqlState, severity, t); if (sqlSt...
1,102,595
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); SQLException ex = new SQLException(message, sqlState, severity, t); if (sqlSt...
1,102,596
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); SQLException ex = new SQLException(message, sqlState, severity, t); if (sqlSt...
1,102,597
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); SQLException ex = new SQLException(message, sqlState, severity, t); if (sqlSt...
1,102,598
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); SQLException ex = new SQLException(message, sqlState, severity, t); if (sqlSt...
1,102,599
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); SQLException ex = new SQLException(message, sqlState, severity, t); if (sqlSt...
1,102,600
public void registerTagLibrary( String namespaceURI, String className) { if (log.isDebugEnabled()) { log.debug("Registering tag library to: " + namespaceURI + " taglib: " + className); } taglibs.put(namespaceURI, className); if (isExportLibrar...
public void registerTagLibrary( String namespaceURI, String className) { if (log.isDebugEnabled()) { log.debug("Registering tag library to: " + namespaceURI + " taglib: " + className); } taglibs.put(namespaceURI, className); if (isExportLibrar...
1,102,604
public void registerTagLibrary( String namespaceURI, String className) { if (log.isDebugEnabled()) { log.debug("Registering tag library to: " + namespaceURI + " taglib: " + className); } taglibs.put(namespaceURI, className); if (isExportLibrar...
public void registerTagLibrary( String namespaceURI, String className) { if (log.isDebugEnabled()) { log.debug("Registering tag library to: " + namespaceURI + " taglib: " + taglib); } taglibs.put(namespaceURI, className); if (isExportLibraries...
1,102,605
public void registerTagLibrary( String namespaceURI, String className) { if (log.isDebugEnabled()) { log.debug("Registering tag library to: " + namespaceURI + " taglib: " + className); } taglibs.put(namespaceURI, className); if (isExportLibrar...
public void registerTagLibrary( String namespaceURI, String className) { if (log.isDebugEnabled()) { log.debug("Registering tag library to: " + namespaceURI + " taglib: " + className); } taglibs.put(namespaceURI, taglib); if (isExportLibraries...
1,102,606
public void registerTagLibrary( String namespaceURI, String className) { if (log.isDebugEnabled()) { log.debug("Registering tag library to: " + namespaceURI + " taglib: " + className); } taglibs.put(namespaceURI, className); if (isExportLibrar...
public void registerTagLibrary( String namespaceURI, String className) { if (log.isDebugEnabled()) { log.debug("Registering tag library to: " + namespaceURI + " taglib: " + className); } taglibs.put(namespaceURI, className); if (isExportLibrar...
1,102,607
public StaticTag(String uri, String localName, String qname) { this.uri = uri; this.localName = localName; this.qname = qname; }
public StaticTag(String uri, String localName, String qname) { this.uri = uri; this.localName = localName; this.qname = qname; }
1,102,608
public Expression createExpression( ExpressionFactory factory, String tagName, String attributeName, String attributeValue) throws Exception { ExpressionFactory myFactory = getExpressionFactory(); if (myFactory == null) { myFactory = factory; } ...
public Expression createExpression( ExpressionFactory factory, String tagName, String attributeName, String attributeValue) throws Exception { ExpressionFactory myFactory = getExpressionFactory(); if (myFactory == null) { myFactory = factory; } ...
1,102,609
protected Dependable getDependable(DataDictionary dd, UUID dependableObjectID) throws StandardException { switch (formatId) { case StoredFormatIds.ALIAS_DESCRIPTOR_FINDER_V01_ID: return dd.getAliasDescriptor(dependableObjectID); case StoredFormatIds.CONGLOMERATE_DESCRIPTOR_FINDER_V01_ID: return dd.getCong...
protected Dependable getDependable(DataDictionary dd, UUID dependableObjectID) throws StandardException { switch (formatId) { case StoredFormatIds.ALIAS_DESCRIPTOR_FINDER_V01_ID: return dd.getAliasDescriptor(dependableObjectID); case StoredFormatIds.CONGLOMERATE_DESCRIPTOR_FINDER_V01_ID: return dd.getCong...
1,102,610
protected Dependable getDependable(DataDictionary dd, UUID dependableObjectID) throws StandardException { switch (formatId) { case StoredFormatIds.ALIAS_DESCRIPTOR_FINDER_V01_ID: return dd.getAliasDescriptor(dependableObjectID); case StoredFormatIds.CONGLOMERATE_DESCRIPTOR_FINDER_V01_ID: return dd.getCong...
protected Dependable getDependable(DataDictionary dd, UUID dependableObjectID) throws StandardException { switch (formatId) { case StoredFormatIds.ALIAS_DESCRIPTOR_FINDER_V01_ID: return dd.getAliasDescriptor(dependableObjectID); case StoredFormatIds.CONGLOMERATE_DESCRIPTOR_FINDER_V01_ID: return dd.getCong...
1,102,611
public void generate(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException { //If the DML is on the temporary table, generate the code to mark temporary table as modified in the current UOW generateCodeForTemporaryTable(acb, mb); /* generate the parameters */ if(!isDependentTable) g...
public void generate(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException { //If the DML is on the temporary table, generate the code to mark temporary table as modified in the current UOW generateCodeForTemporaryTable(acb, mb); /* generate the parameters */ if(!isDependentTable) g...
1,102,612
SystemColumnImpl( String name, int id, int ignoreP, int ignoreS, boolean nullability, String dataType, boolean builtInType, int maxLength ){ this(name, id, nullability, dataType, builtInType, maxLength);}
SystemColumnImpl( String name, int id, int ignoreP, int ignoreS, boolean nullability, String dataType, boolean builtInType, int maxLength ){ this(name, id, nullability, dataType, builtInType, maxLength);}
1,102,613
public ConglomerateDescriptor getConglomerateDescriptor( UUID conglomerateUUID) throws StandardException { return conglomerateDescriptorList.getConglomerateDescriptor(conglomerateUUID); }
public ConglomerateDescriptor getConglomerateDescriptor( long conglomerateNumber) throws StandardException { return conglomerateDescriptorList.getConglomerateDescriptor(conglomerateUUID); }
1,102,614
public ConglomerateDescriptor getConglomerateDescriptor( UUID conglomerateUUID) throws StandardException { return conglomerateDescriptorList.getConglomerateDescriptor(conglomerateUUID); }
public ConglomerateDescriptor getConglomerateDescriptor( UUID conglomerateUUID) throws StandardException { return conglomerateDescriptorList.getConglomerateDescriptor(conglomerateNumber); }
1,102,615
public ForeignKeyConstraintDescriptor newForeignKeyConstraintDescriptor( TableDescriptor table, String constraintName, boolean deferrable, boolean initiallyDeferred, int[] fkColumns, UUID constraintId, UUID indexId, SchemaDescriptor schemaDesc, UUID referencedConstraintId, ...
public ForeignKeyConstraintDescriptor newForeignKeyConstraintDescriptor( TableDescriptor table, String constraintName, boolean deferrable, boolean initiallyDeferred, int[] fkColumns, UUID constraintId, UUID indexId, SchemaDescriptor schemaDesc, ReferencedKeyConstraintDescri...
1,102,616
public ForeignKeyConstraintDescriptor newForeignKeyConstraintDescriptor( TableDescriptor table, String constraintName, boolean deferrable, boolean initiallyDeferred, int[] fkColumns, UUID constraintId, UUID indexId, SchemaDescriptor schemaDesc, UUID referencedConstraintId, ...
public ForeignKeyConstraintDescriptor newForeignKeyConstraintDescriptor( TableDescriptor table, String constraintName, boolean deferrable, boolean initiallyDeferred, int[] fkColumns, UUID constraintId, UUID indexId, SchemaDescriptor schemaDesc, UUID referencedConstraintId, ...
1,102,617
NumberDataValue getDataValue(int value);
NumberDataValue getDataValue(Integer value);
1,102,618
public void backup(String backupDir) throws StandardException;
public void backup(String backupDir, boolean wait) throws StandardException;
1,102,619
public void backupAndEnableLogArchiveMode(String backupDir, boolean deleteOnlineArchivedLogFiles) throws StandardException ;
public void backupAndEnableLogArchiveMode(String backupDir, boolean deleteOnlineArchivedLogFiles) throws StandardException ;
1,102,620
public HasVariantValueNodeVisitor(int variantType, boolean ignoreParameters) { this.variantType = variantType; this.ignoreParameters = ignoreParameters; if (SanityManager.DEBUG) { SanityManager.ASSERT(variantType >= Qualifier.VARIANT, "bad variantType"); // note: there is no point in (variantType == Qualifier....
public HasVariantValueNodeVisitor() { this.variantType = variantType; this.ignoreParameters = ignoreParameters; if (SanityManager.DEBUG) { SanityManager.ASSERT(variantType >= Qualifier.VARIANT, "bad variantType"); // note: there is no point in (variantType == Qualifier.CONSTANT) so throw an // exception for ...
1,102,621
public HasVariantValueNodeVisitor(int variantType, boolean ignoreParameters) { this.variantType = variantType; this.ignoreParameters = ignoreParameters; if (SanityManager.DEBUG) { SanityManager.ASSERT(variantType >= Qualifier.VARIANT, "bad variantType"); // note: there is no point in (variantType == Qualifier....
public HasVariantValueNodeVisitor(int variantType, boolean ignoreParameters) { this.variantType = variantType; this.ignoreParameters = ignoreParameters; if (SanityManager.DEBUG) { SanityManager.ASSERT(variantType >= Qualifier.VARIANT, "bad variantType"); // note: there is no point in (variantType == Qualifier....
1,102,622
public HasVariantValueNodeVisitor(int variantType, boolean ignoreParameters) { this.variantType = variantType; this.ignoreParameters = ignoreParameters; if (SanityManager.DEBUG) { SanityManager.ASSERT(variantType >= Qualifier.VARIANT, "bad variantType"); // note: there is no point in (variantType == Qualifier....
public HasVariantValueNodeVisitor(int variantType, boolean ignoreParameters) { this.variantType = variantType; this.ignoreParameters = ignoreParameters; if (SanityManager.DEBUG) { SanityManager.ASSERT(variantType >= Qualifier.VARIANT, "bad variantType"); // note: there is no point in (variantType == Qualifier....
1,102,623
private void createAndLoadTable( Connection conn, boolean create_table, String tblname, int num_rows) throws SQLException { if (create_table) { Statement s = conn.createStatement(); s.execute( "create table " + tblname + ...
private void createAndLoadTable( Connection conn, boolean create_table, String tblname, int num_rows) throws SQLException { if (create_table) { Statement s = conn.createStatement(); s.execute( "create table " + tblname + ...
1,102,625
private void createAndLoadTable( Connection conn, boolean create_table, String tblname, int num_rows) throws SQLException { if (create_table) { Statement s = conn.createStatement(); s.execute( "create table " + tblname + ...
private void createAndLoadTable( Connection conn, boolean create_table, String tblname, int num_rows) throws SQLException { if (create_table) { Statement s = conn.createStatement(); s.execute( "create table " + tblname + ...
1,102,626
private void createAndLoadTable( Connection conn, boolean create_table, String tblname, int num_rows) throws SQLException { if (create_table) { Statement s = conn.createStatement(); s.execute( "create table " + tblname + ...
private void createAndLoadTable( Connection conn, boolean create_table, String tblname, int num_rows) throws SQLException { if (create_table) { Statement s = conn.createStatement(); s.execute( "create table " + tblname + ...
1,102,627
private static void assertRowInResultSet(ResultSet rs, int rowNum, Object [] expectedRow, boolean asTrimmedStrings) throws SQLException { String s; boolean ok; Object obj = null; ResultSetMetaData rsmd = rs.getMetaData(); for (int i = 0; i < expectedRow.length; i++) ...
private static void assertRowInResultSet(ResultSet rs, int rowNum, Object [] expectedRow, boolean asTrimmedStrings) throws SQLException { String s; boolean ok; Object obj = null; ResultSetMetaData rsmd = rs.getMetaData(); for (int i = 0; i < expectedRow.length; i++) ...
1,102,631
private static void assertRowInResultSet(ResultSet rs, int rowNum, Object [] expectedRow, boolean asTrimmedStrings) throws SQLException { String s; boolean ok; Object obj = null; ResultSetMetaData rsmd = rs.getMetaData(); for (int i = 0; i < expectedRow.length; i++) ...
private static void assertRowInResultSet(ResultSet rs, int rowNum, Object [] expectedRow, boolean asTrimmedStrings) throws SQLException { String s; boolean ok; Object obj = null; ResultSetMetaData rsmd = rs.getMetaData(); for (int i = 0; i < expectedRow.length; i++) ...
1,102,632
private static void assertRowInResultSet(ResultSet rs, int rowNum, Object [] expectedRow, boolean asTrimmedStrings) throws SQLException { String s; boolean ok; Object obj = null; ResultSetMetaData rsmd = rs.getMetaData(); for (int i = 0; i < expectedRow.length; i++) ...
private static void assertRowInResultSet(ResultSet rs, int rowNum, Object [] expectedRow, boolean asTrimmedStrings) throws SQLException { String s; boolean ok; Object obj = null; ResultSetMetaData rsmd = rs.getMetaData(); for (int i = 0; i < expectedRow.length; i++) ...
1,102,633
private static void assertRowInResultSet(ResultSet rs, int rowNum, Object [] expectedRow, boolean asTrimmedStrings) throws SQLException { String s; boolean ok; Object obj = null; ResultSetMetaData rsmd = rs.getMetaData(); for (int i = 0; i < expectedRow.length; i++) ...
private static void assertRowInResultSet(ResultSet rs, int rowNum, Object [] expectedRow, boolean asTrimmedStrings) throws SQLException { String s; boolean ok; Object obj = null; ResultSetMetaData rsmd = rs.getMetaData(); for (int i = 0; i < expectedRow.length; i++) ...
1,102,634
void accumulate(Object[] inputRow, Object[] accumulateRow) throws StandardException { DataValueDescriptor inputColumn = null; if (SanityManager.DEBUG) { SanityManager.ASSERT((inputRow != null) && (accumulateRow != null), "bad accumulate call"); } DataValueDescriptor aggregatorColumn = (DataValueDescript...
void accumulate(Object[] inputRow, Object[] accumulateRow) throws StandardException { DataValueDescriptor inputColumn = null; if (SanityManager.DEBUG) { SanityManager.ASSERT((inputRow != null) && (accumulateRow != null), "bad accumulate call"); } DataValueDescriptor aggregatorColumn = (DataValueDescript...
1,102,636
void accumulate(Object[] inputRow, Object[] accumulateRow) throws StandardException { DataValueDescriptor inputColumn = null; if (SanityManager.DEBUG) { SanityManager.ASSERT((inputRow != null) && (accumulateRow != null), "bad accumulate call"); } DataValueDescriptor aggregatorColumn = (DataValueDescript...
void accumulate(Object[] inputRow, Object[] accumulateRow) throws StandardException { DataValueDescriptor inputColumn = null; if (SanityManager.DEBUG) { SanityManager.ASSERT((inputRow != null) && (accumulateRow != null), "bad accumulate call"); } DataValueDescriptor aggregatorColumn = (DataValueDescript...
1,102,637
void merge(Object[] inputRow, Object[] mergeRow) throws StandardException { DataValueDescriptor mergeColumn = (DataValueDescriptor) mergeRow[aggregatorColumnId]; DataValueDescriptor inputColumn = (DataValueDescriptor) inputRow[aggregatorColumnId]; merge(inputColumn, mergeColumn); }
void merge(Object[] inputRow, Object[] mergeRow) throws StandardException { DataValueDescriptor mergeColumn = (DataValueDescriptor) mergeRow[aggregatorColumnId]; DataValueDescriptor inputColumn = (DataValueDescriptor) inputRow[aggregatorColumnId]; merge(inputColumn, mergeColumn); }
1,102,638
void merge(Object[] inputRow, Object[] mergeRow) throws StandardException { DataValueDescriptor mergeColumn = (DataValueDescriptor) mergeRow[aggregatorColumnId]; DataValueDescriptor inputColumn = (DataValueDescriptor) inputRow[aggregatorColumnId]; merge(inputColumn, mergeColumn); }
void merge(Object[] inputRow, Object[] mergeRow) throws StandardException { DataValueDescriptor mergeColumn = (DataValueDescriptor) mergeRow[aggregatorColumnId]; DataValueDescriptor inputColumn = (DataValueDescriptor) inputRow[aggregatorColumnId]; merge(inputColumn, mergeColumn); }
1,102,639
private void flowExecute(int executeType, String sql) throws SqlException { checkForClosedStatement(); // Per jdbc spec (see java.sql.Statement.close() javadoc) checkAutoGeneratedKeysParameters(); clearWarningsX(); // Per jdbc spec 0.7, and getWarnings() javadoc sql = escape(sql); ...
private void flowExecute(int executeType, String sql) throws SqlException { checkForClosedStatement(); // Per jdbc spec (see java.sql.Statement.close() javadoc) checkAutoGeneratedKeysParameters(); clearWarningsX(); // Per jdbc spec 0.7, and getWarnings() javadoc sql = escape(sql); ...
1,102,640
void markResultSetsClosed() { if (resultSetList_ != null) { for (int i = 0; i < resultSetList_.length; i++) { if (resultSetList_[i] != null) { resultSetList_[i].markClosed(); } resultSetList_[i] = null; } } if...
void markResultSetsClosed() { if (resultSetList_ != null) { for (int i = 0; i < resultSetList_.length; i++) { if (resultSetList_[i] != null) { resultSetList_[i].markClosed(); } resultSetList_[i] = null; } } if...
1,102,641
public SqlWarning(LogWriter logWriter, Sqlca sqlca) { super(); sqlca_ = sqlca; if (logWriter != null) { logWriter.traceDiagnosable(this); } }
public SqlWarning(LogWriter logWriter, Sqlca sqlca) { super(); sqlca_ = sqlca; if (logWriter != null) { logWriter.traceDiagnosable(this); } }
1,102,642
Section getPositionedUpdateSection(String cursorName, boolean useExecuteImmediateSection) throws SqlException { Section querySection = (Section) positionedUpdateCursorNameToQuerySection_.get(cursorName); // If querySection is null, then the user must have provided a bad cursor name. // Otherwis...
Section getPositionedUpdateSection(String cursorName, boolean useExecuteImmediateSection) throws SqlException { Section querySection = (Section) positionedUpdateCursorNameToQuerySection_.get(cursorName); // If querySection is null, then the user must have provided a bad cursor name. // Otherwis...
1,102,643
public final void endBatchedReadChain(int[] updateCounts, SqlException accumulatedExceptions) throws BatchUpdateException { disableBatchedExceptionTracking(); for (int i = 0; i < batchedExceptionGenerated_.length; i++) { if (batchedExceptionGenerated_[i]) { updateCounts[i] = ...
public final void endBatchedReadChain(int[] updateCounts, SqlException accumulatedExceptions) throws BatchUpdateException { disableBatchedExceptionTracking(); for (int i = 0; i < batchedExceptionGenerated_.length; i++) { if (batchedExceptionGenerated_[i]) { updateCounts[i] = ...
1,102,644
void markClosed(boolean removeListener) { openOnClient_ = false; openOnServer_ = false; statement_.resetCursorNameAndRemoveFromWhereCurrentOfMappings(); // for SELECT...FOR UPDATE queries statement_.removeClientCursorNameFromCache(); markPositionedUpdateDeletePreparedStatementsClo...
void markClosed(boolean removeListener) { openOnClient_ = false; openOnServer_ = false; statement_.resetCursorNameAndRemoveFromWhereCurrentOfMappings(); // for SELECT...FOR UPDATE queries statement_.removeClientCursorNameFromCache(); markPositionedUpdateDeletePreparedStatementsClo...
1,102,645
protected SAXReader createSAXReader() throws Exception { // installs the NeckHTML parser return new SAXReader( new SAXParser() ); }
protected SAXReader createSAXReader() throws Exception { // installs the NeckHTML parser SAXParser parser = new SAXParser(); parser.setProperty( "http: "match" ); parser.setProperty( "http: "match" ); return new SAXReader( parser ); }
1,102,646
public void setUp() throws SQLException { xads = getXADataSource(); xac = xads.getXAConnection(); xar = xac.getXAResource(); con = xac.getConnection(); assertFalse("Connection must be open initially", con.isClosed()); con.setAutoCommit(false); }
public void setUp() throws SQLException { xads = TestDataSourceFactory.getXADataSource(); xac = xads.getXAConnection(); xar = xac.getXAResource(); con = xac.getConnection(); assertFalse("Connection must be open initially", con.isClosed()); con.setAutoCommit(false); ...
1,102,647
static boolean validateConstraint ( String constraintName, String constraintText, TableDescriptor td, LanguageConnectionContext lcc, boolean isCheckConstraint ) throws StandardException { StringBuffer checkStmt = new StringBuffer(); /* should not use select sum(not(<check-predicate>) ? ...
static boolean validateConstraint ( String constraintName, String constraintText, TableDescriptor td, LanguageConnectionContext lcc, boolean isCheckConstraint ) throws StandardException { StringBuffer checkStmt = new StringBuffer(); /* should not use select sum(not(<check-predicate>) ? ...
1,102,648
ResultSet execute(LanguageConnectionContext lcc, boolean rollbackParentContext) throws StandardException;
ResultSet execute(LanguageConnectionContext lcc, boolean rollbackParentContext) throws StandardException;
1,102,649
synchronized void closeContainer() { if (SanityManager.DEBUG) { SanityManager.ASSERT(iosInProgress == 0, "Container closed while IO operations are in progress. " + " This should not happen."); } if(ourChannel != null) { try { ...
synchronized void closeContainer() { if (SanityManager.DEBUG) { SanityManager.ASSERT( (iosInProgress == 0) || getCommittedDropState(), "Container closed while IO operations are in progress. " + " This should not happen."); } if(ourChannel != null...
1,102,650
public Blob createBlob() throws SQLException { throw Util.notImplemented(); }
public Blob createBlob() throws SQLException { if (isClosed()) { throw Util.noCurrentConnection(); } try { return getRealConnection().createBlob(); } catch (SQLException sqle) { notifyException(sqle); throw sqle; } }
1,102,651
public Clob createClob() throws SQLException{ throw Util.notImplemented(); }
public Clob createClob() throws SQLException{ if (isClosed()) { throw Util.noCurrentConnection(); } try { return getRealConnection().createClob(); } catch (SQLException sqle) { notifyException(sqle); throw sqle; } }
1,102,652
public <T extends BaseQuery>T createQueryObject(Class<T> ifc) throws SQLException { throw Util.notImplemented(); }
public <T extends BaseQuery>T createQueryObject(Class<T> ifc) throws SQLException { if (isClosed()) { throw Util.noCurrentConnection(); } try { return getRealConnection().createQueryObject(ifc); } catch (SQLException sqle) { notifyException(sqle); throw sqle; } }
1,102,653
public static TypeId getBuiltInTypeId(String SQLTypeName) { if (SQLTypeName.equals(TypeId.BOOLEAN_NAME)) { return TypeId.BOOLEAN_ID; } if (SQLTypeName.equals(TypeId.CHAR_NAME)) { return TypeId.CHAR_ID; } ...
public static TypeId getBuiltInTypeId(String SQLTypeName) { if (SQLTypeName.equals(TypeId.BOOLEAN_NAME)) { return TypeId.BOOLEAN_ID; } if (SQLTypeName.equals(TypeId.CHAR_NAME)) { return TypeId.CHAR_ID; } ...
1,102,654
public static TypeId getBuiltInTypeId(String SQLTypeName) { if (SQLTypeName.equals(TypeId.BOOLEAN_NAME)) { return TypeId.BOOLEAN_ID; } if (SQLTypeName.equals(TypeId.CHAR_NAME)) { return TypeId.CHAR_ID; } ...
public static TypeId getBuiltInTypeId(String SQLTypeName) { if (SQLTypeName.equals(TypeId.BOOLEAN_NAME)) { return TypeId.BOOLEAN_ID; } if (SQLTypeName.equals(TypeId.CHAR_NAME)) { return TypeId.CHAR_ID; } ...
1,102,655
public static TypeId getBuiltInTypeId(String SQLTypeName) { if (SQLTypeName.equals(TypeId.BOOLEAN_NAME)) { return TypeId.BOOLEAN_ID; } if (SQLTypeName.equals(TypeId.CHAR_NAME)) { return TypeId.CHAR_ID; } ...
public static TypeId getBuiltInTypeId(String SQLTypeName) { if (SQLTypeName.equals(TypeId.BOOLEAN_NAME)) { return TypeId.BOOLEAN_ID; } if (SQLTypeName.equals(TypeId.CHAR_NAME)) { return TypeId.CHAR_ID; } ...
1,102,656
public static TypeId getBuiltInTypeId(String SQLTypeName) { if (SQLTypeName.equals(TypeId.BOOLEAN_NAME)) { return TypeId.BOOLEAN_ID; } if (SQLTypeName.equals(TypeId.CHAR_NAME)) { return TypeId.CHAR_ID; } ...
public static TypeId getBuiltInTypeId(String SQLTypeName) { if (SQLTypeName.equals(TypeId.BOOLEAN_NAME)) { return TypeId.BOOLEAN_ID; } if (SQLTypeName.equals(TypeId.CHAR_NAME)) { return TypeId.CHAR_ID; } ...
1,102,657
public static TypeId getBuiltInTypeId(String SQLTypeName) { if (SQLTypeName.equals(TypeId.BOOLEAN_NAME)) { return TypeId.BOOLEAN_ID; } if (SQLTypeName.equals(TypeId.CHAR_NAME)) { return TypeId.CHAR_ID; } ...
public static TypeId getBuiltInTypeId(String SQLTypeName) { if (SQLTypeName.equals(TypeId.BOOLEAN_NAME)) { return TypeId.BOOLEAN_ID; } if (SQLTypeName.equals(TypeId.CHAR_NAME)) { return TypeId.CHAR_ID; } ...
1,102,658
public String getSchemaName() { return null; }
public String getSchemaName() throws StandardException { return null; }
1,102,659
public CostEstimateImpl(double theCost, double theRowCount, double theSingleScanRowCount) { if (SanityManager.DEBUG) { if (theCost < 0.0 || theRowCount < 0.0 || theSingleScanRowCount < 0.0) { SanityManager.THROWASSERT( "All parameters expected to be < 0.0, " + "\n\ttheCost = " +...
public CostEstimateImpl(double theCost, double theRowCount, double theSingleScanRowCount) { if (SanityManager.DEBUG) { if (theCost < 0.0 || theRowCount < 0.0 || theSingleScanRowCount < 0.0) { SanityManager.THROWASSERT( "All parameters expected to be < 0.0, " + "\n\ttheCost = " +...
1,102,660
public void rememberAsBest(int planType) throws StandardException;
public void rememberAsBest(int planType, Optimizer optimizer) throws StandardException;
1,102,661
public ResultColumn bindColumnReference(ColumnReference columnReference) throws StandardException { boolean columnNameMatch = false; boolean tableNameMatch = false; FromTable fromTable; int currentLevel = -1; int previousLevel = -1; ResultColumn matchingRC = null; ResultColumn resultColumn; Strin...
public ResultColumn bindColumnReference(ColumnReference columnReference) throws StandardException { boolean columnNameMatch = false; boolean tableNameMatch = false; FromTable fromTable; int currentLevel = -1; int previousLevel = -1; ResultColumn matchingRC = null; ResultColumn resultColumn; Strin...
1,102,662
public static Test suite() { return new BlobClobTestSetup(new TestSuite(BlobTest.class, "BlobTest suite")); }
public static Test suite() { return new BlobClobTestSetup(new TestSuite(BlobTest.class, "BlobTest suite")); }
1,102,663
public static void debug(String key, String value) { String msg = key; if (value != null) { msg = dblook.lookupMessage(key, new String [] {value}); } logFile.println("-- **--> DEBUG: " + msg); if (verbose) System.err.println("-- **--> DEBUG: " + msg); atLeastOneDebug = true; }
public static void debug(String key, String value) { String msg = key; if (value != null) { msg = dblook.lookupMessage(key, new String [] {value}); } logFile.println("-- **--> DEBUG: " + msg); if (verbose) System.err.println("-- **--> DEBUG: " + msg); atLeastOneDebug = true; }
1,102,664
public static void debug(String key, String value) { String msg = key; if (value != null) { msg = dblook.lookupMessage(key, new String [] {value}); } logFile.println("-- **--> DEBUG: " + msg); if (verbose) System.err.println("-- **--> DEBUG: " + msg); atLeastOneDebug = true; }
public static void debug(String key, String value) { String msg = key; if (value != null) { msg = dblook.lookupMessage(key, new String [] {value}); } logFile.println("-- **--> DEBUG: " + msg); if (verbose) System.err.println("-- **--> DEBUG: " + msg); atLeastOneDebug = true; }
1,102,665
public static void debug(String key, String value) { String msg = key; if (value != null) { msg = dblook.lookupMessage(key, new String [] {value}); } logFile.println("-- **--> DEBUG: " + msg); if (verbose) System.err.println("-- **--> DEBUG: " + msg); atLeastOneDebug = true; }
public static void debug(String key, String value) { String msg = key; if (value != null) { msg = dblook.lookupMessage(key, new String [] {value}); } logFile.println("-- **--> DEBUG: " + msg); if (verbose) e.printStackTrace(System.err); atLeastOneDebug = true; }
1,102,666
public static void doSchemas(Connection conn, boolean tablesOnly) throws SQLException { Statement stmt = conn.createStatement(); ResultSet rs = stmt.executeQuery("SELECT SCHEMANAME, SCHEMAID " + "FROM SYS.SYSSCHEMAS"); boolean firstTime = true; while (rs.next()) { String sName = dblook.addQuotes( dblook.ex...
public static void doSchemas(Connection conn, boolean tablesOnly) throws SQLException { Statement stmt = conn.createStatement(); ResultSet rs = stmt.executeQuery("SELECT SCHEMANAME, SCHEMAID " + "FROM SYS.SYSSCHEMAS"); boolean firstTime = true; while (rs.next()) { String sName = dblook.addQuotes( dblook.ex...
1,102,667
public static void doJars(String dbName, Connection conn) throws SQLException { String separator = System.getProperty("file.separator"); Statement stmt = conn.createStatement(); ResultSet rs = stmt.executeQuery("SELECT FILENAME, SCHEMAID, " + "GENERATIONID FROM SYS.SYSFILES"); boolean firstTime = true; while (...
public static void doJars(String dbName, Connection conn) throws SQLException { String separator = System.getProperty("file.separator"); Statement stmt = conn.createStatement(); ResultSet rs = stmt.executeQuery("SELECT FILENAME, SCHEMAID, " + "GENERATIONID FROM SYS.SYSFILES"); boolean firstTime = true; while (...
1,102,668