This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I recently worked on application that used Hibernate as JPA provider and using an Oracle database and deploy the application on a WebSphere application server 6.1 server.
my application ran a lot of transactions per second ,all of them were running successfully but one in the middle did not committed (i notice that balance not changed), no problem happened or exception in logs, it happened randomly.
I did not configure where the problem persist , from application server or from my application or even from hibernate.
I think it's all because of empty catch blocks with tr.rollback() which rollbacks your transaction but never display any thing!
your input is not sufficient to track this problem.
There is still lot to learn!
Joined: Nov 02, 2004
problem was solved, there was another transaction (inquire other service) running throw my request that resulted change in entity that i used so when transaction commit it was reset my changes as the inquiry request hold old values and overide my changes.