130131132133134135136137138139140
return pk; } catch (SQLException e) { e.printStackTrace(); throw new DAOException(e); } finally { ConnectionHelper.close(c); }
149150151152153154155156157158159
return executeUpdate(sql, params, c); } catch (SQLException e) { e.printStackTrace(); throw new DAOException(e); } finally { ConnectionHelper.close(c); }
176177178179180181182183184
rows = ps.executeUpdate(); } catch (SQLException e) { e.printStackTrace(); throw new DAOException(e); } return rows; }