You could experience this problem if you are using a prepared update statement while two parallel transactions are running and one of them is rolled back.
Set a isolation level for a connection, create the corresponding connection pool at the same isolation level. For more information about configuring connection pools, see the Sun Java System Application Server Enterprise Edition 8.2 Administration Guide.