Return-Path: Delivered-To: apmail-incubator-cayenne-dev-archive@locus.apache.org Received: (qmail 89753 invoked from network); 14 Oct 2006 23:04:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Oct 2006 23:04:21 -0000 Received: (qmail 90126 invoked by uid 500); 14 Oct 2006 23:04:20 -0000 Delivered-To: apmail-incubator-cayenne-dev-archive@incubator.apache.org Received: (qmail 90019 invoked by uid 500); 14 Oct 2006 23:04:20 -0000 Mailing-List: contact cayenne-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cayenne-dev@incubator.apache.org Delivered-To: mailing list cayenne-dev@incubator.apache.org Received: (qmail 90010 invoked by uid 99); 14 Oct 2006 23:04:20 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Oct 2006 16:04:20 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Oct 2006 16:04:18 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 303F57142FB for ; Sat, 14 Oct 2006 16:03:32 -0700 (PDT) Message-ID: <6792839.1160867012195.JavaMail.jira@brutus> Date: Sat, 14 Oct 2006 16:03:32 -0700 (PDT) From: "Andrus Adamchik (JIRA)" To: cayenne-dev@incubator.apache.org Subject: [JIRA] Created: (CAY-692) Extra argument needed in ObjectContext.prepareForAccess - whether the property is a fault or not. 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 Extra argument needed in ObjectContext.prepareForAccess - whether the property is a fault or not. ------------------------------------------------------------------------------------------------- Key: CAY-692 URL: http://issues.apache.org/cayenne/browse/CAY-692 Project: Cayenne Type: Task Components: Cayenne Core Library Versions: 3.0 Reporter: Andrus Adamchik Assigned to: Andrus Adamchik Fix For: 3.0 Extra argument needed in ObjectContext.prepareForAccess - whether the property is a fault or not. With the faulting mechanism moved out of the objects into the ClassDescriptors, ObjectContext.prepareForAccess must ensure that a property being accessed is resolved. If this operation would require a descriptor lookup, it will make access to simple properties slower. So adding a hint to the method signature seems like a better solution. NOTE THAT THIS AFFECTS CLIENT CODE TEMPLATES, SO CODE GENERATION RUN WILL BE NEEDED ONCE THIS IS FIXED. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/cayenne/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira