Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 80204 invoked from network); 7 Dec 2005 23:28:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Dec 2005 23:28:36 -0000 Received: (qmail 26470 invoked by uid 500); 7 Dec 2005 23:28:36 -0000 Mailing-List: contact jdo-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-dev@db.apache.org Received: (qmail 26447 invoked by uid 99); 7 Dec 2005 23:28:36 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Dec 2005 15:28:34 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 0D83B190 for ; Thu, 8 Dec 2005 00:28:13 +0100 (CET) Message-ID: <1882668266.1133998093053.JavaMail.jira@ajax.apache.org> Date: Thu, 8 Dec 2005 00:28:13 +0100 (CET) From: "Craig Russell (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Resolved: (JDO-55) Inconsistency between API doc and spec Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ 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 validate flag is true ... > 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