QueryTimeoutException

Certified Lead Developer

Hi all,

 

We have a process model that Fails in the Write to Data Store Entity node with a org.hibernate.QueryTimeoutException because the object to save is massive.

 

I believe the solution is to Change the design but can we Change the timeout Settings for the time being? it is Happening in production and the customer wants a quick Workaround.

 

Many thanks!

  Discussion posts and replies are publicly visible

Parents Reply Children
  • Is it a normal Write to Data Store node or a Write to Multiple Data Stores node? If the latter, you could split out the writes into separate calls (although this may not solve the underlying issue).

    As mentioned above, batching the writes is also a reasonable approach, but would require looping over a WTDS, which isn't ideal. If the process truly requires a massive amount of writing, it may be worth looking into a design that leverages a stored procedure to make the necessary data updates, as this would be much more performant, although you would make sacrifices with respect to maintainability and transparency.