protected Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability, boolean wrap) throws SQLException { Statement stmnt; if (_del != null) stmnt = _del.createStatement(resultSetType, resultSetConcurrency, resultSetHoldability, false); else { stmnt = _conn.createStatement(resultSetType, resultSetConcurrency, resultSetHoldability); } if (wrap) stmnt = new DelegatingStatement(stmnt, this); return stmnt; }
/** * Create a statement, with the option of not wrapping it in a * {@link DelegatingStatement}, which is the default. */ protected Statement createStatement(boolean wrap) throws SQLException { Statement stmnt; if (_del != null) stmnt = _del.createStatement(false); else stmnt = _conn.createStatement(); if (wrap) stmnt = new DelegatingStatement(stmnt, this); return stmnt; }
protected Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability, boolean wrap) throws SQLException { Statement stmnt; if (_del != null) stmnt = _del.createStatement(resultSetType, resultSetConcurrency, resultSetHoldability, false); else { stmnt = _conn.createStatement(resultSetType, resultSetConcurrency, resultSetHoldability); } if (wrap) stmnt = new DelegatingStatement(stmnt, this); return stmnt; }
/** * Create a statement, with the option of not wrapping it in a * {@link DelegatingStatement}, which is the default. */ protected Statement createStatement(boolean wrap) throws SQLException { Statement stmnt; if (_del != null) stmnt = _del.createStatement(false); else stmnt = _conn.createStatement(); if (wrap) stmnt = new DelegatingStatement(stmnt, this); return stmnt; }
/** * Create a statement, with the option of not wrapping it in a * {@link DelegatingStatement}, which is the default. */ protected Statement createStatement(boolean wrap) throws SQLException { Statement stmnt; if (_del != null) stmnt = _del.createStatement(false); else stmnt = _conn.createStatement(); if (wrap) stmnt = new DelegatingStatement(stmnt, this); return stmnt; }
/** * Create a statement, with the option of not wrapping it in a * {@link DelegatingStatement}, which is the default. */ protected Statement createStatement(int type, int concur, boolean wrap) throws SQLException { Statement stmnt; if (_del != null) stmnt = _del.createStatement(type, concur, false); else stmnt = _conn.createStatement(type, concur); if (wrap) stmnt = new DelegatingStatement(stmnt, this); return stmnt; }
/** * Create a statement, with the option of not wrapping it in a * {@link DelegatingStatement}, which is the default. */ protected Statement createStatement(boolean wrap) throws SQLException { Statement stmnt; if (_del != null) stmnt = _del.createStatement(false); else stmnt = _conn.createStatement(); if (wrap) stmnt = new DelegatingStatement(stmnt, this); return stmnt; }
protected Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability, boolean wrap) throws SQLException { Statement stmnt; if (_del != null) stmnt = _del.createStatement(resultSetType, resultSetConcurrency, resultSetHoldability, false); else { stmnt = _conn.createStatement(resultSetType, resultSetConcurrency, resultSetHoldability); } if (wrap) stmnt = new DelegatingStatement(stmnt, this); return stmnt; }
/** * Create a statement, with the option of not wrapping it in a * {@link DelegatingStatement}, which is the default. */ protected Statement createStatement(int type, int concur, boolean wrap) throws SQLException { Statement stmnt; if (_del != null) stmnt = _del.createStatement(type, concur, false); else stmnt = _conn.createStatement(type, concur); if (wrap) stmnt = new DelegatingStatement(stmnt, this); return stmnt; }
/** * Create a statement, with the option of not wrapping it in a * {@link DelegatingStatement}, which is the default. */ protected Statement createStatement(int type, int concur, boolean wrap) throws SQLException { Statement stmnt; if (_del != null) stmnt = _del.createStatement(type, concur, false); else stmnt = _conn.createStatement(type, concur); if (wrap) stmnt = new DelegatingStatement(stmnt, this); return stmnt; }
/** * Create a statement, with the option of not wrapping it in a * {@link DelegatingStatement}, which is the default. */ protected Statement createStatement(int type, int concur, boolean wrap) throws SQLException { Statement stmnt; if (_del != null) stmnt = _del.createStatement(type, concur, false); else stmnt = _conn.createStatement(type, concur); if (wrap) stmnt = new DelegatingStatement(stmnt, this); return stmnt; }
protected Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability, boolean wrap) throws SQLException { Statement stmnt; if (_del != null) stmnt = _del.createStatement(resultSetType, resultSetConcurrency, resultSetHoldability, false); else { Method m = (Method) _jdbc3.get(CREATE_STATEMENT); if (m == null) m = createJDBC3Method(CREATE_STATEMENT, "createStatement", new Class[]{ int.class, int.class, int.class }); stmnt = (Statement) invokeJDBC3(m, new Object[]{ Numbers.valueOf(resultSetType), Numbers.valueOf(resultSetConcurrency), Numbers.valueOf(resultSetHoldability) }); } if (wrap) stmnt = new DelegatingStatement(stmnt, this); return stmnt; }