posted 7 years ago
In one part of my web app i have 4 entities that are linked to eachother by an arraylist, they are annotaded with @OneToMany and the fetchtype is default which is fetch=FetchType.LAZY.
My problem is that it takes to long to get all those entities that are linked in the chain, According to Spring they must be retrived in a transaction, thats fine but it takes to long so it will result in
a transaction rollback, the transaction timeout is set to 5 min and it is deployed o websphere. the guys that are in charge of websphere do not want to raise the transaction timeout due to other applications on the server and unnecessary use
of resources, also they dont know what effect it will have on other applications if raised. How can i solve this ?