Brett Meyer commented on Bug HHH-1168

Here's a few more w/ scalars and another attempt at LockModeType.PESSIMISTIC_READ. For each, OpenJPA simply states "The database is unable to lock this query.". "For update" is left out entirely.

SELECT * FROM (SELECT UPPER(t0.description), t0.id FROM DataPoint t0 ORDER BY t0.id DESC) WHERE ROWNUM <= ?
SELECT MAX(t0.id) FROM DataPoint t0
SELECT DISTINCT UPPER(t0.description) FROM DataPoint t0

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