Yes, But after this exception occurs , the txn is not active to call rollback and its not in proper state to begin txn So we can't do anything on this txn and ur currentSession will always return this state txn on which begin will not work. So the work around release session.
|