Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public boolean DelDescansoMedico(String c) throws Exception {
- DescansoMedicoBean b = null;
- StringBuilder sbSQL = new StringBuilder();
- sbSQL.append("DELETE FROM TBMOVDESCANSOMEDICO WHERE DSM_CORREL = ?");
- PreparedStatement pstm = null;
- int res = 0;
- try {
- pstm = getConexion().prepareStatement(sbSQL.toString());
- pstm.setString(1, c);
- res = pstm.executeUpdate();
- } catch (Exception e) {
- e.printStackTrace();
- }
- return res ==1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement