Return-Path: Delivered-To: apmail-incubator-cayenne-dev-archive@locus.apache.org Received: (qmail 80311 invoked from network); 8 Oct 2006 00:53:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Oct 2006 00:53:24 -0000 Received: (qmail 90642 invoked by uid 500); 8 Oct 2006 00:53:24 -0000 Delivered-To: apmail-incubator-cayenne-dev-archive@incubator.apache.org Received: (qmail 90618 invoked by uid 500); 8 Oct 2006 00:53:24 -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 90606 invoked by uid 99); 8 Oct 2006 00:53:24 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Oct 2006 17:53:24 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.237.227.198] ([209.237.227.198:48856] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 95/A4-11753-30C48254 for ; Sat, 07 Oct 2006 17:53:23 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B394D7141F5 for ; Sat, 7 Oct 2006 17:53:06 -0700 (PDT) Message-ID: <27551947.1160268786733.JavaMail.root@brutus> Date: Sat, 7 Oct 2006 17:53:06 -0700 (PDT) From: "Andrus Adamchik (JIRA)" To: cayenne-dev@incubator.apache.org Subject: [JIRA] Created: (CAY-679) Add a new method to ObjectContext: registerNewObject(Object) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Add a new method to ObjectContext: registerNewObject(Object) ------------------------------------------------------------ Key: CAY-679 URL: http://issues.apache.org/cayenne/browse/CAY-679 Project: Cayenne Type: Task Components: Cayenne Core Library Versions: 3.0 Reporter: Andrus Adamchik Assigned to: Andrus Adamchik Fix For: 3.0 Will need to add a new method to ObjectContext: registerNewObject(Persistent), to let users atach existing transient objects to an ObjectContext. Note that this functionality (and a similar method) already exist in the DataContext. The only change to the DataContext is the argument being Persistent, not DataObject. This is also needed to switch JPA EntityManager to ObjectContext. -- 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