There docs are pretty sparse on this method. I had assumed it meant that the trasnaction is active. To me, that means the transaction is open/exists etc.
However, I have some code in a catch that basically says
if (factory.getCurrentSession().getTransaction().isActive) {
factory.getCurrentSession().getTransaction().rollback();
}
That then throws an exception : java.sql.SQLException: Not in transaction.
Now, I'm pretty confident that I *am* in a transaction as my debug output spits out when the transaction starts. If i can't check with isActive() what then? I'm working on informix, could it be a problem in the driver? I'm using JDBC Transactions.
thanks
|