When closing the connection in a session bean's remove method, I get this
--
TRANSACTION ROLLBACK EXCEPTION:null; nested exception is:
javax.ejb.EJBException
[BankBean] java.lang.RuntimeException: Unable to deregister with
Jure Lodrant wrote:
When closing the connection in a session bean's remove method, I get this
--
TRANSACTION ROLLBACK EXCEPTION:null; nested exception is:
javax.ejb.EJBException
[BankBean] java.lang.RuntimeException: Unable to
: Re: [JBoss-user] Postgres commit problem
|
---|
Jure Lodrant wrote:
When closing the connection in a session bean's remove method, I get
I'm trying to set up a server using Jboss 2.2.2 and Postgres 7.1.2 on Linux.
I've compiled samples to test jboss-postgres connection. Some ran fine, some
not at all, as far as I can tell all due to transactions not commiting when
they should. UPDATE statements seem to be mostly affected.
PROTECTED]
|
| cc:
|
| Subject: Re: [JBoss-user] Postgres commit problem
Hermann RANGAMANA wrote:
Close the connection after each transaction... that was the only workaround
i was suggested to use ... and it works fine! However, i've not tested yet
the impact of opening/closing the connection for each transaction ...
Assuming that you're getting the connections
If you're talking about the same problem (you need to call close for
connections to commit properly) I think it's probably thought of as low
priority because you should be closing them anyway - remember that that
doesn't really close the physical connection, it just lets the pool know
that