I have met the similar problem. The reason - Connection.closed() was not
called, i.e. commit was not realized. Try to review your code from this
point of view.
Mark
Bryan Field-Elliot
<[EMAIL PROTECTED]> To:
[EMAIL PROTECTED]
Sent by: cc: (bcc: Marek
Sedliak/BYS/SOFTIP)
[EMAIL PROTECTED] Subject: [JBoss-user]
Someone PLEASE advise re: Client
eforge.net UserTransactions never
commiting
19.01.2002 02:20
I am hoping someone can help me solve a problem I'm having with JBoss
2.4.4 (using RedHat Linux 7.1 and PostgreSQL 7.0.2).
My client application manipulates several entity beans. I know that a
better design would be to use a session facade, but that's not an option
in the short term.
In any case -- I've introduced the use of UserTransaction from the
client. I obtain a UserTransaction and call "begin". Then I manipulate
my entity beans. Finally, I call "UserTransaction.commit()".
My changes are being written to the database, but, they are not being
commited. I know this because when my application tries to read the
values back, the new values are shown. But another application,
connecting directly to PostgreSQL, shows the old values. Lastly, when I
restart JBoss or reload the EAR file, all the old values come back.
My CMP beans are marked as "Requires" a transaction.
Can anyone please help me deduce what's going wrong, and why my commit()
calls don't seem to be doing anything?
Thank you,
Bryan
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user