Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-dev] Query retry limited to ReadOnly Queries

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

Back to the top