Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 25802 invoked from network); 18 Mar 2005 17:26:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 18 Mar 2005 17:26:34 -0000 Received: (qmail 44698 invoked by uid 500); 18 Mar 2005 17:26:33 -0000 Mailing-List: contact jackrabbit-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jackrabbit-dev@incubator.apache.org Delivered-To: mailing list jackrabbit-dev@incubator.apache.org Received: (qmail 44685 invoked by uid 99); 18 Mar 2005 17:26:33 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of edgarpoce@gmail.com designates 64.233.184.196 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.196) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 18 Mar 2005 09:26:32 -0800 Received: by wproxy.gmail.com with SMTP id 40so81457wri for ; Fri, 18 Mar 2005 09:26:30 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:content-type:content-transfer-encoding; b=Jv49aBAWHw+cvpF+JUoocKntQu9+lFDRmMpLLKM/5tjgoB58y1w8iqCRcBBvkxs1pRv9YFh1A9pujFz8iAqbYxP4PHd78mCIvGTItAi96uhwGd4BuwtOxU9n6XtYwrUFt/XJ0O5D6iqIh+a4ayuu8tje0daKQLj7v+suL1GaiAI= Received: by 10.54.20.6 with SMTP id 6mr3481990wrt; Fri, 18 Mar 2005 09:26:30 -0800 (PST) Received: from ?192.168.0.187? ([24.232.12.20]) by mx.gmail.com with ESMTP id 10sm1306874wrl.2005.03.18.09.26.29; Fri, 18 Mar 2005 09:26:30 -0800 (PST) Message-ID: <423B0F4E.10703@gmail.com> Date: Fri, 18 Mar 2005 14:26:38 -0300 From: Edgar Poce User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: jackrabbit-dev@incubator.apache.org Subject: Re: Patch for ORM persistence project Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N hi serge Sorry, I was absolutely wrong :(. I'll take a look at the sources you uploaded ASAP. regards Edgar Edgar Poce wrote: > hi serge > > Serge Huber wrote: > >> I'm still having the problem of the references not being properly >> processed. If anybody has any idea what's going on (it happens in both >> PersistenceManager implementations) I'd be very grateful as I don't >> have all that much time to spend on this. > > I think that in OJB the references are handled properly. In hibernate > you have to call destroy(NodeReferences) and then store all the > modified references. It's not a good solution, but I don't know of any > better until the references handling is modified. > > I added this line in OJB: > > // destroy all the references before saving > destroy(refs, broker); > > // Store part > ... > >> >> Regards, >> Serge Huber. >> > > regards > edgar >