You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Craig Russell (JIRA)" <ji...@apache.org> on 2005/12/08 00:28:13 UTC

[jira] Resolved: (JDO-55) Inconsistency between API doc and spec

     [ http://issues.apache.org/jira/browse/JDO-55?page=all ]
     
Craig Russell resolved JDO-55:
------------------------------

    Resolution: Fixed

> Inconsistency between API doc and spec
> --------------------------------------
>
>          Key: JDO-55
>          URL: http://issues.apache.org/jira/browse/JDO-55
>      Project: JDO
>         Type: Bug
>   Components: api20, api11
>     Reporter: Michael Watzek
>     Assignee: Craig Russell
>     Priority: Trivial
>      Fix For: JDO 2 beta

>
> The API doc of PM.getObjectById defines that a JDODataStoreException might be thrown. The spec defines that an JDOObjectNotFoundException might be thrown:
> API doc:
> If the <code>validate</code> flag is <code>true</code> ...
> If the instance does not exist in the datastore, then a JDODataStoreException is thrown.
> Spec:
> If the validate flag is true:
> ...
> If there is an instance already in the cache with the same jdo identity as the oid parameter, the instance is not transactional, and the instance does not exist in the datastore, then a JDOObjectNotFoundException is thrown. 

-- 
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