Can you point me to the code that just retrys for read only queries. I am
looking at AbstractSession.executeQuery() in our 2.3.1 stream and I see no such
restriction.
-Tom
On 05/10/2011 4:19 PM, sridhar baratam wrote:
> Hi All,
> It appears the query retry logic will only happen for READONLY queries on a
> connection communication error. Is there a specific reason for that? A
> non-READONLY query can still fail on a communication error. Due to this specific
> restriction, I believe it puts the onus back on the application to code around
> these failures for non-readonly queries during communication errors. This may
> not be optimal considering the whole logic behind using JPA where developers can
> focus on the business logic and do not have to worry about the database stuff. I
> could be wrong here and wonder if there is a specific reason to have the
retry
> limited to READONLY queries.
> Can someone throw somelight in this regard?
> Thanks
> Sridhar
>
>
>
> _______________________________________________
> eclipselink-dev mailing list
>
eclipselink-dev@xxxxxxxxxxx>
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxxhttps://dev.eclipse.org/mailman/listinfo/eclipselink-dev