bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public LogicalUndoOperation(BasePage page, int recordId, LogicalPageOperation op) { super(page); undoOp = op; this.recordId = recordId; }
protected LogicalUndoOperation(BasePage page) { super(page); undoOp = op; this.recordId = recordId; }
1,104,416
public LogicalUndoOperation(BasePage page, int recordId, LogicalPageOperation op) { super(page); undoOp = op; this.recordId = recordId; }
public LogicalUndoOperation(BasePage page, int recordId, LogicalPageOperation op) { super(page); undoOp = op; this.recordId = recordId; }
1,104,417
public Level2CostEstimateImpl(double theCost, double theRowCount, double theSingleScanRowCount) { super(theCost, theRowCount, theSingleScanRowCount); }
public Level2CostEstimateImpl(double theCost, double theRowCount, double theSingleScanRowCount) { super(theCost, theRowCount, theSingleScanRowCount); }
1,104,418
public Level2CostEstimateImpl(double theCost, double theRowCount, double theSingleScanRowCount) { super(theCost, theRowCount, theSingleScanRowCount); }
public Level2CostEstimateImpl(double theCost, double theRowCount, double theSingleScanRowCount) { }
1,104,419
public CostEstimate optimizeIt( Optimizer optimizer, OptimizablePredicateList predList, CostEstimate outerCost, RowOrdering rowOrdering) throws StandardException { optimizer.trace(Optimizer.CALLING_ON_JOIN_NODE, 0, 0, 0.0, null); // It's possible that a call to optimize the left/right will ...
public CostEstimate optimizeIt( Optimizer optimizer, OptimizablePredicateList predList, CostEstimate outerCost, RowOrdering rowOrdering) throws StandardException { optimizer.trace(Optimizer.CALLING_ON_JOIN_NODE, 0, 0, 0.0, null); // It's possible that a call to optimize the left/right will ...
1,104,420
protected void cleanup() throws StandardException { lcc.popTriggerExecutionContext(this); /* ** Explicitly close all result sets that we have ** given out to the user. */ for (Enumeration enum = resultSetVector.elements(); enum.hasMoreElements(); ) { java.sql.ResultSet rs = (java.sql.ResultSet)enum.nex...
protected void cleanup() throws StandardException { lcc.popTriggerExecutionContext(this); /* ** Explicitly close all result sets that we have ** given out to the user. */ for (Enumeration enum = resultSetVector.elements(); enum.hasMoreElements(); ) { java.sql.ResultSet rs = (java.sql.ResultSet)enum.nex...
1,104,421
protected void cleanup() throws StandardException { lcc.popTriggerExecutionContext(this); /* ** Explicitly close all result sets that we have ** given out to the user. */ for (Enumeration enum = resultSetVector.elements(); enum.hasMoreElements(); ) { java.sql.ResultSet rs = (java.sql.ResultSet)enum.nex...
protected void cleanup() throws StandardException { lcc.popTriggerExecutionContext(this); /* ** Explicitly close all result sets that we have ** given out to the user. */ for (Enumeration enum = resultSetVector.elements(); enum.hasMoreElements(); ) { java.sql.ResultSet rs = (java.sql.ResultSet)e.nextEl...
1,104,422
public void setClientInfo(Properties properties) throws ClientInfoException { try { checkForNullPhysicalConnection(); } catch (SQLException se) { throw new ClientInfoException (se.getMessage(), se.getSQLState(), (new FailedProperties40(properties)).getProperties()); } physicalConnection_.setClientIn...
public void setClientInfo(Properties properties) throws SQLClientInfoException { try { checkForNullPhysicalConnection(); } catch (SQLException se) { throw new ClientInfoException (se.getMessage(), se.getSQLState(), (new FailedProperties40(properties)).getProperties()); } physicalConnection_.setClien...
1,104,424
public void setClientInfo(Properties properties) throws ClientInfoException { try { checkForNullPhysicalConnection(); } catch (SQLException se) { throw new ClientInfoException (se.getMessage(), se.getSQLState(), (new FailedProperties40(properties)).getProperties()); } physicalConnection_.setClientIn...
public void setClientInfo(Properties properties) throws ClientInfoException { try { checkForNullPhysicalConnection(); } catch (SQLException se) { throw new SQLClientInfoException (se.getMessage(), se.getSQLState(), (new FailedProperties40(properties)).getProperties()); } physicalConnection_.setClien...
1,104,425
public ijResult absolute(ResultSet rs, int row) throws SQLException { boolean forwardOnly; try { // absolute is only allowed on scroll cursors forwardOnly = (rs.getStatement().getResultSetType() == JDBC20Translation.TYPE_FORWARD_ONLY); } catch (AbstractMethodError ame) { //because weblo...
public ijResult absolute(ResultSet rs, int row) throws SQLException { boolean forwardOnly; try { // absolute is only allowed on scroll cursors forwardOnly = (rs.getStatement().getResultSetType() == JDBC20Translation.TYPE_FORWARD_ONLY); } catch (AbstractMethodError ame) { //because weblo...
1,104,426
private String createJDBCUrlWithDatabaseName(String name) { if (jdbcClient == JDBCClient.EMBEDDED) { return jdbcClient.getUrlBase() + dbName; } else { return jdbcClient.getUrlBase() + hostName + ":" + port + "/" + name; } }
private String createJDBCUrlWithDatabaseName(String name) { if (jdbcClient == JDBCClient.EMBEDDED) { return jdbcClient.getUrlBase() + name; } else { return jdbcClient.getUrlBase() + hostName + ":" + port + "/" + name; } }
1,104,429
public Connection getDefaultConnection() throws SQLException { Connection con = null; JDBCClient client =getJDBCClient(); if (HAVE_DRIVER) { loadJDBCDriver(client.getJDBCDriverName()); if (!isSingleLegXA()) { con = DriverManager.getConnect...
public Connection getDefaultConnection() throws SQLException { Connection con = null; JDBCClient client =getJDBCClient(); if (HAVE_DRIVER) { loadJDBCDriver(client.getJDBCDriverName()); if (!isSingleLegXA()) { con = DriverManager.getConnect...
1,104,430
public static Properties getDefaultDataSourceProperties() { Properties attrs = new Properties(); if (!(DERBY_TEST_CONFIG.getJDBCClient() == JDBCClient.EMBEDDED)) { attrs.setProperty("serverName", DERBY_TEST_CONFIG.getHostName()); attrs.setProperty("portNumber", Integer.toString(D...
public static Properties getDefaultDataSourceProperties() { Properties attrs = new Properties(); if (!(DERBY_TEST_CONFIG.getJDBCClient() == JDBCClient.EMBEDDED)) { attrs.setProperty("serverName", DERBY_TEST_CONFIG.getHostName()); attrs.setProperty("portNumber", Integer.toString(D...
1,104,431
private static void performImport(Connection connection, String schemaName, String insertColumnList, String columnIndexes, String tableName, String inputFileName, String columnDelimiter, String characterDelimiter, String codeset, short replace) throws SQLExcepti...
private static void performImport(Connection connection, String schemaName, String insertColumnList, String columnIndexes, String tableName, String inputFileName, String columnDelimiter, String characterDelimiter, String codeset, short replace) throws SQLExcepti...
1,104,432
private static void performImport(Connection connection, String schemaName, String insertColumnList, String columnIndexes, String tableName, String inputFileName, String columnDelimiter, String characterDelimiter, String codeset, short replace) throws SQLExcepti...
private static void performImport(Connection connection, String schemaName, String insertColumnList, String columnIndexes, String tableName, String inputFileName, String columnDelimiter, String characterDelimiter, String codeset, short replace) throws SQLExcepti...
1,104,433
public void bindExpressions(FromList fromListParam) throws StandardException { int fromListParamSize = fromListParam.size(); int fromListSize = fromList.size(); int numDistinctAggs; if (SanityManager.DEBUG) SanityManager.ASSERT(fromList != null && resultColumns != null, "Both fromList and resultColumns are ...
public void bindExpressions(FromList fromListParam) throws StandardException { int fromListParamSize = fromListParam.size(); int fromListSize = fromList.size(); int numDistinctAggs; if (SanityManager.DEBUG) SanityManager.ASSERT(fromList != null && resultColumns != null, "Both fromList and resultColumns are ...
1,104,435
public void bindExpressions(FromList fromListParam) throws StandardException { int fromListParamSize = fromListParam.size(); int fromListSize = fromList.size(); int numDistinctAggs; if (SanityManager.DEBUG) SanityManager.ASSERT(fromList != null && resultColumns != null, "Both fromList and resultColumns are ...
public void bindExpressions(FromList fromListParam) throws StandardException int fromListParamSize = fromListParam.size(); int fromListSize = fromList.size(); int numDistinctAggs; if (SanityManager.DEBUG) SanityManager.ASSERT(fromList != null && resultColumns != null, "Both fromList and resultColumns are e...
1,104,436
public void bindExpressions(FromList fromListParam) throws StandardException { int fromListParamSize = fromListParam.size(); int fromListSize = fromList.size(); int numDistinctAggs; if (SanityManager.DEBUG) SanityManager.ASSERT(fromList != null && resultColumns != null, "Both fromList and resultColumns are ...
public void bindExpressions(FromList fromListParam) throws StandardException { int fromListParamSize = fromListParam.size(); int fromListSize = fromList.size(); int numDistinctAggs; if (SanityManager.DEBUG) SanityManager.ASSERT(fromList != null && resultColumns != null, "Both fromList and resultColumns are ...
1,104,437
public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println...
public static void main(String[] args) { System.out.println("Start testing delete and update using JDBC2.0 updateable resultset apis"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); conn = ij.startJBMS(); setup(true); System.out.println...
1,104,439
static void setup(boolean first) throws SQLException { Statement stmt = conn.createStatement(); stmt.executeUpdate("create table t1 (c1 int, c2 char(20))"); stmt.executeUpdate("create view v1 as select * from t1"); stmt.executeUpdate("create table t2 (c21 int, c22 int)"); stmt.executeUpdate("create table t3 (c31 ...
static void setup(boolean first) throws SQLException { Statement stmt = conn.createStatement(); stmt.executeUpdate("create table t1 (c1 int, c2 char(20))"); stmt.executeUpdate("create view v1 as select * from t1"); stmt.executeUpdate("create table t2 (c21 int, c22 int)"); stmt.executeUpdate("create table t3 (c31 ...
1,104,440
static void setup(boolean first) throws SQLException { Statement stmt = conn.createStatement(); stmt.executeUpdate("create table t1 (c1 int, c2 char(20))"); stmt.executeUpdate("create view v1 as select * from t1"); stmt.executeUpdate("create table t2 (c21 int, c22 int)"); stmt.executeUpdate("create table t3 (c31 ...
static void setup(boolean first) throws SQLException { Statement stmt = conn.createStatement(); stmt.executeUpdate("create table t1 (c1 int, c2 char(20))"); stmt.executeUpdate("create view v1 as select * from t1"); stmt.executeUpdate("create table t2 (c21 int, c22 int)"); stmt.executeUpdate("create table t3 (c31 ...
1,104,441
public ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { /* ** Set the type of a parameter to the type of the result column. ** Don't do it if this result column doesn't have a type yet. ** This can happen if the parameter is part of a ...
public ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { /* ** Set the type of a parameter to the type of the result column. ** Don't do it if this result column doesn't have a type yet. ** This can happen if the parameter is part of a ...
1,104,442
public ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { /* ** Set the type of a parameter to the type of the result column. ** Don't do it if this result column doesn't have a type yet. ** This can happen if the parameter is part of a ...
public ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { /* ** Set the type of a parameter to the type of the result column. ** Don't do it if this result column doesn't have a type yet. ** This can happen if the parameter is part of a ...
1,104,443
boolean columnTypeAndLengthMatch() throws StandardException { DataTypeDescriptor resultColumnType; DataTypeDescriptor expressionType = expression.getTypeServices(); /* ** We can never make any assumptions about ** parameters. So don't even bother in this ** case. */ if (expression.isParameterNode()) { ret...
boolean columnTypeAndLengthMatch() throws StandardException { DataTypeDescriptor resultColumnType; DataTypeDescriptor expressionType = expression.getTypeServices(); /* ** We can never make any assumptions about ** parameters. So don't even bother in this ** case. */ if (expression.requiresTypeFromContext()) ...
1,104,444
public DataTypeDescriptor getExpressionType() { return (expression == null) ? dataTypeServices : expression.getTypeServices(); }
public DataTypeDescriptor getExpressionType() throws StandardException { return (expression == null) ? dataTypeServices : expression.getTypeServices(); }
1,104,445
public TypeId getTypeId() { TypeId t = super.getTypeId(); if( t == null) { if( expression != null) { DataTypeDescriptor dtd = getTypeServices(); if( dtd != null) t = dtd.getTypeId(); } } return t; } // ...
public TypeId getTypeId() throws StandardException { TypeId t = super.getTypeId(); if( t == null) { if( expression != null) { DataTypeDescriptor dtd = getTypeServices(); if( dtd != null) t = dtd.getTypeId(); } ...
1,104,446
public DataTypeDescriptor getTypeServices() { DataTypeDescriptor dtd = super.getTypeServices(); if( dtd == null && expression != null) { dtd = expression.getTypeServices(); if( dtd != null) setType( dtd); } return dtd; } // end of getTypeServic...
public DataTypeDescriptor getTypeServices() throws StandardException { DataTypeDescriptor dtd = super.getTypeServices(); if( dtd == null && expression != null) { dtd = expression.getTypeServices(); if( dtd != null) setType( dtd); } return dtd; ...
1,104,447
public void init(Object arg1, Object arg2) { // RESOLVE: This is something of a hack - it is not obvious that // the first argument being null means it should be treated as // a String. if ((arg1 instanceof String) || (arg1 == null)) { this.name = (String) arg1; this.exposedName = this.name; this.expression...
public void init(Object arg1, Object arg2) throws StandardException { // RESOLVE: This is something of a hack - it is not obvious that // the first argument being null means it should be treated as // a String. if ((arg1 instanceof String) || (arg1 == null)) { this.name = (String) arg1; this.exposedName = thi...
1,104,448
protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate( "create procedure checkConn2(in d...
protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate( "create procedure checkConn2(in d...
1,104,450
private void addRowToHashTable(ExecRow sourceRow) throws StandardException { DataValueDescriptor[] hashRowArray = new DataValueDescriptor[sourceRowWidth + 1]; // 1st element is the key hashRowArray[0] = new SQLInteger(positionInSource); /* Copy rest of elements from sourceRow. * NOTE: We need to clone the sourc...
private void addRowToHashTable(ExecRow sourceRow, int position, RowLocation rowLoc, boolean rowUpdated) throws StandardException { DataValueDescriptor[] hashRowArray = new DataValueDescriptor[sourceRowWidth + 1]; // 1st element is the key hashRowArray[0] = new SQLInteger(positionInSource); /* Copy rest of element...
1,104,452
private void addRowToHashTable(ExecRow sourceRow) throws StandardException { DataValueDescriptor[] hashRowArray = new DataValueDescriptor[sourceRowWidth + 1]; // 1st element is the key hashRowArray[0] = new SQLInteger(positionInSource); /* Copy rest of elements from sourceRow. * NOTE: We need to clone the sourc...
private void addRowToHashTable(ExecRow sourceRow) throws StandardException { DataValueDescriptor[] hashRowArray = new DataValueDescriptor[sourceRowWidth + extraColumns]; // 1st element is the key hashRowArray[0] = new SQLInteger(positionInSource); /* Copy rest of elements from sourceRow. * NOTE: We need to clon...
1,104,453
private void addRowToHashTable(ExecRow sourceRow) throws StandardException { DataValueDescriptor[] hashRowArray = new DataValueDescriptor[sourceRowWidth + 1]; // 1st element is the key hashRowArray[0] = new SQLInteger(positionInSource); /* Copy rest of elements from sourceRow. * NOTE: We need to clone the sourc...
private void addRowToHashTable(ExecRow sourceRow) throws StandardException { DataValueDescriptor[] hashRowArray = new DataValueDescriptor[sourceRowWidth + 1]; // 1st element is the key hashRowArray[0] = new SQLInteger(position); if (isForUpdate()) { hashRowArray[POS_ROWLOCATION] = rowLoc.getClone(); hashRowArray[P...
1,104,454
private void addRowToHashTable(ExecRow sourceRow) throws StandardException { DataValueDescriptor[] hashRowArray = new DataValueDescriptor[sourceRowWidth + 1]; // 1st element is the key hashRowArray[0] = new SQLInteger(positionInSource); /* Copy rest of elements from sourceRow. * NOTE: We need to clone the sourc...
private void addRowToHashTable(ExecRow sourceRow) throws StandardException { DataValueDescriptor[] hashRowArray = new DataValueDescriptor[sourceRowWidth + 1]; // 1st element is the key hashRowArray[0] = new SQLInteger(positionInSource); /* Copy rest of elements from sourceRow. * NOTE: We need to clone the sourc...
1,104,455
public ExecRow getCurrentRow() { return currentRow; }
public ExecRow getCurrentRow() throws StandardException { return currentRow; }
1,104,456
public ExecRow getCurrentRow() { return currentRow; }
public ExecRow getCurrentRow() { if (isForUpdate() && isDeleted()) { return null; } else { return currentRow; } }
1,104,457
private ExecRow getNextRowFromSource() throws StandardException { ExecRow sourceRow = null; ExecRow result = null; /* Don't give back more rows than requested */ if (maxRows > 0 && maxRows == positionInSource) { seenLast = true; lastPosition = positionInSource; afterLast = true; return null; } sourceR...
private ExecRow getNextRowFromSource() throws StandardException { ExecRow sourceRow = null; ExecRow result = null; /* Don't give back more rows than requested */ if (maxRows > 0 && maxRows == positionInSource) { seenLast = true; lastPosition = positionInSource; afterLast = true; return null; } sourceR...
1,104,458
private ExecRow getRowFromHashTable(int position) throws StandardException { // Get the row from the hash table DataValueDescriptor[] hashRowArray = (DataValueDescriptor[]) ht.get(new SQLInteger(position)); if (SanityManager.DEBUG) { SanityManager.ASSERT(hashRowArray != null, "hashRowArray expected to be non...
private ExecRow getRowFromHashTable(int position) throws StandardException { // Get the row from the hash table positionInHashTable.setValue(position); DataValueDescriptor[] hashRowArray = (DataValueDescriptor[]) ht.get(positionInHashTable); if (SanityManager.DEBUG) { SanityManager.ASSERT(hashRowArray != null, ...
1,104,459
private ExecRow getRowFromHashTable(int position) throws StandardException { // Get the row from the hash table DataValueDescriptor[] hashRowArray = (DataValueDescriptor[]) ht.get(new SQLInteger(position)); if (SanityManager.DEBUG) { SanityManager.ASSERT(hashRowArray != null, "hashRowArray expected to be non...
private ExecRow getRowFromHashTable(int position) throws StandardException { // Get the row from the hash table DataValueDescriptor[] hashRowArray = (DataValueDescriptor[]) ht.get(new SQLInteger(position)); if (SanityManager.DEBUG) { SanityManager.ASSERT(hashRowArray != null, "hashRowArray expected to be non...
1,104,460
private ExecRow getRowFromHashTable(int position) throws StandardException { // Get the row from the hash table DataValueDescriptor[] hashRowArray = (DataValueDescriptor[]) ht.get(new SQLInteger(position)); if (SanityManager.DEBUG) { SanityManager.ASSERT(hashRowArray != null, "hashRowArray expected to be non...
private ExecRow getRowFromHashTable(int position) throws StandardException { // Get the row from the hash table DataValueDescriptor[] hashRowArray = (DataValueDescriptor[]) ht.get(new SQLInteger(position)); if (SanityManager.DEBUG) { SanityManager.ASSERT(hashRowArray != null, "hashRowArray expected to be non...
1,104,461
public ColPermsDescriptor newColPermsDescriptor( TableDescriptor td, String type, FormatableBitSet columns, String grantor) { return new ColPermsDescr...
public ColPermsDescriptor newColPermsDescriptor( TableDescriptor td, String type, FormatableBitSet columns, String grantor) throws StandardException { ...
1,104,462
protected Shell getShell() throws JellyTagException { ApplicationWindowTag tag = (ApplicationWindowTag) findAncestorWithClass(ApplicationWindowTag.class); if (tag == null) { throw new JellyTagException("This tag must be nested inside a <applicationWindow>"); } else { ...
protected Shell getShell() throws JellyTagException { ApplicationWindowTag tag = (ApplicationWindowTag) findAncestorWithClass(ApplicationWindowTag.class); if (tag == null) { throw new JellyTagException("This tag must be nested inside a <applicationWindow>"); } else { ...
1,104,464
protected Shell getShell() throws JellyTagException { ApplicationWindowTag tag = (ApplicationWindowTag) findAncestorWithClass(ApplicationWindowTag.class); if (tag == null) { throw new JellyTagException("This tag must be nested inside a <applicationWindow>"); } else { ...
protected Shell getShell() throws JellyTagException { ApplicationWindowTag tag = (ApplicationWindowTag) findAncestorWithClass(ApplicationWindowTag.class); if (tag == null) { throw new JellyTagException("This tag must be nested inside a <applicationWindow>"); } else { ...
1,104,465
public void bind( TableDescriptor td) throws StandardException { this.td = td; for( int action = 0; action < TablePrivilegeInfo.ACTION_COUNT; action++) { if( columnLists[ action] != null) columnBitSets[action] = columnLists[ action].bindResultColumnsByName( td, (DMLStatementNode) null); // Prevent granting...
public void bind( TableDescriptor td, boolean isGrant) throws StandardException { this.td = td; for( int action = 0; action < TablePrivilegeInfo.ACTION_COUNT; action++) { if( columnLists[ action] != null) columnBitSets[action] = columnLists[ action].bindResultColumnsByName( td, (DMLStatementNode) null); //...
1,104,466
public PrivilegeInfo makePrivilegeInfo() { return new TablePrivilegeInfo( td, actionAllowed, columnBitSets); }
public PrivilegeInfo makePrivilegeInfo() { return new TablePrivilegeInfo( td, actionAllowed, columnBitSets, descriptorList); }
1,104,468
public static void main (String args[]) throws Exception { if ((System.getProperty("java.vm.name") != null) && System.getProperty("java.vm.name").equals("J9")) jvm = jvm.getJvm("j9_13"); else jvm = jvm.getJvm("currentjvm"); // ensure compatibility vCmd = jvm.getCommandLine(); try { Connection conn1 = ij.st...
public static void main (String args[]) throws Exception { if ((System.getProperty("java.vm.name") != null) && System.getProperty("java.vm.name").equals("J9")) jvm = jvm.getJvm("j9_13"); else jvm = jvm.getJvm("currentjvm"); // ensure compatibility vCmd = jvm.getCommandLine(); try { Connection conn1 = ij.st...
1,104,469
private static void testConnect(Driver driver, String url, Properties info) throws SQLException { String infoString = null; if (info != null) infoString = replaceSystemHome(info.toString()); String urlString = replaceSystemHome(url); Connection conn = driver.connect(url,info); System.out.println("\nConnection...
private static Connection testConnect(Driver driver, String url, Properties info) throws SQLException { String infoString = null; if (info != null) infoString = replaceSystemHome(info.toString()); String urlString = replaceSystemHome(url); Connection conn = driver.connect(url,info); System.out.println("\nConn...
1,104,471
public ExecRow getAbsoluteRow(int row) throws StandardException { if ( ! isOpen ) { throw StandardException.newException(SQLState.LANG_RESULT_SET_NOT_OPEN, "absolute"); } attachStatementContext(); if (SanityManager.DEBUG) { if (!isTopResultSet) { SanityManager.THROWASSERT( this + "expected to be...
public ExecRow getAbsoluteRow(int row) throws StandardException { if ( ! isOpen ) { throw StandardException.newException(SQLState.LANG_RESULT_SET_NOT_OPEN, "absolute"); } attachStatementContext(); if (SanityManager.DEBUG) { if (!isTopResultSet) { SanityManager.THROWASSERT( this + "expected to be...
1,104,473
public ExecRow getRelativeRow(int row) throws StandardException { if ( ! isOpen ) { throw StandardException.newException(SQLState.LANG_RESULT_SET_NOT_OPEN, "relative"); } attachStatementContext(); if (SanityManager.DEBUG) { if (!isTopResultSet) { SanityManager.THROWASSERT( this + "expected to be...
public ExecRow getRelativeRow(int row) throws StandardException { if ( ! isOpen ) { throw StandardException.newException(SQLState.LANG_RESULT_SET_NOT_OPEN, "relative"); } attachStatementContext(); if (SanityManager.DEBUG) { if (!isTopResultSet) { SanityManager.THROWASSERT( this + "expected to be...
1,104,474
public void generate(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException { if (SanityManager.DEBUG) SanityManager.ASSERT(resultColumns != null, "Tree structure bad"); /* Get the next ResultSet #, so that we can number this ResultSetNode, its * ResultColumnList and ResultSet. ...
public void generate(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException { if (SanityManager.DEBUG) SanityManager.ASSERT(resultColumns != null, "Tree structure bad"); /* Get the next ResultSet #, so that we can number this ResultSetNode, its * ResultColumnList and ResultSet. ...
1,104,476
private static void execTestProcess(String[] testCmd) throws Exception { // Execute the process and handle the results Process pr = null; try { // We need the process inputstream and errorstream ProcessStreamResult prout = null; ProcessStreamResu...
private static void execTestProcess(String[] testCmd) throws Exception { // Execute the process and handle the results Process pr = null; try { // We need the process inputstream and errorstream ProcessStreamResult prout = null; ProcessStreamResu...
1,104,479
private static void execTestProcess(String[] testCmd) throws Exception { // Execute the process and handle the results Process pr = null; try { // We need the process inputstream and errorstream ProcessStreamResult prout = null; ProcessStreamResu...
private static void execTestProcess(String[] testCmd) throws Exception { // Execute the process and handle the results Process pr = null; try { // We need the process inputstream and errorstream ProcessStreamResult prout = null; ProcessStreamResu...
1,104,480
protected void setUp() throws Exception { if (config.getJDBCClient().isEmbedded()) { BaseTestCase.println("Starting network server:"); networkServerController = new NetworkServerControl (InetAddress.getByName(config.getHostName()), config.getPort()); ...
protected void setUp() throws Exception { if (!config.getJDBCClient().isEmbedded()) { BaseTestCase.println("Starting network server:"); networkServerController = new NetworkServerControl (InetAddress.getByName(config.getHostName()), config.getPort()); ...
1,104,482
public UnionResultSet(NoPutResultSet source1, NoPutResultSet source2, Activation activation, int resultSetNumber, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod closeCleanup) { super(activation, resultSetNumber, optimizerEstimatedR...
public UnionResultSet(NoPutResultSet source1, NoPutResultSet source2, Activation activation, int resultSetNumber, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod closeCleanup) { super(activation, resultSetNumber, optimizerEstimatedR...
1,104,485
public UnionResultSet(NoPutResultSet source1, NoPutResultSet source2, Activation activation, int resultSetNumber, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod closeCleanup) { super(activation, resultSetNumber, optimizerEstimatedR...
public UnionResultSet(NoPutResultSet source1, NoPutResultSet source2, Activation activation, int resultSetNumber, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod closeCleanup) { super(activation, resultSetNumber, optimizerEstimatedR...
1,104,486
public void close() throws StandardException { beginTime = getCurrentTimeMillis(); if ( isOpen ) { if (closeCleanup != null) { closeCleanup.invoke(activation); // let activation tidy up } // we don't want to keep around a pointer to the // row ... so it can be thrown away. // REVISIT: does this need to ...
public void close() throws StandardException { beginTime = getCurrentTimeMillis(); if ( isOpen ) { if (closeCleanup != null) { closeCleanup.invoke(activation); // let activation tidy up } // we don't want to keep around a pointer to the // row ... so it can be thrown away. // REVISIT: does this need to ...
1,104,487
public void close() throws StandardException { beginTime = getCurrentTimeMillis(); if ( isOpen ) { if (closeCleanup != null) { closeCleanup.invoke(activation); // let activation tidy up } // we don't want to keep around a pointer to the // row ... so it can be thrown away. // REVISIT: does this need to ...
public void close() throws StandardException { beginTime = getCurrentTimeMillis(); if ( isOpen ) { if (closeCleanup != null) { closeCleanup.invoke(activation); // let activation tidy up } // we don't want to keep around a pointer to the // row ... so it can be thrown away. // REVISIT: does this need to ...
1,104,488
void parseDescribeError(StatementCallbackInterface statement) throws DisconnectException { int peekCP = peekCodePoint(); switch (peekCP) { case CodePoint.ABNUOWRM: { NetSqlca sqlca = parseAbnormalEndUow(statement.getConnectionCallbackInterface()); statem...
void parseDescribeError(StatementCallbackInterface statement) throws DisconnectException { int peekCP = peekCodePoint(); switch (peekCP) { case CodePoint.ABNUOWRM: { NetSqlca sqlca = parseAbnormalEndUow(statement); statement.completeSqlca(sqlca); ...
1,104,489
void parseExecuteError(StatementCallbackInterface statementI) throws DisconnectException { int peekCP = peekCodePoint(); switch (peekCP) { case CodePoint.ABNUOWRM: { NetSqlca sqlca = parseAbnormalEndUow(statementI.getConnectionCallbackInterface()); state...
void parseExecuteError(StatementCallbackInterface statementI) throws DisconnectException { int peekCP = peekCodePoint(); switch (peekCP) { case CodePoint.ABNUOWRM: { NetSqlca sqlca = parseAbnormalEndUow(statementI); statementI.completeSqlca(sqlca); ...
1,104,490
void parseExecuteImmediateError(StatementCallbackInterface statement) throws DisconnectException { int peekCP = peekCodePoint(); switch (peekCP) { case CodePoint.ABNUOWRM: { NetSqlca sqlca = parseAbnormalEndUow(statement.getConnectionCallbackInterface()); ...
void parseExecuteImmediateError(StatementCallbackInterface statement) throws DisconnectException { int peekCP = peekCodePoint(); switch (peekCP) { case CodePoint.ABNUOWRM: { NetSqlca sqlca = parseAbnormalEndUow(statement); statement.completeSqlca(sqlca);...
1,104,491
void parseExecuteSetStatementError(StatementCallbackInterface statement) throws DisconnectException { int peekCP = peekCodePoint(); switch (peekCP) { case CodePoint.ABNUOWRM: { NetSqlca sqlca = parseAbnormalEndUow(statement.getConnectionCallbackInterface()); ...
void parseExecuteSetStatementError(StatementCallbackInterface statement) throws DisconnectException { int peekCP = peekCodePoint(); switch (peekCP) { case CodePoint.ABNUOWRM: { NetSqlca sqlca = parseAbnormalEndUow(statement); statement.completeSqlca(sqlc...
1,104,492
void parseOpenQueryError(StatementCallbackInterface statementI) throws DisconnectException { int peekCP = peekCodePoint(); switch (peekCP) { case CodePoint.ABNUOWRM: { NetSqlca sqlca = parseAbnormalEndUow(statementI.getConnectionCallbackInterface()); sta...
void parseOpenQueryError(StatementCallbackInterface statementI) throws DisconnectException { int peekCP = peekCodePoint(); switch (peekCP) { case CodePoint.ABNUOWRM: { NetSqlca sqlca = parseAbnormalEndUow(statementI); statementI.completeSqlca(sqlca); ...
1,104,493
void parsePrepareError(StatementCallbackInterface statement) throws DisconnectException { int peekCP = peekCodePoint(); switch (peekCP) { case CodePoint.ABNUOWRM: { NetSqlca sqlca = parseAbnormalEndUow(statement.getConnectionCallbackInterface()); stateme...
void parsePrepareError(StatementCallbackInterface statement) throws DisconnectException { int peekCP = peekCodePoint(); switch (peekCP) { case CodePoint.ABNUOWRM: { NetSqlca sqlca = parseAbnormalEndUow(statement); statement.completeSqlca(sqlca); ...
1,104,494
NetCursor(NetAgent netAgent, int qryprctyp) //protocolType, CodePoint.FIXROWPRC | CodePoint.LMTBLKPRC { this(netAgent); if (qryprctyp == CodePoint.FIXROWPRC) { blocking_ = false; } else if (qryprctyp == CodePoint.LMTBLKPRC) { blocking_ = true; } ...
NetCursor(NetAgent netAgent, int qryprctyp) //protocolType, CodePoint.FIXROWPRC | CodePoint.LMTBLKPRC { this(netAgent); if (qryprctyp == CodePoint.FIXROWPRC) { blocking_ = false; } else if (qryprctyp == CodePoint.LMTBLKPRC) { blocking_ = true; } ...
1,104,495
private void vetMethod ( Object candidate, Class iface, Method method, HashSet<String> unsupportedList, HashSet<String> notUnderstoodList ) throws Exception { try { method.invoke( candidate, getNullArguments( method.getParameterTypes() ) ); // it's ok for the method to succeed } catch (Throwable e) { if...
private void vetMethod ( Object candidate, Class iface, Method method, HashSet<String> unsupportedList, HashSet<String> notUnderstoodList ) throws Exception { try { method.invoke( candidate, getNullArguments( method.getParameterTypes() ) ); // it's ok for the method to succeed } catch (Throwable e) { if...
1,104,496
public SubKeyConstraintDescriptor(UUID constraintId, UUID indexId, UUID keyConstraintId, int raDeleteRule, int raUpdateRule) { this(constraintId, indexId); this.keyConstraintId = keyConstraintId; this.raDeleteRule = raDeleteRule; this.raUpdateRule = raUpdateRule; }
public SubKeyConstraintDescriptor(UUID constraintId, UUID indexId, UUID keyConstraintId, int raDeleteRule, int raUpdateRule) { this(constraintId, indexId); this.keyConstraintId = keyConstraintId; this.raDeleteRule = raDeleteRule; this.raUpdateRule = raUpdateRule; }
1,104,497
public SubKeyConstraintDescriptor(UUID constraintId, UUID indexId, UUID keyConstraintId, int raDeleteRule, int raUpdateRule) { this(constraintId, indexId); this.keyConstraintId = keyConstraintId; this.raDeleteRule = raDeleteRule; this.raUpdateRule = raUpdateRule; }
public SubKeyConstraintDescriptor(UUID constraintId, UUID indexId, UUID keyConstraintId, int raDeleteRule, int raUpdateRule) { this(constraintId, indexId); this.keyConstraintId = keyConstraintId; this.raDeleteRule = raDeleteRule; this.raUpdateRule = raUpdateRule; }
1,104,498
public void checkConnection(String dsName, Connection conn) throws SQLException { System.out.println("Running JDBC 3.0 connection checks on " + dsName); System.out.println(" holdability " + (conn.getHoldability() == ResultSet.HOLD_CURSORS_OVER_COMMIT)); // check it's a 3.0 connection object try { conn.rel...
public void checkConnection(String dsName, Connection conn) throws SQLException { System.out.println("Running JDBC 3.0 connection checks on " + dsName); System.out.println(" holdability " + (conn.getHoldability() == ResultSet.HOLD_CURSORS_OVER_COMMIT)); // check it's a 3.0 connection object try { conn.rel...
1,104,499
public void setValue(String theValue) throws StandardException { if (theValue == null) { restoreToNull(); return; } theValue = theValue.trim(); int dot = theValue.indexOf('.'); int ePosition = theValue.indexOf('e'); if (ePosition == -1) ePosition = theValue.indexOf('E'); int scale = 0; try { ...
public void setValue(String theValue) throws StandardException { if (theValue == null) { restoreToNull(); return; } theValue = theValue.trim(); int dot = theValue.indexOf('.'); int ePosition = theValue.indexOf('e'); if (ePosition == -1) ePosition = theValue.indexOf('E'); int scale = 0; try { ...
1,104,501
public void createFromBackup(String newDbName) throws SQLException { Connection conn = DriverManager.getConnection("jdbc:derby:"+ newDbName + ";" + "createFrom=" + backupPath + "/" + dbName); conn.close(); }
public void createFromBackup(String newDbName) throws SQLException { Connection conn = DriverManager.getConnection("jdbc:derby:"+ newDbName + ";" + "createFrom=" + backupPath + "/" + dbName); conn.close(); }
1,104,502
public boolean isRunning() { return beginBackup; }
public synchronized boolean isRunning() { return beginBackup; }
1,104,503
void performBackup() throws SQLException { Connection conn = DriverManager.getConnection("jdbc:derby:"+ dbName); CallableStatement backupStmt = conn.prepareCall("CALL SYSCS_UTIL.SYSCS_BACKUP_DATABASE(?)"); backupStmt.setString(1, backupPath); synchronized(this) { beginBackup = true; endBackup = false; ...
void performBackup() throws SQLException { Connection conn = getConnection(dbName , ""); CallableStatement backupStmt = conn.prepareCall("CALL SYSCS_UTIL.SYSCS_BACKUP_DATABASE(?)"); backupStmt.setString(1, backupPath); synchronized(this) { beginBackup = true; endBackup = false; notifyAll(); } backup...
1,104,504
public void restoreFromBackup() throws SQLException { Connection conn = DriverManager.getConnection("jdbc:derby:"+ dbName + ";" + "restoreFrom=" + backupPath + "/" + dbName); conn.close(); }
public void restoreFromBackup() throws SQLException { Connection conn = DriverManager.getConnection("jdbc:derby:"+ dbName + ";" + "restoreFrom=" + backupPath + "/" + dbName); conn.close(); }
1,104,505
public static Test suite() { TestSuite mainSuite = new TestSuite("SURTest"); // DB2 client doesn't support this functionality if (usingDerbyNet()) return mainSuite; // Iterate over all data models and decorate the tests: for (Iterator i = SURData...
public static Test suite() { TestSuite mainSuite = new TestSuite("SURTest"); // DB2 client doesn't support this functionality if (usingDerbyNet()) return mainSuite; // Iterate over all data models and decorate the tests: for (Iterator i = SURData...
1,104,506
private void recoverXA() throws DRDAProtocolException { XAResource xaResource = getXAResource(); int xaRetVal = xaResource.XA_OK; Xid[] indoubtXids = null; try { indoubtXids = xaResource.recover(XAResource.TMSTARTRSCAN); } catch (XAException xe) { xaRetVal = processXAException(xe); } writeSYNCCRD(CodePoint...
private void recoverXA() throws DRDAProtocolException { XAResource xaResource = getXAResource(); int xaRetVal = xaResource.XA_OK; Xid[] indoubtXids = null; try { indoubtXids = xaResource.recover(XAResource.TMSTARTRSCAN); } catch (XAException xe) { xaRetVal = processXAException(xe); } writeSYNCCRD(CodePoint...
1,104,507
public static Test suite() { return new BlobClobTestSetup(new TestSuite(ClobTest.class, "ClobTest suite")); }
public static Test suite() { return new BlobClobTestSetup(new TestSuite(ClobTest.class, "ClobTest suite")); }
1,104,508
CPFile( CPFile dir, String name) { super( dir,name); this.storageFactory = dir.storageFactory; }
CPFile( CPStorageFactory storageFactory, String path) { super( dir,name); this.storageFactory = dir.storageFactory; }
1,104,509
CPFile( CPFile dir, String name) { super( dir,name); this.storageFactory = dir.storageFactory; }
CPFile( CPFile dir, String name) { super( dir,name); this.storageFactory = dir.storageFactory; }
1,104,510
public void deleteRow() throws SQLException { synchronized (getConnectionSynchronization()) { checksBeforeUpdateOrDelete("deleteRow", -1); // Check that the cursor is not positioned on insertRow checkNotOnInsertRow(); setupContextStack(); //now c...
public void deleteRow() throws SQLException { synchronized (getConnectionSynchronization()) { checksBeforeUpdateOrDelete("deleteRow", -1); // Check that the cursor is not positioned on insertRow checkNotOnInsertRow(); setupContextStack(); //now c...
1,104,511
public void insertRow() throws SQLException { synchronized (getConnectionSynchronization()) { checksBeforeInsert(); setupContextStack(); LanguageConnectionContext lcc = null; StatementContext statementContext = null; try { /* ...
public void insertRow() throws SQLException { synchronized (getConnectionSynchronization()) { checksBeforeInsert(); setupContextStack(); LanguageConnectionContext lcc = null; StatementContext statementContext = null; try { /* ...
1,104,512
public void updateRow() throws SQLException { synchronized (getConnectionSynchronization()) { checksBeforeUpdateOrDelete("updateRow", -1); // Check that the cursor is not positioned on insertRow checkNotOnInsertRow(); setupContextStack(); LanguageConnectionContex...
public void updateRow() throws SQLException { synchronized (getConnectionSynchronization()) { checksBeforeUpdateOrDelete("updateRow", -1); // Check that the cursor is not positioned on insertRow checkNotOnInsertRow(); setupContextStack(); LanguageConnectionContex...
1,104,513
public void addRequiredSchemaPriv(String schema, String aid, boolean privType);
public void addRequiredSchemaPriv(String schema, String aid, int privType);
1,104,515
public TablePrivilegeInfo( TableDescriptor td, boolean[] actionAllowed, FormatableBitSet[] columnBitSets) { this.actionAllowed = actionAllowed; this.columnBitSets = columnBitSets; this.td = td; }
public TablePrivilegeInfo( TableDescriptor td, boolean[] actionAllowed, FormatableBitSet[] columnBitSets, List descriptorList) { this.actionAllowed = actionAllowed; this.columnBitSets = columnBitSets; this.td = td; }
1,104,516
public void executeGrantRevoke( Activation activation, boolean grant, List grantees) throws StandardException { LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDataDictionary(); String currentUser = lcc.getAuthorizationId(); TransactionControll...
public void executeGrantRevoke( Activation activation, boolean grant, List grantees) throws StandardException { LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDataDictionary(); String currentUser = lcc.getAuthorizationId(); TransactionControll...
1,104,519
public NumberDataValue divide(NumberDataValue dividend, NumberDataValue divisor, NumberDataValue result, int scale) throws StandardException;
public NumberDataValue divide(NumberDataValue dividend, NumberDataValue divisor, NumberDataValue result, int scale) throws StandardException;
1,104,520
synchronized void makeConnection(Properties p) throws SQLException { if (xaDataSource == null) { xaDataSource = new EmbeddedXADataSource(); } xaDataSource.setDatabaseName(shortDbName); appendAttrString(p); if (attrString != null) xaDataSource.setConnectionAttributes(attrString); Connection conn = getConne...
synchronized void makeConnection(Properties p) throws SQLException { if (xaDataSource == null) { xaDataSource = new EmbeddedXADataSource(); } xaDataSource.setDatabaseName(shortDbName); appendAttrString(p); if (attrString != null) xaDataSource.setConnectionAttributes(attrString); EngineConnection conn = ge...
1,104,521
synchronized void makeConnection(Properties p) throws SQLException { if (xaDataSource == null) { xaDataSource = new EmbeddedXADataSource(); } xaDataSource.setDatabaseName(shortDbName); appendAttrString(p); if (attrString != null) xaDataSource.setConnectionAttributes(attrString); Connection conn = getConne...
synchronized void makeConnection(Properties p) throws SQLException { if (xaDataSource == null) { xaDataSource = new EmbeddedXADataSource(); } xaDataSource.setDatabaseName(shortDbName); appendAttrString(p); if (attrString != null) xaDataSource.setConnectionAttributes(attrString); Connection conn = getConne...
1,104,522
private final boolean readRecordFromArray( Object[] row, int max_colid, int[] vCols, int[] mCols, ArrayInputStream dataIn, StoredRecordHeader recordHeader, ErrorObjectInput inUserCode, RecordHandle recordToL...
private final boolean readRecordFromArray( Object[] row, int max_colid, int[] vCols, int[] mCols, ArrayInputStream dataIn, StoredRecordHeader recordHeader, RecordHandle recordToLock) throws StandardException, IO...
1,104,524
private final boolean readRecordFromStream( Object[] row, int max_colid, int[] vCols, int[] mCols, LimitObjectInput dataIn, StoredRecordHeader recordHeader, ErrorObjectInput inUserCode, RecordHandle recordTo...
private final boolean readRecordFromStream( Object[] row, int max_colid, int[] vCols, int[] mCols, LimitObjectInput dataIn, StoredRecordHeader recordHeader, RecordHandle recordToLock) throws StandardException, I...
1,104,526
private StoredRecordHeader restoreLongRecordFromSlot( Object[] row, FetchDescriptor fetchDesc, RecordHandle recordToLock, StoredRecordHeader parent_recordHeader) throws StandardException { int slot = findRecordById( parent_recordHea...
private StoredRecordHeader restoreLongRecordFromSlot( Object[] row, FetchDescriptor fetchDesc, RecordHandle recordToLock, StoredRecordHeader parent_recordHeader) throws StandardException { int slot = findRecordById( parent_recordHea...
1,104,528
protected boolean restoreRecordFromSlot( int slot, Object[] row, FetchDescriptor fetchDesc, RecordHandle recordToLock, StoredRecordHeader recordHeader, boolean isHeadRow) throws StandardException { try { int offs...
protected boolean restoreRecordFromSlot( int slot, Object[] row, FetchDescriptor fetchDesc, RecordHandle recordToLock, StoredRecordHeader recordHeader, boolean isHeadRow) throws StandardException { try { int offs...
1,104,529
public void restoreRecordFromStream( LimitObjectInput in, Object[] row) throws StandardException, IOException { StoredRecordHeader recordHeader = new StoredRecordHeader(); recordHeader.read(in); readRecordFromStream( row, row.length - 1, (int[]) null, ...
public void restoreRecordFromStream( LimitObjectInput in, Object[] row) throws StandardException, IOException { StoredRecordHeader recordHeader = new StoredRecordHeader(); recordHeader.read(in); readRecordFromStream( row, row.length - 1, (int[]) null, ...
1,104,530
private void checkSufficientData() throws IOException { int remainingBytes = reader.clearLimit(); if (remainingBytes > 0) throw new IOException(MessageService.getTextMessage(SQLState.SET_STREAM_INEXACT_LENGTH_DATA)); // if we had a limit try reading one more character. // JDBC 3.0 states the stream muct have the...
private void checkSufficientData() throws IOException { if (charsToTruncate > 0) { reader.setLimit(charsToTruncate); int c = 0; do { c = reader.read(); if (c < 0) { break; } else if (c != SPACE) { throw new IOException( MessageService.getTextMessage( SQLState.LANG_STRING_TRUNCATION, TypeId.CLOB_NAME, "XXXX", Str...
1,104,531
protected synchronized final InputStream loadModuleDefinitions() { action = 2; try { return (InputStream) java.security.AccessController.doPrivileged(this); } catch (java.security.PrivilegedActionException pae) { throw (RuntimeException) pae.getException(); } }
protected synchronized final InputStream loadModuleDefinitions(URL propertyFileURL) throws IOException { action = 2; try { return (InputStream) java.security.AccessController.doPrivileged(this); } catch (java.security.PrivilegedActionException pae) { throw (RuntimeException) pae.getException(); } }
1,104,532
protected synchronized final InputStream loadModuleDefinitions() { action = 2; try { return (InputStream) java.security.AccessController.doPrivileged(this); } catch (java.security.PrivilegedActionException pae) { throw (RuntimeException) pae.getException(); } }
protected synchronized final InputStream loadModuleDefinitions() { action = 2; try { return (InputStream) java.security.AccessController.doPrivileged(this); } catch (java.security.PrivilegedActionException pae) { throw (RuntimeException) pae.getException(); } }
1,104,533
public final Object run() throws IOException { switch (action) { case 0: case 1: // SECURITY PERMISSION - OP2, OP2a, OP2b return new Boolean(PBinitialize(action == 0)); case 2: // SECURITY PERMISSION - IP1 return super.loadModuleDefinitions(); case 3: // SECURITY PERMISSION - OP1 return PBgetJVMPrope...
public final Object run() throws IOException { switch (action) { case 0: case 1: // SECURITY PERMISSION - OP2, OP2a, OP2b return new Boolean(PBinitialize(action == 0)); case 2: // SECURITY PERMISSION - IP1 return super.loadModuleDefinitions( propertyFileURL); case 3: // SECURITY PERMISSION - OP1 retu...
1,104,534
public boolean isPoolable() throws SQLException{ throw Util.notImplemented(); }
public boolean isPoolable() throws SQLException{ throw Util.notImplemented(); }
1,104,535
public void setPoolable(boolean poolable) throws SQLException{ throw Util.notImplemented(); }
public void setPoolable(boolean poolable) throws SQLException{ throw Util.notImplemented(); }
1,104,536
public void readCommit() throws SqlException { if (isXAConnection_) { // XA Connection int xaState = getXAState(); NetXACallInfo callInfo = xares_.callInfoArray_[currXACallInfoOffset_]; callInfo.xaRetVal_ = NetXAResource.XARETVAL_XAOK; // initialize XARETVAL if (xa...
public void readCommit() throws SqlException { if (isXAConnection_) { // XA Connection int xaState = getXAState(); NetXACallInfo callInfo = xares_.callInfoArray_[currXACallInfoOffset_]; callInfo.xaRetVal_ = NetXAResource.XARETVAL_XAOK; // initialize XARETVAL if (xa...
1,104,538
public void readRollback() throws SqlException { if (isXAConnection_) { // XA connections NetXACallInfo callInfo = xares_.callInfoArray_[currXACallInfoOffset_]; callInfo.xaRetVal_ = NetXAResource.XARETVAL_XAOK; // initialize XARETVAL readLocalXARollback_(); if (cal...
public void readRollback() throws SqlException { if (isXAConnection_) { // XA connections NetXACallInfo callInfo = xares_.callInfoArray_[currXACallInfoOffset_]; callInfo.xaRetVal_ = NetXAResource.XARETVAL_XAOK; // initialize XARETVAL readLocalXARollback_(); if (cal...
1,104,539
public void writeCommit() throws SqlException { // this logic must be in sync with willAutoCommitGenerateFlow() logic if (isXAConnection_) { // XA Connection int xaState = getXAState(); if (xaState == XA_LOCAL){ xares_.callInfoArray_[xares_.conn_.currXACallInfoOffs...
public void writeCommit() throws SqlException { // this logic must be in sync with willAutoCommitGenerateFlow() logic if (isXAConnection_) { // XA Connection int xaState = getXAState(); if (xaState == XA_T0_NOT_ASSOCIATED){ xares_.callInfoArray_[xares_.conn_.currXA...
1,104,540