DBCFX_SM_697 - rollback della flush() in quanto da PCS arriva sempre la stessa username (SM_USERSESSIONUNIVID) per qualsiasi utente/profilo autenticato

This commit is contained in:
vincenzofariello
2024-11-11 16:08:19 +01:00
parent 11932bc871
commit 73c380dedb

View File

@@ -34,7 +34,9 @@ public class GnpgoInfoUtentiGuiDAO extends BaseHibernateDAO{
try { try {
getSession().save(transientInstance); getSession().save(transientInstance);
log.debug("save successful"); log.debug("save successful");
flush(); //DBCFX_SM_697 - rollback della flush() in quanto da PCS arriva sempre la stessa username (SM_USERSESSIONUNIVID)
//per qualsiasi utente/profilo autenticato
//flush();
} }
catch (RuntimeException re) { catch (RuntimeException re) {
log.error("save failed", re); log.error("save failed", re);
@@ -104,7 +106,6 @@ public class GnpgoInfoUtentiGuiDAO extends BaseHibernateDAO{
try { try {
getSession().delete(persistentInstance); getSession().delete(persistentInstance);
log.debug("delete successful"); log.debug("delete successful");
flush();
} }
catch (RuntimeException re) { catch (RuntimeException re) {
log.error("delete failed", re); log.error("delete failed", re);