0

I am involved in a new project and I was assigned to investigate an error that is happening when apparently a transaction(or more than one) to the database in being performed. We are using Java for the backend(Spring framework), MyBatis for mapping objects and Websphere Liberty as server, the problem comes in some methods that are marked as @Transactional, this is the declaration:

@Transactional(rollbackFor = Exception.class, propagation = Propagation.REQUIRED,isolation=Isolation.READ_UNCOMMITTED)

Inside the method there are some executions to the database and apparently in some cases throws a TimeoutException and makes Rollback of operation, I guess concurrent calls make this(I am not sure) this is the error image we got:

Error

I am new in transactions and I don´t know if the parameters declared could affect in the performance, what can cause a TimeoutException as this? I am lost, I would be grateful with any help.

Thank you.

John B
  • 107
  • 1
  • 10

0 Answers0