QueryImpl missing a few assertNotReadOnly
-----------------------------------------
Key: OPENJPA-829
URL: https://issues.apache.org/jira/browse/OPENJPA-829
Project: OpenJPA
Issue Type: Bug
Components: kernel
Affects Versions: 2.0.0
Reporter: Fernando
Reviewing QueryImpl, I believe there are a few methods that are missing the
assertNotReadOnly check:
setIgnoreChanges
setCandidateCollection
setResultMapping
setResultType
setRange
ps - I haven't been around enough so I don't know about the utility of the
readOnly feature. But some things seem off:
Query.java defines assertNotReadOnly
QueryContext.java defines set/isReadOnly
yes no body calls QueryContext.set/isReadOnly
so it looks like a feature that's not used...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.