(String sql)
| 157 | |
| 158 | |
| 159 | public int CreatePrepStmt(String sql) { |
| 160 | int rc = 0; |
| 161 | |
| 162 | try { |
| 163 | pstmt = conn.prepareStatement(sql); |
| 164 | } catch (SQLException se) { |
| 165 | SetErrmsg(se); |
| 166 | rc = -1; |
| 167 | } catch (Exception e) { |
| 168 | SetErrmsg(e); |
| 169 | rc = -2; |
| 170 | } // end try/catch |
| 171 | |
| 172 | return rc; |
| 173 | } // end of CreatePrepStmt |
| 174 | |
| 175 | public void SetStringParm(int i, String s) { |
| 176 | try { |