Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void delete(long id) {
- session = getSession();
- logger.info("delete: " + session);
- session.beginTransaction();
- session.delete(session.get(Role.class, id));
- session.getTransaction().commit();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement