Return-Path: Delivered-To: apmail-ws-juddi-dev-archive@www.apache.org Received: (qmail 40578 invoked from network); 13 Dec 2008 04:06:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Dec 2008 04:06:26 -0000 Received: (qmail 78853 invoked by uid 500); 13 Dec 2008 04:06:39 -0000 Delivered-To: apmail-ws-juddi-dev-archive@ws.apache.org Received: (qmail 78821 invoked by uid 500); 13 Dec 2008 04:06:39 -0000 Mailing-List: contact juddi-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: juddi-dev@ws.apache.org List-Id: Delivered-To: mailing list juddi-dev@ws.apache.org Received: (qmail 78812 invoked by uid 99); 13 Dec 2008 04:06:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Dec 2008 20:06:39 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kurt.stam@gmail.com designates 64.233.170.190 as permitted sender) Received: from [64.233.170.190] (HELO rn-out-0910.google.com) (64.233.170.190) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Dec 2008 04:06:17 +0000 Received: by rn-out-0910.google.com with SMTP id 45so1667267rnw.14 for ; Fri, 12 Dec 2008 20:05:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=fDYc/sPuCpiwWSSEqgh6fBlM2I/uXaNEKfcXzlFo/Ws=; b=tKUeVyLrG//Dwx1g3gAHdnfMtrKJN0cH+/iNSmHT+2d+1K3Tdor2+iY5iNEAwLM2+r +i/ptSwQwx8jehNEFbajinxKlB0doPb1XnEIqWpDUgnXwHt8aIbv3jKR2a7CpiloP7vO dgkYZ6aMvx64BltZv3nrGt2+cFQKWD1sCUeSU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=CAFOCh2dYkM3g4CdC4+53d2WRoXfvz9r55pPVy4rfuKpKI9ASi1i0OdM2dy7BuoO7A D0gyx7WHN6jZD8QQ7lv0i2xLbgYpVGVGELwJ7djd2HBx3+N/TvY2g3il19TbXdH34m92 0iOfu40KsrlIIDz48WVCr8iQ//mzIqXCmYIXA= Received: by 10.64.48.8 with SMTP id v8mr3647006qbv.78.1229141156217; Fri, 12 Dec 2008 20:05:56 -0800 (PST) Received: from kstam-mbpro-2.local (c-66-30-95-139.hsd1.ma.comcast.net [66.30.95.139]) by mx.google.com with ESMTPS id k30sm365691qba.28.2008.12.12.20.05.55 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 12 Dec 2008 20:05:55 -0800 (PST) Message-ID: <494334A2.50004@gmail.com> Date: Fri, 12 Dec 2008 23:05:54 -0500 From: Kurt T Stam User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: juddi-dev@ws.apache.org Subject: Re: UDDI v3 persistence References: <49426B5B.7020101@gmail.com> <002401c95c7e$6dedde70$49c99b50$@org> <4942E211.7050406@gmail.com> <004101c95ca9$d1b3a6d0$751af470$@org> <4942EEC2.8080707@gmail.com> <005101c95cb2$dea7e910$9bf7bb30$@org> In-Reply-To: <005101c95cb2$dea7e910$9bf7bb30$@org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Yeah I just finished a first pass. I need to finish up some details tomorrow and add some tests to make sure it all works. --K Jeff Faath wrote: > > Sounds good to me then. I don�t foresee your changes causing any > issues other than the fact that I want to hold off on further > development until you finish so as not to have to redo anything. > Hopefully you�re close to completion? > > *From:* Kurt T Stam [mailto:kurt.stam@gmail.com] > *Sent:* Friday, December 12, 2008 5:08 PM > *To:* juddi-dev@ws.apache.org > *Subject:* Re: UDDI v3 persistence > > Those objects will actually remain the same, the are the actual single > valued PKs. So I think this will work well. > > Jeff Faath wrote: > > No, I'm talking about getting the BusinessEntity by the business key. I was > figuring you were going to create these Long id fields for the main entities > but I could be wrong. Are the "entity keys" still the primary keys for the > main entities? > > -----Original Message----- > From: Kurt T Stam [mailto:kurt.stam@gmail.com] > Sent: Friday, December 12, 2008 4:14 PM > To: juddi-dev@ws.apache.org > Subject: Re: UDDI v3 persistence > > Are you talking about finding Addresses etc by using the BusinessEntity Key? > > Jeff Faath wrote: > > > Now that I think about it, it does cause an inconvenience although it > > > > seems > > > slight right now (let's hope it stays that way). Anytime an entity is > > retrieved or deleted, I was able to use the entity key directly to work > > > > with > > > the object. A lot of calls receive user input directly as keys (the > > delete_xxx methods, get_xxx methods, etc) and there are many instances > > > > where > > > I have to check for the existence of an entity. > > > > I guess now instead of using the entity key directly in entityManager > > > > calls, > > > I'll have to run a query to find the real ID based on the entity key. I > > don't see this as being a big deal now, but there's a lot of functionality > > to re-work so I hope there are no snags. > > > > -----Original Message----- > > From: Kurt T Stam [mailto:kurt.stam@gmail.com] > > Sent: Friday, December 12, 2008 7:47 AM > > To: juddi-dev@ws.apache.org > > Subject: UDDI v3 persistence > > > > Hi guys, > > > > I'm halfway into removing all the *Id.java classes from the persistence > > layer on the UDDI v3 branch, and it is making it all a lot cleaner. The > > reason they are there is b/c the way the PKs are setup in the UDDI v2 > > schema. They are composite PK, however we can simplify the PKs to be of > > type Long. > > > > Does anyone see any issues with this? Where we planning on using the > > parents business keys for fast searching or something? Are we afraid of > > running out of 'integers' in the ID columns? > > > > Speak up or hold your peace forever ;). > > > > --Kurt > > > > > > > > > > > > > >