mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-18 17:15:02 +00:00
Removed checkOpen() from accessTransaction()
This commit is contained in:
parent
7b3570149d
commit
f30c879bca
@ -363,7 +363,6 @@ public Transaction getTransaction() throws HibernateException {
|
||||
|
||||
@Override
|
||||
public Transaction accessTransaction() {
|
||||
checkOpen();
|
||||
if ( this.currentHibernateTransaction == null || this.currentHibernateTransaction.getStatus() != TransactionStatus.ACTIVE ) {
|
||||
this.currentHibernateTransaction = new TransactionImpl(
|
||||
getTransactionCoordinator(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user