bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public Object run() throws StandardException, IOException, InstantiationException, IllegalAccessException { StorageFactory storageFactory = privGetStorageFactoryInstance( true, nm, null, null); try ... | public Object run() throws StandardException, IOException, InstantiationException, IllegalAccessException { StorageFactory storageFactory = privGetStorageFactoryInstance( true, serviceName, null, null); try ... | 1,106,297 |
public Object run() throws StandardException, IOException, InstantiationException, IllegalAccessException { StorageFactory storageFactory = privGetStorageFactoryInstance( true, nm, null, null); try ... | public Object run() throws StandardException, IOException, InstantiationException, IllegalAccessException { StorageFactory storageFactory = privGetStorageFactoryInstance( true, nm, null, null); try ... | 1,106,298 |
public Object run() throws IOException, StandardException, InstantiationException, IllegalAccessException { StorageFactory storageFactory ... | public Object run() throws IOException, StandardException, InstantiationException, IllegalAccessException { StorageFactory storageFactory ... | 1,106,299 |
public static void main(String[] args) { DatabaseMetaData met; Connection con; Statement s; System.out.println("Test dbMetaDataJdbc30 starting"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); con = ij.startJBMS(); con.setAutoComm... | public static void main(String[] args) { DatabaseMetaData met; Connection con; Statement s; System.out.println("Test dbMetaDataJdbc30 starting"); try { // use the ij utility to read the property file and // make the initial connection. ij.getPropertyArg(args); con = ij.startJBMS(); con.setAutoComm... | 1,106,300 |
public BigDecimal getBigDecimal() throws StandardException { if (! isNull()) { if (value instanceof BigDecimal) return ((BigDecimal)value); if (value instanceof Number) return new BigDecimal(((Number) value).doubleValue()); } return super.getBigDecimal(); } | public BigDecimal getBigDecimal() throws StandardException { if (! isNull()) { if (value instanceof BigDecimal) return ((BigDecimal)value); if (value instanceof Number) return new BigDecimal(Double.toString(((Number) value).doubleValue())); } return super.getBigDecimal(); } | 1,106,301 |
public void statementClosed(StatementEvent event) { statementCloseEventOccurred = true; if(ps_close==null || !event.getStatement().equals(ps_close)) { System.out.println("The statement event has the wrong reference + of PreparedStatement"); } } | public void statementClosed(StatementEvent event) { statementCloseEventOccurred = true; if(ps_close==null || !event.getStatement().equals(ps_close)) { System.out.println("The statement event has the wrong reference + of PreparedStatement"); } } | 1,106,303 |
public void run() { Socket clientSocket = null; Session clientSession = null; for (;;) { try { try{ clientSocket = (Socket) AccessController.doPrivileged( new PrivilegedExceptionAction() { public Object run() throws IOException { return serverSocket.acc... | public void run() { Socket clientSocket = null; for (;;) { try { try{ clientSocket = (Socket) AccessController.doPrivileged( new PrivilegedExceptionAction() { public Object run() throws IOException { return serverSocket.accept(); } } );... | 1,106,304 |
public void run() { Socket clientSocket = null; Session clientSession = null; for (;;) { try { try{ clientSocket = (Socket) AccessController.doPrivileged( new PrivilegedExceptionAction() { public Object run() throws IOException { return serverSocket.acc... | public void run() { Socket clientSocket = null; Session clientSession = null; for (;;) { try { try{ clientSocket = (Socket) AccessController.doPrivileged( new PrivilegedExceptionAction() { public Object run() throws IOException { return serverSocket.acc... | 1,106,305 |
public void run() { Socket clientSocket = null; Session clientSession = null; for (;;) { try { try{ clientSocket = (Socket) AccessController.doPrivileged( new PrivilegedExceptionAction() { public Object run() throws IOException { return serverSocket.acc... | public void run() { Socket clientSocket = null; Session clientSession = null; for (;;) { try { try{ clientSocket = (Socket) AccessController.doPrivileged( new PrivilegedExceptionAction() { public Object run() throws IOException { return serverSocket.acc... | 1,106,306 |
static void initClientMessageIds() { // Add message ids that don't start with XJ here clientMessageIds.add(SQLState.NO_CURRENT_CONNECTION); clientMessageIds.add(SQLState.NOT_IMPLEMENTED); clientMessageIds.add(SQLState.CANNOT_CLOSE_ACTIVE_CONNECTION); clientMessageIds.add(SQLSta... | static void initClientMessageIds() { // Add message ids that don't start with XJ here clientMessageIds.add(SQLState.NO_CURRENT_CONNECTION); clientMessageIds.add(SQLState.NOT_IMPLEMENTED); clientMessageIds.add(SQLState.CANNOT_CLOSE_ACTIVE_CONNECTION); clientMessageIds.add(SQLSta... | 1,106,307 |
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 dsname varchar(20... | 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 dsname varchar(20... | 1,106,309 |
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 dsname varchar(20... | 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 dsname varchar(20... | 1,106,310 |
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 dsname varchar(20... | 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 dsname varchar(20... | 1,106,311 |
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 dsname varchar(20... | 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 dsname varchar(20... | 1,106,312 |
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 dsname varchar(20... | 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 dsname varchar(20... | 1,106,314 |
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 dsname varchar(20... | 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 dsname varchar(20... | 1,106,315 |
public final Object cloneObject() { if (stream == null) return getClone(); SQLBinary self = (SQLBinary) getNewNull(); self.setStream(stream); return self; } | public final Object cloneObject() { if (stream == null) return getClone(); SQLBinary self = (SQLBinary) getNewNull(); self.setValue(stream, streamValueLength); return self; } | 1,106,316 |
public int estimateMemoryUsage() { int sz = BASE_MEMORY_USAGE; if( null != dataValue) sz += dataValue.length; return sz; } // end of estimateMemoryUsage | public int estimateMemoryUsage() { int sz = BASE_MEMORY_USAGE; if( null != dataValue) sz += dataValue.length; return sz; } // end of estimateMemoryUsage | 1,106,317 |
public QueryTreeNode bind(DataDictionary dataDictionary) throws StandardException { /* ** Bind the tables before binding the expressions, so we can ** use the results of table binding to look up columns. */ bindTables(dataDictionary); /* Bind the expressions */ bindExpressions(); return this; } | public QueryTreeNode bind(DataDictionary dataDictionary) throws StandardException { /* ** Bind the tables before binding the expressions, so we can ** use the results of table binding to look up columns. */ getCompilerContext().pushCurrentPrivType(getPrivType()); try { bindTables(dataDictionary); /* Bind t... | 1,106,318 |
public QueryTreeNode bind(DataDictionary dataDictionary) throws StandardException { /* ** Bind the tables before binding the expressions, so we can ** use the results of table binding to look up columns. */ bindTables(dataDictionary); /* Bind the expressions */ bindExpressions(); return this; } | public QueryTreeNode bind(DataDictionary dataDictionary) throws StandardException { /* ** Bind the tables before binding the expressions, so we can ** use the results of table binding to look up columns. */ bindTables(dataDictionary); /* Bind the expressions */ bindExpressions(); } finally { getCompilerCon... | 1,106,319 |
private static void judge_setObject(boolean worked, SQLException sqleResult, int b5o, int type) { String msg; if (worked && B5[b5o][type]) msg = " JDBC MATCH(OK)"; else if (worked) msg = " CLOUD EXT (OK)"; else if (B5[b5o][type]) { if (sqleResult != null) showException(sqleResult); msg = " JDBC FAIL " +... | private static void judge_setObject(boolean worked, SQLException sqleResult, int b5o, int type) { String msg; if (worked && B5[b5o][type]) msg = " JDBC MATCH(OK)"; else if (worked) msg = " CLOUD EXT (OK)"; else if (B5[b5o][type]) { if (sqleResult != null) showException(sqleResult); msg = " JDBC FAIL " +... | 1,106,320 |
private static void judge_setObject(boolean worked, SQLException sqleResult, int b5o, int type) { String msg; if (worked && B5[b5o][type]) msg = " JDBC MATCH(OK)"; else if (worked) msg = " CLOUD EXT (OK)"; else if (B5[b5o][type]) { if (sqleResult != null) showException(sqleResult); msg = " JDBC FAIL " +... | private static void judge_setObject(boolean worked, SQLException sqleResult, int b5o, int type) { String msg; if (worked && B5[b5o][type]) msg = " JDBC MATCH(OK)"; else if (worked) msg = " CLOUD EXT (OK)"; else if (B5[b5o][type]) { if (sqleResult != null) showException(sqleResult); msg = " JDBC FAIL " +... | 1,106,321 |
private static void judge_setXXX(boolean worked, SQLException sqleResult, int whichCall, int type) { String msg; if (worked && B2_MOD[whichCall][type]) msg = " JDBC MATCH(OK)"; else if (worked) msg = " CLOUD EXT (OK)"; else if (B2_MOD[whichCall][type]) { if (sqleResult != null) showException(sqleResult); ... | private static void judge_setXXX(boolean worked, SQLException sqleResult, int whichCall, int type) { String msg; if (worked && B2_MOD[whichCall][type]) msg = " JDBC MATCH(OK)"; else if (worked) msg = " CLOUD EXT (OK)"; else if (B2_MOD[whichCall][type]) { if (sqleResult != null) showException(sqleResult); ... | 1,106,322 |
private static void judge_setXXX(boolean worked, SQLException sqleResult, int whichCall, int type) { String msg; if (worked && B2_MOD[whichCall][type]) msg = " JDBC MATCH(OK)"; else if (worked) msg = " CLOUD EXT (OK)"; else if (B2_MOD[whichCall][type]) { if (sqleResult != null) showException(sqleResult); ... | private static void judge_setXXX(boolean worked, SQLException sqleResult, int whichCall, int type) { String msg; if (worked && B2_MOD[whichCall][type]) msg = " JDBC MATCH(OK)"; else if (worked) msg = " CLOUD EXT (OK)"; else if (B2_MOD[whichCall][type]) { if (sqleResult != null) showException(sqleResult); ... | 1,106,323 |
private static void setXXX(Statement s, PreparedStatement psi, PreparedStatement psq, int type) throws SQLException, java.io.IOException { boolean executeBatchTests = true; // DERBY-349 - Disable executeBatch on these target types as invald conversions // using setByte() and executeBatch lead to the test hanging.... | private static void setXXX(Statement s, PreparedStatement psi, PreparedStatement psq, int type) throws SQLException, java.io.IOException { boolean executeBatchTests = true; // DERBY-349 - Disable executeBatch on these target types as invald conversions // using setByte() and executeBatch lead to the test hanging.... | 1,106,324 |
private static void setXXX(Statement s, PreparedStatement psi, PreparedStatement psq, int type) throws SQLException, java.io.IOException { boolean executeBatchTests = true; // DERBY-349 - Disable executeBatch on these target types as invald conversions // using setByte() and executeBatch lead to the test hanging.... | private static void setXXX(Statement s, PreparedStatement psi, PreparedStatement psq, int type) throws SQLException, java.io.IOException { boolean executeBatchTests = true; // DERBY-349 - Disable executeBatch on these target types as invald conversions // using setByte() and executeBatch lead to the test hanging.... | 1,106,325 |
private static void setXXX(Statement s, PreparedStatement psi, PreparedStatement psq, int type) throws SQLException, java.io.IOException { boolean executeBatchTests = true; // DERBY-349 - Disable executeBatch on these target types as invald conversions // using setByte() and executeBatch lead to the test hanging.... | private static void setXXX(Statement s, PreparedStatement psi, PreparedStatement psq, int type) throws SQLException, java.io.IOException { boolean executeBatchTests = true; // DERBY-349 - Disable executeBatch on these target types as invald conversions // using setByte() and executeBatch lead to the test hanging.... | 1,106,326 |
private static void setXXX(Statement s, PreparedStatement psi, PreparedStatement psq, int type) throws SQLException, java.io.IOException { boolean executeBatchTests = true; // DERBY-349 - Disable executeBatch on these target types as invald conversions // using setByte() and executeBatch lead to the test hanging.... | private static void setXXX(Statement s, PreparedStatement psi, PreparedStatement psq, int type) throws SQLException, java.io.IOException { boolean executeBatchTests = true; // DERBY-349 - Disable executeBatch on these target types as invald conversions // using setByte() and executeBatch lead to the test hanging.... | 1,106,327 |
private static void setXXX(Statement s, PreparedStatement psi, PreparedStatement psq, int type) throws SQLException, java.io.IOException { boolean executeBatchTests = true; // DERBY-349 - Disable executeBatch on these target types as invald conversions // using setByte() and executeBatch lead to the test hanging.... | private static void setXXX(Statement s, PreparedStatement psi, PreparedStatement psq, int type) throws SQLException, java.io.IOException { boolean executeBatchTests = true; // DERBY-349 - Disable executeBatch on these target types as invald conversions // using setByte() and executeBatch lead to the test hanging.... | 1,106,328 |
private static void setXXX(Statement s, PreparedStatement psi, PreparedStatement psq, int type) throws SQLException, java.io.IOException { boolean executeBatchTests = true; // DERBY-349 - Disable executeBatch on these target types as invald conversions // using setByte() and executeBatch lead to the test hanging.... | private static void setXXX(Statement s, PreparedStatement psi, PreparedStatement psq, int type) throws SQLException, java.io.IOException { boolean executeBatchTests = true; // DERBY-349 - Disable executeBatch on these target types as invald conversions // using setByte() and executeBatch lead to the test hanging.... | 1,106,329 |
private static void setXXX(Statement s, PreparedStatement psi, PreparedStatement psq, int type) throws SQLException, java.io.IOException { boolean executeBatchTests = true; // DERBY-349 - Disable executeBatch on these target types as invald conversions // using setByte() and executeBatch lead to the test hanging.... | private static void setXXX(Statement s, PreparedStatement psi, PreparedStatement psq, int type) throws SQLException, java.io.IOException { boolean executeBatchTests = true; // DERBY-349 - Disable executeBatch on these target types as invald conversions // using setByte() and executeBatch lead to the test hanging.... | 1,106,330 |
private static void setXXX_setObject(Statement s, PreparedStatement psi, PreparedStatement psq, int type, Object value, String className, int b5o, boolean executeBatchTests) throws SQLException, java.io.IOException { { s.execute("DELETE FROM PM.TYPE_AS"); SQLException sqleResult = null; boolean worked; try { ... | private static void setXXX_setObject(Statement s, PreparedStatement psi, PreparedStatement psq, int type, Object value, String className, int b5o, boolean executeBatchTests) throws SQLException, java.io.IOException { { s.execute("DELETE FROM PM.TYPE_AS"); SQLException sqleResult = null; boolean worked; try { ... | 1,106,331 |
private static void setXXX_setObject(Statement s, PreparedStatement psi, PreparedStatement psq, int type, Object value, String className, int b5o, boolean executeBatchTests) throws SQLException, java.io.IOException { { s.execute("DELETE FROM PM.TYPE_AS"); SQLException sqleResult = null; boolean worked; try { ... | private static void setXXX_setObject(Statement s, PreparedStatement psi, PreparedStatement psq, int type, Object value, String className, int b5o, boolean executeBatchTests) throws SQLException, java.io.IOException { { s.execute("DELETE FROM PM.TYPE_AS"); SQLException sqleResult = null; boolean worked; try { ... | 1,106,332 |
public ExecRow getNextRowCore() throws StandardException { if ( isOpen ) { if ( ! next ) { next = true; if (SanityManager.DEBUG) SanityManager.ASSERT(! cursor.isClosed(), "cursor closed"); ExecRow cursorRow = cursor.getCurrentRow(); // requalify the current row if (cursorRow == nul... | public ExecRow getNextRowCore() throws StandardException { if ( isOpen ) { if ( ! next ) { next = true; if (SanityManager.DEBUG) SanityManager.ASSERT(! cursor.isClosed(), "cursor closed"); ExecRow cursorRow = cursor.getCurrentRow(); // requalify the current row if (cursorRow == nul... | 1,106,333 |
Cacheable newContainerObject() { if( supportsRandomAccess) return new RAFContainer(this); else return new InputStreamContainer( this); } | Cacheable newContainerObject() { if( supportsRandomAccess) return rafContainerFactory.newRAFContainer(this); else return new InputStreamContainer( this); } | 1,106,334 |
public void encryptAllContainers(RawTransaction t) throws StandardException { /* * List of containers that needs to be encrypted are identified by * simply reading the list of files in seg0. */ String[] files = dataFactory.getContainerNames(); if (files != null) { StorageFile[] oldF... | public void encryptAllContainers(RawTransaction t) throws StandardException { /* * List of containers that needs to be encrypted are identified by * simply reading the list of files in seg0. */ String[] files = dataFactory.getContainerNames(); if (files != null) { StorageFile[] oldF... | 1,106,335 |
public void encryptAllContainers(RawTransaction t) throws StandardException { /* * List of containers that needs to be encrypted are identified by * simply reading the list of files in seg0. */ String[] files = dataFactory.getContainerNames(); if (files != null) { StorageFile[] oldF... | public void encryptAllContainers(RawTransaction t) throws StandardException { /* * List of containers that needs to be encrypted are identified by * simply reading the list of files in seg0. */ String[] files = dataFactory.getContainerNames(); if (files != null) { StorageFile[] oldF... | 1,106,336 |
public void encryptAllContainers(RawTransaction t) throws StandardException { /* * List of containers that needs to be encrypted are identified by * simply reading the list of files in seg0. */ String[] files = dataFactory.getContainerNames(); if (files != null) { StorageFile[] oldF... | public void encryptAllContainers(RawTransaction t) throws StandardException { /* * List of containers that needs to be encrypted are identified by * simply reading the list of files in seg0. */ String[] files = dataFactory.getContainerNames(); if (files != null) { StorageFile[] oldF... | 1,106,337 |
public void doGet (HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { String logOnMessage; String logOffMessage; String traceOnMessage; String traceOffMessage; String traceOnOffMessage; String startMessage; String stopMessage; String returnMessage; String ... | public void doGet (HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { String logOnMessage; String logOffMessage; String traceOnMessage; String traceOffMessage; String traceOnOffMessage; String startMessage; String stopMessage; String returnMessage; String ... | 1,106,339 |
private String getLocStringFromLanguage(String lang) { int semi; // Cut off any q-value that might come after a semi-colon if ((semi = lang.indexOf(';')) != -1) { lang = lang.substring(0, semi); } // trim any whitespace lang = lang.trim(); return lang; } | private String getLocStringFromLanguage(String lang) { int semi; // Cut off any q-value that might come after a semi-colon if ((semi = lang.indexOf(';')) != -1) { lang = lang.substring(0, semi); } // trim any whitespace lang = fixLanguageCode(lang.trim()); return lang; } | 1,106,340 |
public void init(ServletConfig config) throws ServletException { LocalizedResource langUtil = new LocalizedResource(null,null,SERVLET_PROP_MESSAGES); String port = config.getInitParameter("portNumber"); if (port != null) { int p = Integer.valueOf(port).intValue(); if (p > 0) portNumber = p; } String t... | public void init(ServletConfig config) throws ServletException { LocalizedResource langUtil = new LocalizedResource(null,null,SERVLET_PROP_MESSAGES); String port = config.getInitParameter("portNumber"); if (port != null) { int p = Integer.valueOf(port).intValue(); if (p > 0) portNumber = p; } this.tra... | 1,106,341 |
public void init(ServletConfig config) throws ServletException { LocalizedResource langUtil = new LocalizedResource(null,null,SERVLET_PROP_MESSAGES); String port = config.getInitParameter("portNumber"); if (port != null) { int p = Integer.valueOf(port).intValue(); if (p > 0) portNumber = p; } String t... | public void init(ServletConfig config) throws ServletException { LocalizedResource langUtil = new LocalizedResource(null,null,SERVLET_PROP_MESSAGES); String port = config.getInitParameter("portNumber"); if (port != null) { int p = Integer.valueOf(port).intValue(); if (p > 0) portNumber = p; } String t... | 1,106,342 |
private int translationAvailable(String lang) { for (int i = 0; i < knownLang.length; i++) if (knownLang[i].toUpperCase(Locale.ENGLISH).equals(lang.toUpperCase(Locale.ENGLISH))) return i; return -1; } | private int translationAvailable(String lang) { for (int i = 0; i < knownLang.length; i++) if (knownLang[i].equals(lang)) return i; return -1; } | 1,106,345 |
private static void execTestNoProcess(Properties sysProp, String systemHome, String propString, String scriptPath) throws Exception { // For platforms where executing a process is failing String olduserdir = (String)sysProp.get("user.dir"); Properties ptmp = System.getPropertie... | private static void execTestNoProcess(Properties sysProp, String systemHome, String propString, String scriptPath) throws Exception { // For platforms where executing a process is failing String olduserdir = (String)sysProp.get("user.dir"); Properties ptmp = System.getPropertie... | 1,106,347 |
public ExecRow doBaseRowProjection(ExecRow sourceRow) throws StandardException { ExecRow result = null; if (source instanceof ProjectRestrictResultSet) { ProjectRestrictResultSet prs = (ProjectRestrictResultSet) source; result = prs.doBaseRowProjection(sourceRow); } else { result = sourceRow.getClone(); } ... | public ExecRow doBaseRowProjection(ExecRow sourceRow) throws StandardException { final ExecRow result; if (source instanceof ProjectRestrictResultSet) { ProjectRestrictResultSet prs = (ProjectRestrictResultSet) source; result = prs.doBaseRowProjection(sourceRow); } else { result = sourceRow.getClone(); } r... | 1,106,350 |
public ExecRow doBaseRowProjection(ExecRow sourceRow) throws StandardException { ExecRow result = null; if (source instanceof ProjectRestrictResultSet) { ProjectRestrictResultSet prs = (ProjectRestrictResultSet) source; result = prs.doBaseRowProjection(sourceRow); } else { result = sourceRow.getClone(); } ... | public ExecRow doBaseRowProjection(ExecRow sourceRow) throws StandardException { ExecRow result = null; if (source instanceof ProjectRestrictResultSet) { ProjectRestrictResultSet prs = (ProjectRestrictResultSet) source; result = prs.doBaseRowProjection(sourceRow); } else { result = sourceRow.getNewNullRow();... | 1,106,351 |
public SqlException(LogWriter logWriter, ErrorKey errorKey) { super(ResourceUtilities.getResource(ResourceKeys.driverOriginationIndicator) + ResourceUtilities.getResource(errorKey.getResourceKey()), errorKey.getSQLState(), errorKey.getErrorCode()); if (logW... | public SqlException(LogWriter logWriter, ErrorKey errorKey) { super(ResourceUtilities.getResource(ResourceKeys.driverOriginationIndicator) + ResourceUtilities.getResource(errorKey.getResourceKey()), errorKey.getSQLState(), errorKey.getErrorCode()); if (logW... | 1,106,352 |
public String getMessage() { String message; if (sqlca_ == null) { message = super.getMessage(); } else { message = ((Sqlca) sqlca_).getJDBCMessage(); } if (batchPositionLabel_ == null) { return message; } return batchPositionLabel_ +... | public String getMessage() { String message; if (sqlca_ == null) { message = super.getMessage(); } else { message = ((Sqlca) sqlca_).getJDBCMessage(); } if (batchPositionLabel_ == null) { return message; } return batchPositionLabel_ +... | 1,106,353 |
public String getMessage() { String message; if (sqlca_ == null) { message = super.getMessage(); } else { message = ((Sqlca) sqlca_).getJDBCMessage(); } if (batchPositionLabel_ == null) { return message; } return batchPositionLabel_ +... | public String getMessage() { String message; if (sqlca_ == null) { message = super.getMessage(); } else { message = ((Sqlca) sqlca_).getJDBCMessage(); } if (batchPositionLabel_ == null) { return message_; } return batchPositionLabel_ ... | 1,106,354 |
public String getMessage() { String message; if (sqlca_ == null) { message = super.getMessage(); } else { message = ((Sqlca) sqlca_).getJDBCMessage(); } if (batchPositionLabel_ == null) { return message; } return batchPositionLabel_ +... | public String getMessage() { String message; if (sqlca_ == null) { message = super.getMessage(); } else { message = ((Sqlca) sqlca_).getJDBCMessage(); } if (batchPositionLabel_ == null) { return message; } return batchPositionLabel_ +... | 1,106,355 |
private static void callGetMethod(CallableStatement cs, int arg, int type, StringBuffer strbuf) throws Throwable { switch (type) { case Types.BIT: case JDBC30Translation.SQL_TYPES_BOOLEAN: strbuf.append("getBoolean("+arg+") = "); strbuf.append(cs.getBoolean(arg)); break; case Types.TINYINT: strbuf... | private static void callGetMethod(CallableStatement cs, int arg, int type, int paramType ,StringBuffer strbuf) throws Throwable { switch (type) { case Types.BIT: case JDBC30Translation.SQL_TYPES_BOOLEAN: strbuf.append("getBoolean("+arg+") = "); strbuf.append(cs.getBoolean(arg)); break; case Types.TIN... | 1,106,357 |
private static void callGetMethod(CallableStatement cs, int arg, int type, StringBuffer strbuf) throws Throwable { switch (type) { case Types.BIT: case JDBC30Translation.SQL_TYPES_BOOLEAN: strbuf.append("getBoolean("+arg+") = "); strbuf.append(cs.getBoolean(arg)); break; case Types.TINYINT: strbuf... | private static void callGetMethod(CallableStatement cs, int arg, int type, StringBuffer strbuf) throws Throwable { switch (type) { case Types.BIT: case JDBC30Translation.SQL_TYPES_BOOLEAN: strbuf.append("getBoolean("+arg+") = "); strbuf.append(cs.getBoolean(arg)); break; case Types.TINYINT: strbuf... | 1,106,358 |
private static void callSetMethod(CallableStatement cs, int arg, int type, StringBuffer strbuf) throws Throwable { switch (type) { case Types.BIT: case JDBC30Translation.SQL_TYPES_BOOLEAN: strbuf.append("setBoolean("+arg+", true)"); cs.setBoolean(arg, true); break; case Types.TINYINT: strbuf.appen... | private static void callSetMethod(CallableStatement cs, int arg, int type, StringBuffer strbuf) throws Throwable { switch (type) { case Types.BIT: case JDBC30Translation.SQL_TYPES_BOOLEAN: strbuf.append("setBoolean("+arg+", true)"); cs.setBoolean(arg, true); break; case Types.TINYINT: strbuf.appen... | 1,106,359 |
private static void callSetObject(CallableStatement cs, int arg, int type, StringBuffer strbuf) throws Throwable { switch (type) { case Types.BIT: case JDBC30Translation.SQL_TYPES_BOOLEAN: strbuf.append("setObject("+arg+", true)"); cs.setObject(arg, new Boolean(true)); break; case Types.TINYINT: s... | private static void callSetObject(CallableStatement cs, int arg, int type, StringBuffer strbuf) throws Throwable { switch (type) { case Types.BIT: case JDBC30Translation.SQL_TYPES_BOOLEAN: strbuf.append("setObject("+arg+", true)"); cs.setObject(arg, new Boolean(true)); break; case Types.TINYINT: s... | 1,106,360 |
public static void runTests( Connection conn) throws Throwable { conn.setAutoCommit(false); testMisc(conn); testNull(conn); testUpdate(conn); testEachOutputType(conn); testReturnTypes(conn); testOtherOutputType(conn); testManyOut(conn); test5116(conn); } | public static void runTests( Connection conn) throws Throwable { conn.setAutoCommit(false); testMisc(conn); testNull(conn); testUpdate(conn); testEachOutputType(conn); testReturnTypes(conn); testOtherOutputType(conn); testManyOut(conn); if(HAVE_DRIVER_CLASS) test5116(conn); } | 1,106,361 |
private static void test5116(Connection conn) throws Throwable { System.out.println("=============================================="); System.out.println("TESTING FIX OF 5116 -- VAR BIT VARYING INPUT"); System.out.println("==============================================\n"); Statement stmt = conn.createStatement();... | private static void test5116(Connection conn) throws Throwable { System.out.println("=============================================="); System.out.println("TESTING FIX OF 5116 -- VAR BIT VARYING INPUT"); System.out.println("==============================================\n"); Statement stmt = conn.createStatement();... | 1,106,362 |
private static void testEachOutputType(Connection conn) throws Throwable { System.out.println("=============================================="); System.out.println("TESTING NORMAL OUTPUT PARAMETERS"); System.out.println("==============================================\n"); CallableStatement cs = null; for (int doS... | private static void testEachOutputType(Connection conn) throws Throwable { System.out.println("=============================================="); System.out.println("TESTING NORMAL OUTPUT PARAMETERS"); System.out.println("==============================================\n"); CallableStatement cs = null; for (int doS... | 1,106,363 |
private static void testEachOutputType(Connection conn) throws Throwable { System.out.println("=============================================="); System.out.println("TESTING NORMAL OUTPUT PARAMETERS"); System.out.println("==============================================\n"); CallableStatement cs = null; for (int doS... | private static void testEachOutputType(Connection conn) throws Throwable { System.out.println("=============================================="); System.out.println("TESTING NORMAL OUTPUT PARAMETERS"); System.out.println("==============================================\n"); CallableStatement cs = null; for (int doS... | 1,106,364 |
private static void testEachOutputType(Connection conn) throws Throwable { System.out.println("=============================================="); System.out.println("TESTING NORMAL OUTPUT PARAMETERS"); System.out.println("==============================================\n"); CallableStatement cs = null; for (int doS... | private static void testEachOutputType(Connection conn) throws Throwable { System.out.println("=============================================="); System.out.println("TESTING NORMAL OUTPUT PARAMETERS"); System.out.println("==============================================\n"); CallableStatement cs = null; for (int doS... | 1,106,365 |
private static void testManyOut(Connection conn) throws SQLException { System.out.println("start testManyOut"); Statement scp = conn.createStatement(); scp.execute("CREATE PROCEDURE OP_OUT " + "(OUT I1 INT, OUT I2 INT, OUT I3 INT, OUT I4 INT, OUT I5 INT, "+ "OUT V1 VARCHAR(40), OUT V2 VARCHAR(40), OUT V3 VARCHA... | private static void testManyOut(Connection conn) throws SQLException { System.out.println("start testManyOut"); Statement scp = conn.createStatement(); scp.execute("CREATE PROCEDURE OP_OUT " + "(OUT I1 INT, OUT I2 INT, OUT I3 INT, OUT I4 INT, OUT I5 INT, "+ "OUT V1 VARCHAR(40), OUT V2 VARCHAR(40), OUT V3 VARCHA... | 1,106,366 |
private static void testMisc(Connection conn) throws Throwable { System.out.println("=============================================="); System.out.println("TESTING BOUNDARY CONDITIONS"); System.out.println("==============================================\n"); Statement scp = conn.createStatement(); scp.execute("CRE... | private static void testMisc(Connection conn) throws Throwable { System.out.println("=============================================="); System.out.println("TESTING BOUNDARY CONDITIONS"); System.out.println("==============================================\n"); Statement scp = conn.createStatement(); scp.execute("CRE... | 1,106,367 |
private static void testMisc(Connection conn) throws Throwable { System.out.println("=============================================="); System.out.println("TESTING BOUNDARY CONDITIONS"); System.out.println("==============================================\n"); Statement scp = conn.createStatement(); scp.execute("CRE... | private static void testMisc(Connection conn) throws Throwable { System.out.println("=============================================="); System.out.println("TESTING BOUNDARY CONDITIONS"); System.out.println("==============================================\n"); Statement scp = conn.createStatement(); scp.execute("CRE... | 1,106,368 |
private static void testMisc(Connection conn) throws Throwable { System.out.println("=============================================="); System.out.println("TESTING BOUNDARY CONDITIONS"); System.out.println("==============================================\n"); Statement scp = conn.createStatement(); scp.execute("CRE... | private static void testMisc(Connection conn) throws Throwable { System.out.println("=============================================="); System.out.println("TESTING BOUNDARY CONDITIONS"); System.out.println("==============================================\n"); Statement scp = conn.createStatement(); scp.execute("CRE... | 1,106,369 |
private static void testMisc(Connection conn) throws Throwable { System.out.println("=============================================="); System.out.println("TESTING BOUNDARY CONDITIONS"); System.out.println("==============================================\n"); Statement scp = conn.createStatement(); scp.execute("CRE... | private static void testMisc(Connection conn) throws Throwable { System.out.println("=============================================="); System.out.println("TESTING BOUNDARY CONDITIONS"); System.out.println("==============================================\n"); Statement scp = conn.createStatement(); scp.execute("CRE... | 1,106,370 |
private static void testMisc(Connection conn) throws Throwable { System.out.println("=============================================="); System.out.println("TESTING BOUNDARY CONDITIONS"); System.out.println("==============================================\n"); Statement scp = conn.createStatement(); scp.execute("CRE... | private static void testMisc(Connection conn) throws Throwable { System.out.println("=============================================="); System.out.println("TESTING BOUNDARY CONDITIONS"); System.out.println("==============================================\n"); Statement scp = conn.createStatement(); scp.execute("CRE... | 1,106,371 |
private static void testMisc(Connection conn) throws Throwable { System.out.println("=============================================="); System.out.println("TESTING BOUNDARY CONDITIONS"); System.out.println("==============================================\n"); Statement scp = conn.createStatement(); scp.execute("CRE... | private static void testMisc(Connection conn) throws Throwable { System.out.println("=============================================="); System.out.println("TESTING BOUNDARY CONDITIONS"); System.out.println("==============================================\n"); Statement scp = conn.createStatement(); scp.execute("CRE... | 1,106,372 |
private static void testMisc(Connection conn) throws Throwable { System.out.println("=============================================="); System.out.println("TESTING BOUNDARY CONDITIONS"); System.out.println("==============================================\n"); Statement scp = conn.createStatement(); scp.execute("CRE... | private static void testMisc(Connection conn) throws Throwable { System.out.println("=============================================="); System.out.println("TESTING BOUNDARY CONDITIONS"); System.out.println("==============================================\n"); Statement scp = conn.createStatement(); scp.execute("CRE... | 1,106,373 |
private static void testNull(Connection conn) throws Throwable { System.out.println("=============================================="); System.out.println("TESTING NULLS"); System.out.println("==============================================\n"); System.out.println("Test for bug 4317, passing null value for a paramet... | private static void testNull(Connection conn) throws Throwable { System.out.println("=============================================="); System.out.println("TESTING NULLS"); System.out.println("==============================================\n"); System.out.println("Test for bug 4317, passing null value for a paramet... | 1,106,374 |
private static void testOtherOutputType(Connection conn) throws Throwable { System.out.println("=============================================="); System.out.println("TESTING OUTPUT PARAMETERS WITH register(OTHER)"); System.out.println("==============================================\n"); CallableStatement cs = null... | private static void testOtherOutputType(Connection conn) throws Throwable { System.out.println("=============================================="); System.out.println("TESTING OUTPUT PARAMETERS WITH register(OTHER)"); System.out.println("==============================================\n"); CallableStatement cs = null... | 1,106,375 |
private static void testOtherOutputType(Connection conn) throws Throwable { System.out.println("=============================================="); System.out.println("TESTING OUTPUT PARAMETERS WITH register(OTHER)"); System.out.println("==============================================\n"); CallableStatement cs = null... | private static void testOtherOutputType(Connection conn) throws Throwable { System.out.println("=============================================="); System.out.println("TESTING OUTPUT PARAMETERS WITH register(OTHER)"); System.out.println("==============================================\n"); CallableStatement cs = null... | 1,106,376 |
private static void testOtherOutputType(Connection conn) throws Throwable { System.out.println("=============================================="); System.out.println("TESTING OUTPUT PARAMETERS WITH register(OTHER)"); System.out.println("==============================================\n"); CallableStatement cs = null... | private static void testOtherOutputType(Connection conn) throws Throwable { System.out.println("=============================================="); System.out.println("TESTING OUTPUT PARAMETERS WITH register(OTHER)"); System.out.println("==============================================\n"); CallableStatement cs = null... | 1,106,377 |
private static void testReturnTypes(Connection conn) throws Throwable { System.out.println("==============================================\n"); System.out.println("TESTING RETURN OUTPUT PARAMETERS"); System.out.println("==============================================\n"); CallableStatement cs = null; for (int meth... | private static void testReturnTypes(Connection conn) throws Throwable { System.out.println("==============================================\n"); System.out.println("TESTING RETURN OUTPUT PARAMETERS"); System.out.println("==============================================\n"); CallableStatement cs = null; for (int meth... | 1,106,378 |
private static void testReturnTypes(Connection conn) throws Throwable { System.out.println("==============================================\n"); System.out.println("TESTING RETURN OUTPUT PARAMETERS"); System.out.println("==============================================\n"); CallableStatement cs = null; for (int meth... | private static void testReturnTypes(Connection conn) throws Throwable { System.out.println("==============================================\n"); System.out.println("TESTING RETURN OUTPUT PARAMETERS"); System.out.println("==============================================\n"); CallableStatement cs = null; for (int meth... | 1,106,379 |
private static void testUpdate(Connection conn) throws Throwable { System.out.println("=============================================="); System.out.println("TESTING UPDATE COUNT"); System.out.println("==============================================\n"); Statement scp = conn.createStatement(); scp.execute("CREATE F... | private static void testUpdate(Connection conn) throws Throwable { System.out.println("=============================================="); System.out.println("TESTING UPDATE COUNT"); System.out.println("==============================================\n"); Statement scp = conn.createStatement(); scp.execute("CREATE F... | 1,106,380 |
void parseCloseError(ResultSetCallbackInterface resultSetI) throws DisconnectException { int peekCP = peekCodePoint(); switch (peekCP) { case CodePoint.ABNUOWRM: { NetSqlca sqlca = parseAbnormalEndUow(resultSetI.getConnectionCallbackInterface()); resultS... | void parseCloseError(ResultSetCallbackInterface resultSetI) throws DisconnectException { int peekCP = peekCodePoint(); switch (peekCP) { case CodePoint.ABNUOWRM: { NetSqlca sqlca = parseAbnormalEndUow(resultSetI); resultSetI.completeSqlca(sqlca); ... | 1,106,381 |
void parseFetchError(ResultSetCallbackInterface resultSetI) throws DisconnectException { int peekCP = peekCodePoint(); switch (peekCP) { case CodePoint.ABNUOWRM: { NetSqlca sqlca = parseAbnormalEndUow(resultSetI.getConnectionCallbackInterface()); resultS... | void parseFetchError(ResultSetCallbackInterface resultSetI) throws DisconnectException { int peekCP = peekCodePoint(); switch (peekCP) { case CodePoint.ABNUOWRM: { NetSqlca sqlca = parseAbnormalEndUow(resultSetI); resultSetI.completeSqlca(sqlca); ... | 1,106,382 |
public boolean isWrapperFor(java.lang.Class<?> interfaces) throws java.sql.SQLException{ return getPreparedStatement().isWrapperFor(interfaces); } | public boolean isWrapperFor(java.lang.Class<?> interfaces) throws java.sql.SQLException{ return getPreparedStatement().isWrapperFor(interfaces); } | 1,106,383 |
public java.lang.Object unwrap(java.lang.Class<?> interfaces) throws SQLException{ return getPreparedStatement().unwrap(interfaces); } | public java.lang.Object unwrap(java.lang.Class<?> interfaces) throws SQLException{ return getPreparedStatement().unwrap(interfaces); } | 1,106,384 |
public void updateAsciiStream(int columnIndex, java.io.InputStream x, long length) throws SQLException { checksBeforeUpdateXXX("updateAsciiStream", columnIndex); int colType = getColumnType(columnIndex); switch (colType) { case Types.CHAR: case Types.VARCHAR: case Types.LONGVARCHAR: case Types.CLOB: br... | public void updateAsciiStream(int columnIndex, java.io.InputStream x, long length) throws SQLException { checksBeforeUpdateXXX("updateAsciiStream", columnIndex); int colType = getColumnType(columnIndex); switch (colType) { case Types.CHAR: case Types.VARCHAR: case Types.LONGVARCHAR: case Types.CLOB: br... | 1,106,385 |
public void updateBinaryStream(int columnIndex, java.io.InputStream x, long length) throws SQLException { checksBeforeUpdateXXX("updateBinaryStream", columnIndex); int colType = getColumnType(columnIndex); switch (colType) { case Types.BINARY: case Types.VARBINARY: case Types.LONGVARBINARY: case Types.BLO... | public void updateBinaryStream(int columnIndex, java.io.InputStream x, long length) throws SQLException { checksBeforeUpdateXXX("updateBinaryStream", columnIndex); int colType = getColumnType(columnIndex); switch (colType) { case Types.BINARY: case Types.VARBINARY: case Types.LONGVARBINARY: case Types.BLO... | 1,106,386 |
private void updateBinaryStreamInternal(int columnIndex, java.io.InputStream x, long length, String updateMethodName) throws SQLException { if (length < 0) throw newSQLException(SQLState.NEGATIVE_STREAM_LENGTH); // max number of bytes that can be set to be inserted // ... | private void updateBinaryStreamInternal(int columnIndex, java.io.InputStream x, long length, String updateMethodName) throws SQLException { if (length < 0) throw newSQLException(SQLState.NEGATIVE_STREAM_LENGTH); // max number of bytes that can be set to be inserted // ... | 1,106,387 |
public void updateBlob(int columnIndex, Blob x) throws SQLException { checksBeforeUpdateXXX("updateBlob", columnIndex); int colType = getColumnType(columnIndex); if (colType != Types.BLOB) throw dataTypeConversion(columnIndex, "java.sql.Blob"); if (x == null) updateNul... | public void updateBlob(int columnIndex, Blob x) throws SQLException { checksBeforeUpdateXXX("updateBlob", columnIndex); int colType = getColumnType(columnIndex); if (colType != Types.BLOB) throw dataTypeConversion(columnIndex, "java.sql.Blob"); if (x == null) updateNul... | 1,106,388 |
public void updateCharacterStream(int columnIndex, java.io.Reader x, long length) throws SQLException { //If the column type is the right datatype, this method will eventually call getDVDforColumnToBeUpdated which will check for //the read only resultset. But for other datatypes, we want to catch if this updateCha... | public void updateCharacterStream(int columnIndex, java.io.Reader x, long length) throws SQLException { //If the column type is the right datatype, this method will eventually call getDVDforColumnToBeUpdated which will check for //the read only resultset. But for other datatypes, we want to catch if this updateCha... | 1,106,389 |
private void updateCharacterStreamInternal(int columnIndex, java.io.Reader reader, long length, String updateMethodName) throws SQLException { try { if (reader == null) { updateNull(columnIndex); return; } // check for -... | private void updateCharacterStreamInternal(int columnIndex, java.io.Reader reader, long length, String updateMethodName) throws SQLException { try { if (reader == null) { updateNull(columnIndex); return; } // check for -... | 1,106,390 |
private void updateCharacterStreamInternal(int columnIndex, java.io.Reader reader, long length, String updateMethodName) throws SQLException { try { if (reader == null) { updateNull(columnIndex); return; } // check for -... | private void updateCharacterStreamInternal(int columnIndex, java.io.Reader reader, long length, String updateMethodName) throws SQLException { try { if (reader == null) { updateNull(columnIndex); return; } // check for -... | 1,106,391 |
private void updateCharacterStreamInternal(int columnIndex, java.io.Reader reader, long length, String updateMethodName) throws SQLException { try { if (reader == null) { updateNull(columnIndex); return; } // check for -... | private void updateCharacterStreamInternal(int columnIndex, java.io.Reader reader, long length, String updateMethodName) throws SQLException { try { if (reader == null) { updateNull(columnIndex); return; } // check for -... | 1,106,392 |
private void updateCharacterStreamInternal(int columnIndex, java.io.Reader reader, long length, String updateMethodName) throws SQLException { try { if (reader == null) { updateNull(columnIndex); return; } // check for -... | private void updateCharacterStreamInternal(int columnIndex, java.io.Reader reader, long length, String updateMethodName) throws SQLException { try { if (reader == null) { updateNull(columnIndex); return; } // check for -... | 1,106,393 |
private void updateCharacterStreamInternal(int columnIndex, java.io.Reader reader, long length, String updateMethodName) throws SQLException { try { if (reader == null) { updateNull(columnIndex); return; } // check for -... | private void updateCharacterStreamInternal(int columnIndex, java.io.Reader reader, long length, String updateMethodName) throws SQLException { try { if (reader == null) { updateNull(columnIndex); return; } // check for -... | 1,106,394 |
private void updateCharacterStreamInternal(int columnIndex, java.io.Reader reader, long length, String updateMethodName) throws SQLException { try { if (reader == null) { updateNull(columnIndex); return; } // check for -... | private void updateCharacterStreamInternal(int columnIndex, java.io.Reader reader, long length, String updateMethodName) throws SQLException { try { if (reader == null) { updateNull(columnIndex); return; } // check for -... | 1,106,395 |
public void updateClob(int columnIndex, Clob x) throws SQLException { checksBeforeUpdateXXX("updateClob", columnIndex); int colType = getColumnType(columnIndex); if (colType != Types.CLOB) throw dataTypeConversion(columnIndex, "java.sql.Clob"); if (x == null) { ... | public void updateClob(int columnIndex, Clob x) throws SQLException { checksBeforeUpdateXXX("updateClob", columnIndex); int colType = getColumnType(columnIndex); if (colType != Types.CLOB) throw dataTypeConversion(columnIndex, "java.sql.Clob"); if (x == null) { ... | 1,106,396 |
static void printInterval(Clob clob, long pos, int length, int testNum, int iteration, int clobLength) { if (pos > clobLength) System.out.println("CLOB getSubString " + pos + " > " + clobLength); try { /* System.out.println("printInterval(" + clob + "," + pos +"," + length +",... | static void printInterval(Clob clob, long pos, int length, int testNum, int iteration, int clobLength) { if (pos > clobLength) System.out.println("CLOB getSubString " + pos + " > " + clobLength); try { /* System.out.println("printInterval(" + clob + "," + pos +"," + length +",... | 1,106,398 |
InternalDriver findDriver() throws SQLException { String url = jdbcurl; if (driver == null || !driver.acceptsURL(url)) { synchronized(this) { // The driver has either never been booted, or it has been // shutdown by a 'jdbc:derby:;shutdown=true' if (driver == null || !driver.acceptsURL(url)) { n... | InternalDriver findDriver() throws SQLException { String url = jdbcurl; if (driver == null || !driver.acceptsURL(url)) { synchronized(this) { // The driver has either never been booted, or it has been // shutdown by a 'jdbc:derby:;shutdown=true' if (driver == null || !driver.acceptsURL(url)) { n... | 1,106,399 |
public BulkTableScanResultSet(long conglomId, StaticCompiledOpenConglomInfo scoci, Activation activation, GeneratedMethod resultRowAllocator, int resultSetNumber, GeneratedMethod startKeyGetter, int startSearchOperator, GeneratedMethod stopKeyGetter, int stopSearchOperator, boolean sameStartStopPosition, Q... | BulkTableScanResultSet(long conglomId, StaticCompiledOpenConglomInfo scoci, Activation activation, GeneratedMethod resultRowAllocator, int resultSetNumber, GeneratedMethod startKeyGetter, int startSearchOperator, GeneratedMethod stopKeyGetter, int stopSearchOperator, boolean sameStartStopPosition, Qualifie... | 1,106,400 |
public BulkTableScanResultSet(long conglomId, StaticCompiledOpenConglomInfo scoci, Activation activation, GeneratedMethod resultRowAllocator, int resultSetNumber, GeneratedMethod startKeyGetter, int startSearchOperator, GeneratedMethod stopKeyGetter, int stopSearchOperator, boolean sameStartStopPosition, Q... | public BulkTableScanResultSet(long conglomId, StaticCompiledOpenConglomInfo scoci, Activation activation, GeneratedMethod resultRowAllocator, int resultSetNumber, GeneratedMethod startKeyGetter, int startSearchOperator, GeneratedMethod stopKeyGetter, int stopSearchOperator, boolean sameStartStopPosition, Q... | 1,106,401 |
public BulkTableScanResultSet(long conglomId, StaticCompiledOpenConglomInfo scoci, Activation activation, GeneratedMethod resultRowAllocator, int resultSetNumber, GeneratedMethod startKeyGetter, int startSearchOperator, GeneratedMethod stopKeyGetter, int stopSearchOperator, boolean sameStartStopPosition, Q... | public BulkTableScanResultSet(long conglomId, StaticCompiledOpenConglomInfo scoci, Activation activation, GeneratedMethod resultRowAllocator, int resultSetNumber, GeneratedMethod startKeyGetter, int startSearchOperator, GeneratedMethod stopKeyGetter, int stopSearchOperator, boolean sameStartStopPosition, Q... | 1,106,402 |
public ResultSet execute(LanguageConnectionContext lcc, boolean rollbackParentContext) throws StandardException { Activation a = getActivation(lcc, false); a.setSingleExecution(); return execute(a, false, false, rollbackParentContext); } | public ResultSet execute(LanguageConnectionContext lcc, boolean rollbackParentContext, long timeoutMillis) throws StandardException { Activation a = getActivation(lcc, false); a.setSingleExecution(); return execute(a, false, false, rollbackParentContext); } | 1,106,403 |
public ResultSet execute(LanguageConnectionContext lcc, boolean rollbackParentContext) throws StandardException { Activation a = getActivation(lcc, false); a.setSingleExecution(); return execute(a, false, false, rollbackParentContext); } | public ResultSet execute(LanguageConnectionContext lcc, boolean rollbackParentContext) throws StandardException { Activation a = getActivation(lcc, false); a.setSingleExecution(); return execute(a, false, false, rollbackParentContext, timeoutMillis); } | 1,106,404 |
public void generateExpression(ExpressionClassBuilder acb, MethodBuilder mb) throws StandardException { DataTypeDescriptor dtd = getTypeServices(); if ((dtd != null) && dtd.getTypeId().isXMLTypeId()) { // We're a parameter that corresponds to an XML column/target, // which we don't allow. We thr... | public void generateExpression(ExpressionClassBuilder acb, MethodBuilder mb) throws StandardException { DataTypeDescriptor dtd = getTypeServices(); if ((dtd != null) && dtd.getTypeId().isXMLTypeId()) { // We're a parameter that corresponds to an XML column/target, // which we don't allow. We thr... | 1,106,406 |
public int getParameterNumber() { return parameterNumber; } | int getParameterNumber() { return parameterNumber; } | 1,106,407 |
public void setDescriptors(DataTypeDescriptor[] descriptors) { // The following is commented out for #3546, for create publication // or target ddl creations there could be multiple statements trying // to bind their own parameters. So the following assumptions does not // hold true. // i... | void setDescriptors(DataTypeDescriptor[] descriptors) { // The following is commented out for #3546, for create publication // or target ddl creations there could be multiple statements trying // to bind their own parameters. So the following assumptions does not // hold true. // if (Sani... | 1,106,408 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.