Steve Ebersole commented on Bug HHH-1168

I have tried couple of different options. See attached patch file, especially the special LimitHandler implementation.

At this point, the only real options I see are:

  1. continue applying paging, ordering, etc to the SQL; but apply locks individually on the resulting rows/objects. This would be difficult with scalar queries.
  2. continue applying locking, ordering, etc to the SQL; but for paging, we would have to use ResultSet#absolute() + seeking through ResultSet from that position. This would cause rows outside the "current page" to be locked.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira