I have a problem when I'm saving records in a database in AS400. I put transactionz supported, requiered, not supported, etc) to the EJB, that is using the method who is writing to the database. Every thing its ok, but after 10 mins or more or sundently send the rolled back, and delete all records saved. If I do not use transacactions (supported, requeried, etc) I receive rolled back instantly, and finish with error. With transaccions I do not receive nothing and I don't know how to find the error, because the rolledback happens after time.
I'm using whebsphere 5.1 and the conection is with datasoruces, maybe I need something else in datasources.
Does anyone can help me, because I have a lot of time with this problem. Any commentary It will be useful. Thanks for your help.