<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>QueryTimeoutException</title><link>https://community.appian.com/discussions/f/general/13548/querytimeoutexception</link><description>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</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: QueryTimeoutException</title><link>https://community.appian.com/thread/61523?ContentTypeID=1</link><pubDate>Fri, 12 Oct 2018 14:30:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:84f0a46b-a8e4-48d2-ab11-1b5e450b60b7</guid><dc:creator>Colton Beck</dc:creator><description>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). &lt;br /&gt;
&lt;br /&gt;
As mentioned above, batching the writes is also a reasonable approach, but would require looping over a WTDS, which isn&amp;#39;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.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QueryTimeoutException</title><link>https://community.appian.com/thread/61521?ContentTypeID=1</link><pubDate>Fri, 12 Oct 2018 14:24:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6e81943d-90c1-43b5-b1f6-64c4a0b2d6ac</guid><dc:creator>jesusa310</dc:creator><description>Thanks Colton. I am new to this customer and cant provide much info, but the object used is so big that I cant even copy 10% of it here... I imagine it will update multiple tables and rows. there is no way to update the Transaction timeout in production for this. I will speak to the customer and redesign&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QueryTimeoutException</title><link>https://community.appian.com/thread/61518?ContentTypeID=1</link><pubDate>Fri, 12 Oct 2018 14:19:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fc8404d3-9887-4232-81a8-6d6a6a1fbdac</guid><dc:creator>Colton Beck</dc:creator><description>If you&amp;#39;re on Appian Cloud, this cannot be adjusted. However on-premise, it may be possible.&lt;br /&gt;
&lt;br /&gt;
BUT... I highly recommend against adjusting system settings to compensate for bad design. Is the issue that you are attempting to save too many rows in a single transaction? If so, I recommend batching the writes at a more manageable level.&lt;br /&gt;
&lt;br /&gt;
If you provide more details about the use case, we can likely give you some better options.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>