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] Reopened: (JDO-55) Inconsistency between API doc and spec
Date Wed, 07 Dec 2005 00:52:10 GMT
     [ http://issues.apache.org/jira/browse/JDO-55?page=all ]
Craig Russell reopened JDO-55:

Need to reopen this issue to assign it to a release.

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

View raw message