bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public void rememberAsBest(int planType) throws StandardException { super.rememberAsBest(planType); if (childResult instanceof Optimizable) ((Optimizable) childResult).rememberAsBest(planType); }
public void rememberAsBest(int planType) throws StandardException { super.rememberAsBest(planType); if (childResult instanceof Optimizable) ((Optimizable) childResult).rememberAsBest(planType, optimizer); }
1,103,719
private static void checkAsciiStreams(PreparedStatement psDel, PreparedStatement psi, PreparedStatement psq2, int cl, int vcl, int lvcl) throws SQLException, java.io.IOException { psDel.executeUpdate(); // now insert long values using streams and check them programatically. psi.setAsciiStream(1, new c3AsciiSt...
private static void checkAsciiStreams(PreparedStatement psDel, PreparedStatement psi, PreparedStatement psq2, int cl, int vcl, int lvcl,String colType) throws SQLException, java.io.IOException { psDel.executeUpdate(); // now insert long values using streams and check them programatically. psi.setAsciiStream(1...
1,103,720
private static void checkAsciiStreams(PreparedStatement psDel, PreparedStatement psi, PreparedStatement psq2, int cl, int vcl, int lvcl) throws SQLException, java.io.IOException { psDel.executeUpdate(); // now insert long values using streams and check them programatically. psi.setAsciiStream(1, new c3AsciiSt...
private static void checkAsciiStreams(PreparedStatement psDel, PreparedStatement psi, PreparedStatement psq2, int cl, int vcl, int lvcl) throws SQLException, java.io.IOException { psDel.executeUpdate(); // now insert long values using streams and check them programatically. psi.setAsciiStream(1, new c3AsciiSt...
1,103,721
private static void checkAsciiStreams(PreparedStatement psDel, PreparedStatement psi, PreparedStatement psq2, int cl, int vcl, int lvcl) throws SQLException, java.io.IOException { psDel.executeUpdate(); // now insert long values using streams and check them programatically. psi.setAsciiStream(1, new c3AsciiSt...
private static void checkAsciiStreams(PreparedStatement psDel, PreparedStatement psi, PreparedStatement psq2, int cl, int vcl, int lvcl) throws SQLException, java.io.IOException { psDel.executeUpdate(); // now insert long values using streams and check them programatically. psi.setAsciiStream(1, new c3AsciiSt...
1,103,722
private static void checkAsciiStreams(PreparedStatement psDel, PreparedStatement psi, PreparedStatement psq2, int cl, int vcl, int lvcl) throws SQLException, java.io.IOException { psDel.executeUpdate(); // now insert long values using streams and check them programatically. psi.setAsciiStream(1, new c3AsciiSt...
private static void checkAsciiStreams(PreparedStatement psDel, PreparedStatement psi, PreparedStatement psq2, int cl, int vcl, int lvcl) throws SQLException, java.io.IOException { psDel.executeUpdate(); // now insert long values using streams and check them programatically. psi.setAsciiStream(1, new c3AsciiSt...
1,103,723
private static void checkCharacterStreams(PreparedStatement psDel, PreparedStatement psi, PreparedStatement psq2, int cl, int vcl, int lvcl) throws SQLException, java.io.IOException { psDel.executeUpdate(); psi.setCharacterStream(1, new c3Reader(cl), cl); psi.setCharacterStream(2, new c3Reader(vcl), vcl); ps...
private static void checkCharacterStreams(PreparedStatement psDel, PreparedStatement psi, PreparedStatement psq2, int cl, int vcl, int lvcl,String colType) throws SQLException, java.io.IOException { psDel.executeUpdate(); psi.setCharacterStream(1, new c3Reader(cl), cl); psi.setCharacterStream(2, new c3Reader(...
1,103,724
private static void checkCharacterStreams(PreparedStatement psDel, PreparedStatement psi, PreparedStatement psq2, int cl, int vcl, int lvcl) throws SQLException, java.io.IOException { psDel.executeUpdate(); psi.setCharacterStream(1, new c3Reader(cl), cl); psi.setCharacterStream(2, new c3Reader(vcl), vcl); ps...
private static void checkCharacterStreams(PreparedStatement psDel, PreparedStatement psi, PreparedStatement psq2, int cl, int vcl, int lvcl) throws SQLException, java.io.IOException { psDel.executeUpdate(); psi.setCharacterStream(1, new c3Reader(cl), cl); psi.setCharacterStream(2, new c3Reader(vcl), vcl); ps...
1,103,725
private static void checkCharacterStreams(PreparedStatement psDel, PreparedStatement psi, PreparedStatement psq2, int cl, int vcl, int lvcl) throws SQLException, java.io.IOException { psDel.executeUpdate(); psi.setCharacterStream(1, new c3Reader(cl), cl); psi.setCharacterStream(2, new c3Reader(vcl), vcl); ps...
private static void checkCharacterStreams(PreparedStatement psDel, PreparedStatement psi, PreparedStatement psq2, int cl, int vcl, int lvcl) throws SQLException, java.io.IOException { psDel.executeUpdate(); psi.setCharacterStream(1, new c3Reader(cl), cl); psi.setCharacterStream(2, new c3Reader(vcl), vcl); ps...
1,103,726
private static void checkCharacterStreams(PreparedStatement psDel, PreparedStatement psi, PreparedStatement psq2, int cl, int vcl, int lvcl) throws SQLException, java.io.IOException { psDel.executeUpdate(); psi.setCharacterStream(1, new c3Reader(cl), cl); psi.setCharacterStream(2, new c3Reader(vcl), vcl); ps...
private static void checkCharacterStreams(PreparedStatement psDel, PreparedStatement psi, PreparedStatement psq2, int cl, int vcl, int lvcl) throws SQLException, java.io.IOException { psDel.executeUpdate(); psi.setCharacterStream(1, new c3Reader(cl), cl); psi.setCharacterStream(2, new c3Reader(vcl), vcl); ps...
1,103,727
public static void main(String[] args) { isDerbyNet = TestUtil.isNetFramework(); if (isDerbyNet) { System.out.println("SKIP TEST FOR NOW"); return; } boolean passed = true; Connection conn = null; try { System.out.println("Test characterStreams starting"); // use the ij utility to read the property file...
public static void main(String[] args) { isDerbyNet = TestUtil.isNetFramework(); if (isDerbyNet) { System.out.println("SKIP TEST FOR NOW"); return; } boolean passed = true; Connection conn = null; try { System.out.println("Test characterStreams starting"); // use the ij utility to read the property file...
1,103,728
static void setStreams(Connection conn) throws Exception { ResultSet rs; PreparedStatement psi = conn.prepareStatement("insert into charstream(c, vc, lvc) values(?,?,?)"); PreparedStatement psq = conn.prepareStatement("select id, c, {fn length(c)} AS CLEN, cast (vc as varchar(25)) AS VC, {fn length(vc)} AS VCLEN, c...
static void setStreams(Connection conn,String colType) throws Exception { ResultSet rs; PreparedStatement psi = conn.prepareStatement("insert into charstream(c, vc, lvc) values(?,?,?)"); PreparedStatement psq = conn.prepareStatement("select id, c, {fn length(c)} AS CLEN, cast (vc as varchar(25)) AS VC, {fn length(v...
1,103,729
static void setStreams(Connection conn) throws Exception { ResultSet rs; PreparedStatement psi = conn.prepareStatement("insert into charstream(c, vc, lvc) values(?,?,?)"); PreparedStatement psq = conn.prepareStatement("select id, c, {fn length(c)} AS CLEN, cast (vc as varchar(25)) AS VC, {fn length(vc)} AS VCLEN, c...
static void setStreams(Connection conn) throws Exception { ResultSet rs; PreparedStatement psi = conn.prepareStatement("insert into charstream(c, vc, lvc) values(?,?,?)"); PreparedStatement psq = conn.prepareStatement("select id, c, {fn length(c)} AS CLEN, cast (vc as varchar(25)) AS VC, {fn length(vc)} AS VCLEN, c...
1,103,730
static void setStreams(Connection conn) throws Exception { ResultSet rs; PreparedStatement psi = conn.prepareStatement("insert into charstream(c, vc, lvc) values(?,?,?)"); PreparedStatement psq = conn.prepareStatement("select id, c, {fn length(c)} AS CLEN, cast (vc as varchar(25)) AS VC, {fn length(vc)} AS VCLEN, c...
static void setStreams(Connection conn) throws Exception { ResultSet rs; PreparedStatement psi = conn.prepareStatement("insert into charstream(c, vc, lvc) values(?,?,?)"); PreparedStatement psq = conn.prepareStatement("select id, c, {fn length(c)} AS CLEN, cast (vc as varchar(25)) AS VC, {fn length(vc)} AS VCLEN, c...
1,103,731
static void setStreams(Connection conn) throws Exception { ResultSet rs; PreparedStatement psi = conn.prepareStatement("insert into charstream(c, vc, lvc) values(?,?,?)"); PreparedStatement psq = conn.prepareStatement("select id, c, {fn length(c)} AS CLEN, cast (vc as varchar(25)) AS VC, {fn length(vc)} AS VCLEN, c...
static void setStreams(Connection conn) throws Exception { ResultSet rs; PreparedStatement psi = conn.prepareStatement("insert into charstream(c, vc, lvc) values(?,?,?)"); PreparedStatement psq = conn.prepareStatement("select id, c, {fn length(c)} AS CLEN, cast (vc as varchar(25)) AS VC, {fn length(vc)} AS VCLEN, c...
1,103,732
static void setStreams(Connection conn) throws Exception { ResultSet rs; PreparedStatement psi = conn.prepareStatement("insert into charstream(c, vc, lvc) values(?,?,?)"); PreparedStatement psq = conn.prepareStatement("select id, c, {fn length(c)} AS CLEN, cast (vc as varchar(25)) AS VC, {fn length(vc)} AS VCLEN, c...
static void setStreams(Connection conn) throws Exception { ResultSet rs; PreparedStatement psi = conn.prepareStatement("insert into charstream(c, vc, lvc) values(?,?,?)"); PreparedStatement psq = conn.prepareStatement("select id, c, {fn length(c)} AS CLEN, cast (vc as varchar(25)) AS VC, {fn length(vc)} AS VCLEN, c...
1,103,733
private static void checkHeldRS(Connection conn, Statement s, ResultSet rs) throws SQLException { if (s.getConnection() != conn) System.out.println("FAIL - mismatched statement & Connection"); if (rs.getStatement() != s) { // DERBY-1009 System.out....
private static void checkHeldRS(Connection conn, Statement s, ResultSet rs) throws SQLException { if (s.getConnection() != conn) System.out.println("FAIL - mismatched statement & Connection"); if (rs.getStatement() != s) { // DERBY-1009 System.out....
1,103,734
private static void derby966(XADataSource xads) { System.out.println("derby966"); try { XAConnection xac = xads.getXAConnection(); XAResource xar = xac.getXAResource(); Xid xid = XATestUtil.getXid(996, 9, 48); Connection conn = xac.get...
private static void derby966(XADataSource xads) { System.out.println("derby966"); try { XAConnection xac = xads.getXAConnection(); XAResource xar = xac.getXAResource(); Xid xid = XATestUtil.getXid(996, 9, 48); Connection conn = xac.get...
1,103,735
private static void morph(XADataSource xads) { System.out.println("morph"); try { XAConnection xac = xads.getXAConnection(); XAResource xar = xac.getXAResource(); Connection conn = xac.getConnection(); /* autocommit off; insert into f...
private static void morph(XADataSource xads) { System.out.println("morph"); try { XAConnection xac = xads.getXAConnection(); XAResource xar = xac.getXAResource(); Connection conn = xac.getConnection(); /* autocommit off; insert into f...
1,103,737
private static void morph(XADataSource xads) { System.out.println("morph"); try { XAConnection xac = xads.getXAConnection(); XAResource xar = xac.getXAResource(); Connection conn = xac.getConnection(); /* autocommit off; insert into f...
private static void morph(XADataSource xads) { System.out.println("morph"); try { XAConnection xac = xads.getXAConnection(); XAResource xar = xac.getXAResource(); Connection conn = xac.getConnection(); /* autocommit off; insert into f...
1,103,738
private static void morph(XADataSource xads) { System.out.println("morph"); try { XAConnection xac = xads.getXAConnection(); XAResource xar = xac.getXAResource(); Connection conn = xac.getConnection(); /* autocommit off; insert into f...
private static void morph(XADataSource xads) { System.out.println("morph"); try { XAConnection xac = xads.getXAConnection(); XAResource xar = xac.getXAResource(); Connection conn = xac.getConnection(); /* autocommit off; insert into f...
1,103,739
void bindParameter() throws StandardException { /* ** According to the SQL standard, if bit_length has a ? operand, ** its type is bit varying with the implementation-defined maximum length ** for a bit. */ ((ParameterNode) operand).setDescriptor( DataTypeDescriptor.getBuiltInDataTypeDescriptor(Types.VAR...
void bindParameter() throws StandardException { /* ** According to the SQL standard, if bit_length has a ? operand, ** its type is bit varying with the implementation-defined maximum length ** for a bit. */ ((ParameterNode) operand).setDescriptor( DataTypeDescriptor.getBuiltInDataTypeDescriptor(Types.VAR...
1,103,742
void flowExecute(int executeType) throws SqlException { super.checkForClosedStatement(); super.clearWarningsX(); super.checkForAppropriateSqlMode(executeType, sqlMode_); checkThatAllParametersAreSet(); if (sqlMode_ == isUpdate__) { updateCount_ = 0; } else { ...
void flowExecute(int executeType) throws SqlException { super.checkForClosedStatement(); super.clearWarningsX(); super.checkForAppropriateSqlMode(executeType, sqlMode_); checkThatAllParametersAreSet(); if (sqlMode_ == isUpdate__) { updateCount_ = 0; } else { ...
1,103,743
public boolean lockContainer( Transaction t, ContainerHandle container, boolean waitForLock, boolean forUpdate) throws StandardException { Object qualifier = forUpdate ? ContainerLock.CIX : ContainerLock.CIS; // for cursor stability put read locks on a sep...
public boolean lockContainer( Transaction t, ContainerHandle container, boolean waitForLock, boolean forUpdate) throws StandardException { Object qualifier = forUpdate ? ContainerLock.CIX : ContainerLock.CIS; // for cursor stability put read locks on a sep...
1,103,744
public boolean lockContainer( Transaction t, ContainerHandle container, boolean waitForLock, boolean forUpdate) throws StandardException { Object qualifier = forUpdate ? ContainerLock.CIX : ContainerLock.CIS; // for cursor stability put read locks on a sep...
public boolean lockContainer( Transaction t, ContainerHandle container, boolean waitForLock, boolean forUpdate) throws StandardException { Object qualifier = forUpdate ? ContainerLock.CIX : ContainerLock.CIS; // for cursor stability put read locks on a sep...
1,103,745
public void fetch(DataValueDescriptor[] row) throws StandardException { if (scan_state != SCAN_INPROGRESS) throw StandardException.newException( SQLState.AM_SCAN_NOT_POSITIONED); if (!open_conglom.latchPage(scan_position)) { throw StandardException.newExce...
public void fetch(DataValueDescriptor[] row) throws StandardException { if (scan_state != SCAN_INPROGRESS) throw StandardException.newException( SQLState.AM_SCAN_NOT_POSITIONED); if (!open_conglom.latchPage(scan_position)) { throw StandardException.newExce...
1,103,746
public String getNumericFunctions() { return "ABS,ACOS,ASIN,ATAN,CEILING,COS,DEGREES,EXP,FLOOR,LOG,LOG10,MOD,PI,RADIANS,SIN,SQRT,TAN"; }
public String getNumericFunctions() { return "ABS,ACOS,ASIN,ATAN,CEILING,COS,COT,DEGREES,EXP,FLOOR,LOG,LOG10,MOD,PI,RADIANS,RAND,SIGN,SIN,SQRT,TAN"; }
1,103,747
public boolean authenticateUser(String userName, String userPassword, String databaseName, Properties info ) { // let's check if the user has been defined as a valid user of the // JBMS system. // We expect to find and match a System property corresponding to the // credentials pass...
public boolean authenticateUser(String userName, String userPassword, String databaseName, Properties info ) { // let's check if the user has been defined as a valid user of the // JBMS system. // We expect to find and match a System property corresponding to the // credentials pass...
1,103,748
public boolean authenticateUser(String userName, String userPassword, String databaseName, Properties info ) { // let's check if the user has been defined as a valid user of the // JBMS system. // We expect to find and match a System property corresponding to the // credentials pass...
public boolean authenticateUser(String userName, String userPassword, String databaseName, Properties info ) { // let's check if the user has been defined as a valid user of the // JBMS system. // We expect to find and match a System property corresponding to the // credentials pass...
1,103,749
public boolean authenticateUser(String userName, String userPassword, String databaseName, Properties info ) { // let's check if the user has been defined as a valid user of the // JBMS system. // We expect to find and match a System property corresponding to the // credentials pass...
public boolean authenticateUser(String userName, String userPassword, String databaseName, Properties info ) { // let's check if the user has been defined as a valid user of the // JBMS system. // We expect to find and match a System property corresponding to the // credentials pass...
1,103,750
protected String encryptPassword(String plainTxtUserPassword) { if (plainTxtUserPassword == null) return null; MessageDigest algorithm = null; try { algorithm = MessageDigest.getInstance("SHA-1"); } catch (NoSuchAlgorithmException nsae) { // Ignore as we checked already during service boot-up } algorit...
protected String encryptPassword(String plainTxtUserPassword) { if (plainTxtUserPassword == null) return null; MessageDigest algorithm = null; try { algorithm = MessageDigest.getInstance("SHA-1"); } catch (NoSuchAlgorithmException nsae) { // Ignore as we checked already during service boot-up } algorit...
1,103,751
protected String encryptPassword(String plainTxtUserPassword) { if (plainTxtUserPassword == null) return null; MessageDigest algorithm = null; try { algorithm = MessageDigest.getInstance("SHA-1"); } catch (NoSuchAlgorithmException nsae) { // Ignore as we checked already during service boot-up } algorit...
protected String encryptPassword(String plainTxtUserPassword) { if (plainTxtUserPassword == null) return null; MessageDigest algorithm = null; try { algorithm = MessageDigest.getInstance("SHA-1"); } catch (NoSuchAlgorithmException nsae) { // Ignore as we checked already during service boot-up } algorit...
1,103,752
public String getClientInfo(String name) throws SQLException{ throw Util.notImplemented(); }
public String getClientInfo(String name) throws SQLException{ try { return getRealConnection().getClientInfo(name); } catch (SQLException se) { notifyException(se); throw se; } }
1,103,753
public void setClientInfo(String name, String value) throws SQLException{ throw Util.notImplemented(); }
public void setClientInfo(String name, String value) throws SQLException{ throw Util.notImplemented(); }
1,103,754
public void check( LanguageConnectionContext lcc, String authorizationId, boolean forGrant) throws StandardException { DataDictionary dd = lcc.getDataDictionary(); if( hasPermissionOnTable(dd, authorizationId, forGrant)) return; FormatableBitSet permittedColumns = null; FormatableBitSet grantableP...
public void check( LanguageConnectionContext lcc, String authorizationId, boolean forGrant) throws StandardException { DataDictionary dd = lcc.getDataDictionary(); if( hasPermissionOnTable(dd, authorizationId, forGrant)) return; FormatableBitSet permittedColumns = null; FormatableBitSet grantableP...
1,103,755
private void checkPurgePhase( Connection conn, boolean create_table, String schemaName, String table_name, int num_rows) throws SQLException { testProgress( "begin checkPurgePhase" + num_rows + " row test, create = " + create_table ...
private void checkPurgePhase( Connection conn, boolean create_table, String schemaName, String table_name, int num_rows) throws SQLException { testProgress( "begin checkPurgePhase" + num_rows + " row test, create = " + create_table ...
1,103,756
public static void checkForExceptionsFromLoadConfiguration(LogWriter dncLogWriter) throws SqlException { if (dncResources__ == null) { throw new SqlException(dncLogWriter, "Missing resource bundle: a resource bundle could not be found" + " in the " + Configura...
public static void checkForExceptionsFromLoadConfiguration(LogWriter dncLogWriter) throws SqlException { if (dncResources__ == null) { throw new SqlException(dncLogWriter, "Missing resource bundle: a resource bundle could not be found" + " in the " + Configura...
1,103,757
private static void loadProductVersionHolder() throws SqlException { try { dncProductVersionHolder__ = buildProductVersionHolder(); } catch (java.security.PrivilegedActionException e) { throw new SqlException(null, "[derby] " + "PrivilegedAct...
private static void loadProductVersionHolder() throws SqlException { try { dncProductVersionHolder__ = buildProductVersionHolder(); } catch (java.security.PrivilegedActionException e) { throw new SqlException(null, "[derby] " + "PrivilegedAct...
1,103,758
private static void loadProductVersionHolder() throws SqlException { try { dncProductVersionHolder__ = buildProductVersionHolder(); } catch (java.security.PrivilegedActionException e) { throw new SqlException(null, "[derby] " + "PrivilegedAct...
private static void loadProductVersionHolder() throws SqlException { try { dncProductVersionHolder__ = buildProductVersionHolder(); } catch (java.security.PrivilegedActionException e) { throw new SqlException(null, "[derby] " + "PrivilegedAct...
1,103,759
private static void loadResources() throws SqlException { try { dncResources__ = (java.util.ResourceBundle) java.security.AccessController.doPrivileged(new org.apache.derby.client.am.GetResourceBundleAction(classNameForResources)); } catch (java.security.PrivilegedActionException e) { ...
private static void loadResources() throws SqlException { try { dncResources__ = (java.util.ResourceBundle) java.security.AccessController.doPrivileged(new org.apache.derby.client.am.GetResourceBundleAction(classNameForResources)); } catch (java.security.PrivilegedActionException e) { ...
1,103,760
private static void loadResources() throws SqlException { try { dncResources__ = (java.util.ResourceBundle) java.security.AccessController.doPrivileged(new org.apache.derby.client.am.GetResourceBundleAction(classNameForResources)); } catch (java.security.PrivilegedActionException e) { ...
private static void loadResources() throws SqlException { try { dncResources__ = (java.util.ResourceBundle) java.security.AccessController.doPrivileged(new org.apache.derby.client.am.GetResourceBundleAction(classNameForResources)); } catch (java.security.PrivilegedActionException e) { ...
1,103,761
public void bindTables(DataDictionary dataDictionary, FromList fromListParam) throws StandardException { FromTable fromTable; /* Now we bind the tables - this is a 2 step process. * We first bind all of the non-VTIs, then we bind the VTIs. * This enables us to handle the passing of correlation * colu...
public void bindTables(DataDictionary dataDictionary, FromList fromListParam) throws StandardException { FromTable fromTable; /* Now we bind the tables - this is a 2 step process. * We first bind all of the non-VTIs, then we bind the VTIs. * This enables us to handle the passing of correlation * colu...
1,103,762
public void bindTables(DataDictionary dataDictionary, FromList fromListParam) throws StandardException { FromTable fromTable; /* Now we bind the tables - this is a 2 step process. * We first bind all of the non-VTIs, then we bind the VTIs. * This enables us to handle the passing of correlation * colu...
public void bindTables(DataDictionary dataDictionary, FromList fromListParam) throws StandardException { FromTable fromTable; /* Now we bind the tables - this is a 2 step process. * We first bind all of the non-VTIs, then we bind the VTIs. * This enables us to handle the passing of correlation * colu...
1,103,763
public void updateCheckBoxQuestionInSection(HttpServletRequest request) { HttpSession session = request.getSession(); Section section = (Section) session.getAttribute("currentSection"); String name = Transformer.htmlEspecialCharsConverter(request .getParameter("name")); String image = Transformer.htmlEspecialCh...
public void updateCheckBoxQuestionInSection(HttpServletRequest request) { HttpSession session = request.getSession(); Section section = (Section) session.getAttribute("currentSection"); String name = Transformer.htmlEspecialCharsConverter(request .getParameter("name")); String image = Transformer.htmlEspecialCh...
1,103,765
public void updateCheckBoxQuestionInSection(HttpServletRequest request) { HttpSession session = request.getSession(); Section section = (Section) session.getAttribute("currentSection"); String name = Transformer.htmlEspecialCharsConverter(request .getParameter("name")); String image = Transformer.htmlEspecialCh...
public void updateCheckBoxQuestionInSection(HttpServletRequest request) { HttpSession session = request.getSession(); Section section = (Section) session.getAttribute("currentSection"); String name = Transformer.htmlEspecialCharsConverter(request .getParameter("name")); String image = Transformer.htmlEspecialCh...
1,103,766
public void updateEmptyQuestionInSection(HttpServletRequest request) { HttpSession session = request.getSession(); Section section = (Section) session.getAttribute("currentSection"); String name = Transformer.htmlEspecialCharsConverter(request .getParameter("name")); String image = Transformer.htmlEspecialChars...
public void updateEmptyQuestionInSection(HttpServletRequest request) { HttpSession session = request.getSession(); Section section = (Section) session.getAttribute("currentSection"); String name = Transformer.htmlEspecialCharsConverter(request .getParameter("name")); String image = Transformer.htmlEspecialChars...
1,103,767
public void updateEmptyQuestionInSection(HttpServletRequest request) { HttpSession session = request.getSession(); Section section = (Section) session.getAttribute("currentSection"); String name = Transformer.htmlEspecialCharsConverter(request .getParameter("name")); String image = Transformer.htmlEspecialChars...
public void updateEmptyQuestionInSection(HttpServletRequest request) { HttpSession session = request.getSession(); Section section = (Section) session.getAttribute("currentSection"); String name = Transformer.htmlEspecialCharsConverter(request .getParameter("name")); String image = Transformer.htmlEspecialChars...
1,103,768
public void updateMatrixQuestionInSection(HttpServletRequest request) { HttpSession session = request.getSession(); Section section = (Section) session.getAttribute("currentSection"); String name = Transformer.htmlEspecialCharsConverter(request .getParameter("name")); String image = Transformer.htmlEspecialChar...
public void updateMatrixQuestionInSection(HttpServletRequest request) { HttpSession session = request.getSession(); Section section = (Section) session.getAttribute("currentSection"); String name = Transformer.htmlEspecialCharsConverter(request .getParameter("name")); String image = Transformer.htmlEspecialChar...
1,103,769
public void updateMatrixQuestionInSection(HttpServletRequest request) { HttpSession session = request.getSession(); Section section = (Section) session.getAttribute("currentSection"); String name = Transformer.htmlEspecialCharsConverter(request .getParameter("name")); String image = Transformer.htmlEspecialChar...
public void updateMatrixQuestionInSection(HttpServletRequest request) { HttpSession session = request.getSession(); Section section = (Section) session.getAttribute("currentSection"); String name = Transformer.htmlEspecialCharsConverter(request .getParameter("name")); String image = Transformer.htmlEspecialChar...
1,103,770
public void updateNumericQuestionInSection(HttpServletRequest request) { HttpSession session = request.getSession(); Section section = (Section) session.getAttribute("currentSection"); String name = Transformer.htmlEspecialCharsConverter(request .getParameter("name")); String image = Transformer.htmlEspecialCha...
public void updateNumericQuestionInSection(HttpServletRequest request) { HttpSession session = request.getSession(); Section section = (Section) session.getAttribute("currentSection"); String name = Transformer.htmlEspecialCharsConverter(request .getParameter("name")); String image = Transformer.htmlEspecialCha...
1,103,771
public void updateNumericQuestionInSection(HttpServletRequest request) { HttpSession session = request.getSession(); Section section = (Section) session.getAttribute("currentSection"); String name = Transformer.htmlEspecialCharsConverter(request .getParameter("name")); String image = Transformer.htmlEspecialCha...
public void updateNumericQuestionInSection(HttpServletRequest request) { HttpSession session = request.getSession(); Section section = (Section) session.getAttribute("currentSection"); String name = Transformer.htmlEspecialCharsConverter(request .getParameter("name")); String image = Transformer.htmlEspecialCha...
1,103,772
public void updateOpenQuestionInSection(HttpServletRequest request) { HttpSession session = request.getSession(); Section section = (Section) session.getAttribute("currentSection"); String name = Transformer.htmlEspecialCharsConverter(request .getParameter("name")); String image = Transformer.htmlEspecialCharsC...
public void updateOpenQuestionInSection(HttpServletRequest request) { HttpSession session = request.getSession(); Section section = (Section) session.getAttribute("currentSection"); String name = Transformer.htmlEspecialCharsConverter(request .getParameter("name")); String image = Transformer.htmlEspecialCharsC...
1,103,773
public void updateOpenQuestionInSection(HttpServletRequest request) { HttpSession session = request.getSession(); Section section = (Section) session.getAttribute("currentSection"); String name = Transformer.htmlEspecialCharsConverter(request .getParameter("name")); String image = Transformer.htmlEspecialCharsC...
public void updateOpenQuestionInSection(HttpServletRequest request) { HttpSession session = request.getSession(); Section section = (Section) session.getAttribute("currentSection"); String name = Transformer.htmlEspecialCharsConverter(request .getParameter("name")); String image = Transformer.htmlEspecialCharsC...
1,103,774
public void updateOpenQuestionInSection(HttpServletRequest request) { HttpSession session = request.getSession(); Section section = (Section) session.getAttribute("currentSection"); String name = Transformer.htmlEspecialCharsConverter(request .getParameter("name")); String image = Transformer.htmlEspecialCharsC...
public void updateOpenQuestionInSection(HttpServletRequest request) { HttpSession session = request.getSession(); Section section = (Section) session.getAttribute("currentSection"); String name = Transformer.htmlEspecialCharsConverter(request .getParameter("name")); String image = Transformer.htmlEspecialCharsC...
1,103,775
public void updateStringListQuestionInSection(HttpServletRequest request) { HttpSession session = request.getSession(); Section section = (Section) session.getAttribute("currentSection"); String name = Transformer.htmlEspecialCharsConverter(request .getParameter("name")); String image = Transformer.htmlEspecial...
public void updateStringListQuestionInSection(HttpServletRequest request) { HttpSession session = request.getSession(); Section section = (Section) session.getAttribute("currentSection"); String name = Transformer.htmlEspecialCharsConverter(request .getParameter("name")); String image = Transformer.htmlEspecial...
1,103,776
public void updateStringListQuestionInSection(HttpServletRequest request) { HttpSession session = request.getSession(); Section section = (Section) session.getAttribute("currentSection"); String name = Transformer.htmlEspecialCharsConverter(request .getParameter("name")); String image = Transformer.htmlEspecial...
public void updateStringListQuestionInSection(HttpServletRequest request) { HttpSession session = request.getSession(); Section section = (Section) session.getAttribute("currentSection"); String name = Transformer.htmlEspecialCharsConverter(request .getParameter("name")); String image = Transformer.htmlEspecial...
1,103,777
void setup() throws StandardException { // Remember if this is the 1st execution firstExecute = (rc == null); try { //open the source for the parent tables if (numOpens++ == 0) { source.openCore(); } else { source.reopenCore(); } } catch (StandardException se) { activation.checkStateme...
void setup() throws StandardException { // Remember if this is the 1st execution firstExecute = (rc == null); try { //open the source for the parent tables if (numOpens++ == 0) { source.openCore(); } else { source.reopenCore(); } } catch (StandardException se) { activation.checkStateme...
1,103,778
public void generate(ActivationClassBuilder acb, MethodBuilder mb, ResultSetNode child) throws StandardException { /* ** If sorting is not required, don't generate a sort result set - ** just return the child result set. */ if ( ! sortNeeded) { child.generate(acb, mb); return; } /* Get...
public void generate(ActivationClassBuilder acb, MethodBuilder mb, ResultSetNode child) throws StandardException { /* ** If sorting is not required, don't generate a sort result set - ** just return the child result set. */ if ( ! sortNeeded) { child.generate(acb, mb); return; } /* Get...
1,103,779
private void syncFile( StorageRandomAccessFile raf) throws StandardException { for( int i=0; ; ) { // 3311: JVM sync call sometimes fails under high load against NFS // mounted disk. We re-try to do this 20 times. try { raf.sync( ...
private void syncFile( StorageRandomAccessFile raf) throws StandardException { for( int i=0; ; ) { // 3311: JVM sync call sometimes fails under high load against NFS // mounted disk. We re-try to do this 20 times. try { raf.sync( ...
1,103,780
final void writeDate(java.sql.Date date) throws SqlException { ensureLength(offset_ + 10); org.apache.derby.client.am.DateTime.dateToDateBytes(bytes_, offset_, date); offset_ += 10; }
final void writeDate(java.sql.Date date) throws SqlException { ensureLength(offset_ + 10); org.apache.derby.client.am.DateTime.dateToDateBytes(bytes_, offset_, date); offset_ += 10; }
1,103,784
final void writeTime(java.sql.Time time) throws SqlException { ensureLength(offset_ + 8); org.apache.derby.client.am.DateTime.timeToTimeBytes(bytes_, offset_, time); offset_ += 8; }
final void writeTime(java.sql.Time time) throws SqlException { ensureLength(offset_ + 8); org.apache.derby.client.am.DateTime.timeToTimeBytes(bytes_, offset_, time); offset_ += 8; }
1,103,785
final void writeTimestamp(java.sql.Timestamp timestamp) throws SqlException { ensureLength(offset_ + 26); org.apache.derby.client.am.DateTime.timestampToTimestampBytes(bytes_, offset_, timestamp); offset_ += 26; }
final void writeTimestamp(java.sql.Timestamp timestamp) throws SqlException { ensureLength(offset_ + 26); org.apache.derby.client.am.DateTime.timestampToTimestampBytes(bytes_, offset_, timestamp); offset_ += 26; }
1,103,786
void doneScanning(Scan scan, SortBuffer sortBuffer, Vector mergeRuns) { this.mergeRuns = mergeRuns; doneScanning(scan, sortBuffer); }
void doneScanning(Scan scan, SortBuffer sortBuffer, Vector mergeRuns) { this.mergeRuns = mergeRuns; doneScanning(scan, sortBuffer); }
1,103,787
void doneScanning(Scan scan, SortBuffer sortBuffer, Vector mergeRuns) { this.mergeRuns = mergeRuns; doneScanning(scan, sortBuffer); }
void doneScanning(Scan scan, SortBuffer sortBuffer, Vector mergeRuns) { if (SanityManager.DEBUG) { doneScanning(scan, sortBuffer); }
1,103,788
void doneScanning(Scan scan, SortBuffer sortBuffer, Vector mergeRuns) { this.mergeRuns = mergeRuns; doneScanning(scan, sortBuffer); }
void doneScanning(Scan scan, SortBuffer sortBuffer, Vector mergeRuns) { this.mergeRuns = mergeRuns; if (this.scan != scan) SanityManager.THROWASSERT("this.scan = " + this.scan + " scan = " + scan); } this.sortBuffer = sortBuffer; this.scan = null; this.state = STATE_DONE_SCANNING; }
1,103,789
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_ = XAResource.XA_OK; // initialize XARETVAL if (xaState == XA...
1,103,790
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,103,791
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_ = XAResource.XA_OK; // initialize XARETVAL readLocalXARollback_(); if (callInfo.xaRet...
1,103,792
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,103,793
public TypeId(int formatId, BaseTypeIdImpl baseTypeId) { this.formatId = formatId; this.baseTypeId = baseTypeId; setTypeIdSpecificInstanceVariables(); }
public TypeId(int formatId) { this.formatId = formatId; this.baseTypeId = baseTypeId; setTypeIdSpecificInstanceVariables(); }
1,103,794
public TypeId(int formatId, BaseTypeIdImpl baseTypeId) { this.formatId = formatId; this.baseTypeId = baseTypeId; setTypeIdSpecificInstanceVariables(); }
public TypeId(int formatId, BaseTypeIdImpl baseTypeId) { this.formatId = formatId; setTypeIdSpecificInstanceVariables(); }
1,103,795
private static void derby522(Statement st) throws Exception { System.out.println("Starting test for DERBY-522."); st.execute("create table t1 (i int)"); st.execute("insert into t1 values 1, 2, 3, 4, 5, 6, 7"); st.execute("create procedure proc1() language java " + "parameter style java dynamic result sets 1 " + ...
private static void derby522(Statement st) throws Exception { System.out.println("Starting test for DERBY-522."); st.execute("create table t1 (i int)"); st.execute("insert into t1 values 1, 2, 3, 4, 5, 6, 7"); st.execute("create procedure proc1() language java " + "parameter style java dynamic result sets 1 " + ...
1,103,796
private static void derby522(Statement st) throws Exception { System.out.println("Starting test for DERBY-522."); st.execute("create table t1 (i int)"); st.execute("insert into t1 values 1, 2, 3, 4, 5, 6, 7"); st.execute("create procedure proc1() language java " + "parameter style java dynamic result sets 1 " + ...
private static void derby522(Statement st) throws Exception { System.out.println("Starting test for DERBY-522."); st.execute("create table t1 (i int)"); st.execute("insert into t1 values 1, 2, 3, 4, 5, 6, 7"); st.execute("create procedure proc1() language java " + "parameter style java dynamic result sets 1 " + ...
1,103,797
double nonBasePredicateSelectivity(Optimizable innerTable, OptimizablePredicateList predList);
double nonBasePredicateSelectivity(Optimizable innerTable, OptimizablePredicateList predList) throws StandardException;
1,103,798
private void checkForNullPhysicalConnection() throws SQLException { if (physicalConnection_ == null) { SqlException se = new SqlException(null, new ClientMessageId(SQLState.NO_CURRENT_CONNECTION)); throw se.getSQLException(); } }
protected void checkForNullPhysicalConnection() throws SQLException { if (physicalConnection_ == null) { SqlException se = new SqlException(null, new ClientMessageId(SQLState.NO_CURRENT_CONNECTION)); throw se.getSQLException(); } }
1,103,800
public StepMeta newStep(String name, String description, boolean openit, boolean rename) { StepMeta inf = null; // See if we need to rename the step to avoid doubles! if (rename && transMeta.findStep(name)!=null) { int i=2; String newname = name+" "+i; ...
public StepMeta newStep() { StepMeta inf = null; // See if we need to rename the step to avoid doubles! if (rename && transMeta.findStep(name)!=null) { int i=2; String newname = name+" "+i; while (transMeta.findStep(newname)!=null) {...
1,103,801
public StepMeta newStep(String name, String description, boolean openit, boolean rename) { StepMeta inf = null; // See if we need to rename the step to avoid doubles! if (rename && transMeta.findStep(name)!=null) { int i=2; String newname = name+" "+i; ...
public StepMeta newStep(String name, String description, boolean openit, boolean rename) { StepMeta inf = null; // See if we need to rename the step to avoid doubles! if (rename && transMeta.findStep(name)!=null) { int i=2; String newname = name+" "+i; ...
1,103,802
void buildACCRDB(String rdbnam, boolean readOnly, byte[] crrtkn, byte[] prddta, Typdef typdef) throws SqlException { createCommand(); markLengthBytes(CodePoint.ACCRDB); // the relational database name specifies the ...
void buildACCRDB(String rdbnam, boolean readOnly, byte[] crrtkn, byte[] prddta, Typdef typdef) throws SqlException { createCommand(); markLengthBytes(CodePoint.ACCRDB); // the relational database name specifies the ...
1,103,803
Request(NetAgent netAgent, CcsidManager ccsidManager, int bufferSize) { //this (netAgent, Request.DEFAULT_BUFFER_SIZE, ccsidManager); this(netAgent, bufferSize, ccsidManager); }
Request(NetAgent netAgent, CcsidManager ccsidManager, int bufferSize) { //this (netAgent, Request.DEFAULT_BUFFER_SIZE, ccsidManager); this(netAgent, bufferSize, ccsidManager); }
1,103,804
final void writeScalarBytes(int codePoint, byte[] buff) { int buffLength = buff.length; ensureLength(offset_ + buffLength + 4); bytes_[offset_++] = (byte) (((buffLength + 4) >>> 8) & 0xff); bytes_[offset_++] = (byte) ((buffLength + 4) & 0xff); bytes_[offset_++] = (byte) ((codePoin...
final void writeScalarBytes(int codePoint, byte[] buff) { int buffLength = buff.length; ensureLength(offset_ + buffLength + 4); bytes_[offset_++] = (byte) (((buffLength + 4) >>> 8) & 0xff); bytes_[offset_++] = (byte) ((buffLength + 4) & 0xff); bytes_[offset_++] = (byte) ((codePoin...
1,103,805
final void writeScalarBytes(int codePoint, byte[] buff) { int buffLength = buff.length; ensureLength(offset_ + buffLength + 4); bytes_[offset_++] = (byte) (((buffLength + 4) >>> 8) & 0xff); bytes_[offset_++] = (byte) ((buffLength + 4) & 0xff); bytes_[offset_++] = (byte) ((codePoin...
final void writeScalarBytes(int codePoint, byte[] buff) { int buffLength = buff.length; ensureLength(offset_ + buffLength + 4); bytes_[offset_++] = (byte) (((buffLength + 4) >>> 8) & 0xff); bytes_[offset_++] = (byte) ((buffLength + 4) & 0xff); bytes_[offset_++] = (byte) ((codePoin...
1,103,806
public void pushExpressions(PredicateList predicateList) throws StandardException { PredicateList pushPList = null; if (SanityManager.DEBUG) SanityManager.ASSERT(predicateList != null, "predicateList is expected to be non-null"); /* Push single table predicates down to the left of an outer * join, if ...
public void pushExpressions(PredicateList predicateList) throws StandardException { PredicateList pushPList = null; if (SanityManager.DEBUG) SanityManager.ASSERT(predicateList != null, "predicateList is expected to be non-null"); /* Push single table predicates down to the left of an outer * join, if ...
1,103,807
public void rememberAsBest(int planType) throws StandardException { AccessPath bestPath = null; switch (planType) { case Optimizer.NORMAL_PLAN: bestPath = getBestAccessPath(); break; case Optimizer.SORT_AVOIDANCE_PLAN: bestPath = getBestSortAvoidancePath(); break; default: if (SanityManager.DEBUG...
public void rememberAsBest(int planType, Optimizer optimizer) throws StandardException { AccessPath bestPath = null; switch (planType) { case Optimizer.NORMAL_PLAN: bestPath = getBestAccessPath(); break; case Optimizer.SORT_AVOIDANCE_PLAN: bestPath = getBestSortAvoidancePath(); break; default: if...
1,103,809
public Reader getCharacterStream(int parameterIndex) throws SQLException { throw SQLExceptionFactory.notImplemented("getCharacterStream(int)"); }
public Reader getCharacterStream(String parameterName) throws SQLException { throw SQLExceptionFactory.notImplemented("getCharacterStream(int)"); }
1,103,811
public Reader getCharacterStream(int parameterIndex) throws SQLException { throw SQLExceptionFactory.notImplemented("getCharacterStream(int)"); }
public Reader getCharacterStream(int parameterIndex) throws SQLException { throw SQLExceptionFactory.notImplemented("getCharacterStream(String)"); }
1,103,812
public CallableStatement(Agent agent, Connection connection, String sql, int type, int concurrency, int holdability) throws SqlException { super(agent, connection, sql, type, concurrency, holdability, java.sql.Statement.NO_GE...
public CallableStatement(Agent agent, Connection connection, String sql, int type, int concurrency, int holdability) throws SqlException { super(agent, connection, sql, type, concurrency, holdability, java.sql.Statement.NO_GE...
1,103,813
public Object run(){ if (folder.exists()) { // do something } return new Boolean(folder.mkdirs()); }
public Object run(){ if (folder.exists()) { // do something } return new Boolean(folder.mkdirs()); }
1,103,814
void bindParameter() throws StandardException { if (operatorType == XMLPARSE_OP) { // According to the SQL/XML standard, the XMLParse parameter // takes a string operand. RESOLVE: We use CLOB here because // an XML string can be arbitrarily long...is this okay? // The SQL/XML spec doesn't...
void bindParameter() throws StandardException { if (operatorType == XMLPARSE_OP) { // According to the SQL/XML standard, the XMLParse parameter // takes a string operand. RESOLVE: We use CLOB here because // an XML string can be arbitrarily long...is this okay? // The SQL/XML spec doesn't...
1,103,826
protected ValueNode bindUnaryOperator( FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { /* ** Operand can be null for COUNT(*) which ** is treated like a normal aggregate. */ if (operand == null) { return this; } operand = operand.bindExpression(from...
protected ValueNode bindUnaryOperator( FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { /* ** Operand can be null for COUNT(*) which ** is treated like a normal aggregate. */ if (operand == null) { return this; } operand = operand.bindExpression(from...
1,103,827
void checkAutoGeneratedKeysParameters(int autoGeneratedKeys, String[] columnNames) throws SqlException { if (autoGeneratedKeys != java.sql.Statement.NO_GENERATED_KEYS && autoGeneratedKeys != java.sql.Statement.RETURN_GENERATED_KEYS) { throw new SqlException(agent_.logWriter_, "Inval...
void checkAutoGeneratedKeysParameters(int autoGeneratedKeys, String[] columnNames) throws SqlException { if (autoGeneratedKeys != java.sql.Statement.NO_GENERATED_KEYS && autoGeneratedKeys != java.sql.Statement.RETURN_GENERATED_KEYS) { throw new SqlException(agent_.logWriter_, "Inval...
1,103,828
void checkAutoGeneratedKeysParameters(int autoGeneratedKeys, String[] columnNames) throws SqlException { if (autoGeneratedKeys != java.sql.Statement.NO_GENERATED_KEYS && autoGeneratedKeys != java.sql.Statement.RETURN_GENERATED_KEYS) { throw new SqlException(agent_.logWriter_, "Inval...
void checkAutoGeneratedKeysParameters(int autoGeneratedKeys, String[] columnNames) throws SqlException { if (autoGeneratedKeys != java.sql.Statement.NO_GENERATED_KEYS && autoGeneratedKeys != java.sql.Statement.RETURN_GENERATED_KEYS) { throw new SqlException(agent_.logWriter_, "Inval...
1,103,829
protected void checkForClosedConnection() throws SqlException { if (!open_) { agent_.checkForDeferredExceptions(); throw new SqlException(agent_.logWriter_, "invalid operation: connection closed"); } else { agent_.checkForDeferredExceptions(); } }
protected void checkForClosedConnection() throws SqlException { if (!open_) { agent_.checkForDeferredExceptions(); throw new SqlException(agent_.logWriter_, new MessageId (SQLState.NO_CURRENT_CONNECTION)); } else { agent_.checkForDeferredExceptions(); } }
1,103,830
private void checkForInvalidXAStateOnCommitOrRollback() throws SqlException { if (! allowLocalCommitRollback_()) { throw new SqlException(agent_.logWriter_, "COMMIT or ROLLBACK invalid for application execution environment", SqlState._2D521, // Spec'ed by PROT...
private void checkForInvalidXAStateOnCommitOrRollback() throws SqlException { if (! allowLocalCommitRollback_()) { throw new SqlException(agent_.logWriter_, "COMMIT or ROLLBACK invalid for application execution environment", SqlState._2D521, // Spec'ed by PROT...
1,103,831
void checkForTransactionInProgress() throws SqlException { // The following precondition matches CLI semantics, see SQLDisconnect() if (!autoCommit_ && inUnitOfWork_ && !allowCloseInUOW_()) { throw new SqlException(agent_.logWriter_, "java.sql.Connection.close() requested...
void checkForTransactionInProgress() throws SqlException { // The following precondition matches CLI semantics, see SQLDisconnect() if (!autoCommit_ && inUnitOfWork_ && !allowCloseInUOW_()) { throw new SqlException(agent_.logWriter_, "java.sql.Connection.close() requested...
1,103,832
synchronized public String nativeSQLX(String sql) throws SqlException { checkForClosedConnection(); if (sql == null) { throw new SqlException(agent_.logWriter_, "Null SQL string passed."); } // Derby can handle the escape syntax directly so only needs escape // processi...
synchronized public String nativeSQLX(String sql) throws SqlException { checkForClosedConnection(); if (sql == null) { throw new SqlException(agent_.logWriter_, new MessageId (SQLState.NULL_SQL_TEXT)); } // Derby can handle the escape syntax directly so only needs escape ...
1,103,833
synchronized public void releaseSavepoint(java.sql.Savepoint savepoint) throws SQLException { try { int saveXaState = xaState_; if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "releaseSavepoint", savepoint); } checkForClosedC...
synchronized public void releaseSavepoint(java.sql.Savepoint savepoint) throws SQLException { try { int saveXaState = xaState_; if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "releaseSavepoint", savepoint); } checkForClosedC...
1,103,834
synchronized public void releaseSavepoint(java.sql.Savepoint savepoint) throws SQLException { try { int saveXaState = xaState_; if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "releaseSavepoint", savepoint); } checkForClosedC...
synchronized public void releaseSavepoint(java.sql.Savepoint savepoint) throws SQLException { try { int saveXaState = xaState_; if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "releaseSavepoint", savepoint); } checkForClosedC...
1,103,835
synchronized public void releaseSavepoint(java.sql.Savepoint savepoint) throws SQLException { try { int saveXaState = xaState_; if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "releaseSavepoint", savepoint); } checkForClosedC...
synchronized public void releaseSavepoint(java.sql.Savepoint savepoint) throws SQLException { try { int saveXaState = xaState_; if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "releaseSavepoint", savepoint); } checkForClosedC...
1,103,836
synchronized public void setAutoCommit(boolean autoCommit) throws SQLException { try { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setAutoCommit", autoCommit); } checkForClosedConnection(); if (! allowLocalCommitRollback...
synchronized public void setAutoCommit(boolean autoCommit) throws SQLException { try { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setAutoCommit", autoCommit); } checkForClosedConnection(); if (! allowLocalCommitRollback...
1,103,837
synchronized public java.sql.Savepoint setSavepoint() throws SQLException { try { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setSavepoint"); } checkForClosedConnection(); if (autoCommit_) // Throw exception if auto-comm...
synchronized public java.sql.Savepoint setSavepoint() throws SQLException { try { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setSavepoint"); } checkForClosedConnection(); if (autoCommit_) // Throw exception if auto-comm...
1,103,838
synchronized public void setTransactionIsolation(int level) throws SQLException { try { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setTransactionIsolation", level); } // Per jdbc spec (see java.sql.Connection.close() javadoc). ...
synchronized public void setTransactionIsolation(int level) throws SQLException { try { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "setTransactionIsolation", level); } // Per jdbc spec (see java.sql.Connection.close() javadoc). ...
1,103,839