59
59
tx = session.beginTransaction();
61
62
currentInDb = new Service();
63
64
currentInDb.setName(s.getName());
64
65
currentInDb.setDescription(s.getDescription());
65
66
logger.debug("Service id is "+currentInDb.getId());
66
68
session.save(currentInDb);
67
69
logger.debug("Service id is "+currentInDb.getId());