db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig Russell (JIRA)" <j...@apache.org>
Subject [jira] Closed: (JDO-55) Inconsistency between API doc and spec
Date Mon, 24 Oct 2005 15:36:56 GMT
     [ http://issues.apache.org/jira/browse/JDO-55?page=all ]
Craig Russell closed JDO-55:

    Resolution: Fixed
     Assign To: Craig Russell

The javadoc was updated to reflect that JDOObjectNotFoundException is thrown in cases where
the object does not exist.

Committed revision 328086.

> 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

> 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:
For more information on JIRA, see:

View raw message