[ 
http://issues.apache.org/jira/browse/JDO-345?page=comments#action_12371488 ] 

Craig Russell commented on JDO-345:
-----------------------------------

I think a word about why we used the term "mutating method" is in order here. 

The expert group did not want to allow the user and implementation to use query 
as a back door to a generalized UPDATE facility, so we said specifically that 
mutating methods were not allowed, even in vendor extensions. That said, there 
are only a small number of standard mutating methods that return a value, and 
hence even could be used in a filter.

So I think we are safe in dropping this test and we can debate the value of a 
new test later on if someone wants to raise the issue again.

> MethodsAndObjectConstructionNotSupported (A14.6.2-8) should allow getX()
> ------------------------------------------------------------------------
>
>          Key: JDO-345
>          URL: http://issues.apache.org/jira/browse/JDO-345
>      Project: JDO
>         Type: Test
>   Components: tck20
>     Reporter: Ilan Kirsh

>
> According to the spec:
>  "Methods, including object construction, are not supported, except for 
> Collection, String, and Map methods documented below. Implementations might 
> choose to support non-mutating method calls as non-standard extensions."
> However, MethodsAndObjectConstructionNotSupported expects an exception for 
> method getX().

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to