解决 no session 的bug
This commit is contained in:
@@ -99,7 +99,7 @@ public class HibernateGeneralDaoImpl<T> extends HibernateDaoSupport implements H
|
|||||||
txSession.flush();
|
txSession.flush();
|
||||||
tx.commit();
|
tx.commit();
|
||||||
txFlag = false;
|
txFlag = false;
|
||||||
txSession.clear();
|
// txSession.clear();
|
||||||
tx = null;
|
tx = null;
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user