openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fernando (JIRA)" <j...@apache.org>
Subject [jira] Created: (OPENJPA-829) QueryImpl missing a few assertNotReadOnly
Date Wed, 17 Dec 2008 00:16:44 GMT
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.


Mime
View raw message