Revision 13:2502401faf10
src/main/java/my/com/upass/dao/hibernate/UserDAOHibernate.java | ||
---|---|---|
107 | 107 |
} |
108 | 108 |
catch (Exception e) |
109 | 109 |
{ |
110 |
logger.error (e, e); |
|
110 | 111 |
if (e instanceof HibernateException) |
111 | 112 |
{ |
112 | 113 |
if (session != null) |
... | ... | |
114 | 115 |
session.getTransaction ().rollback (); |
115 | 116 |
} |
116 | 117 |
} |
117 |
logger.error (e, e); |
|
118 | 118 |
} |
119 | 119 |
finally |
120 | 120 |
{ |
Also available in: Unified diff