Return-Path: Delivered-To: apmail-ws-juddi-dev-archive@www.apache.org Received: (qmail 31926 invoked from network); 12 Dec 2008 17:24:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Dec 2008 17:24:52 -0000 Received: (qmail 12484 invoked by uid 500); 12 Dec 2008 17:25:02 -0000 Delivered-To: apmail-ws-juddi-dev-archive@ws.apache.org Received: (qmail 12466 invoked by uid 500); 12 Dec 2008 17:25:02 -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 12432 invoked by uid 99); 12 Dec 2008 17:25:02 -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 09:25:02 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [207.172.157.102] (HELO smtp02.lnh.mail.rcn.net) (207.172.157.102) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Dec 2008 17:24:40 +0000 Received: from mr08.lnh.mail.rcn.net ([207.172.157.28]) by smtp02.lnh.mail.rcn.net with ESMTP; 12 Dec 2008 12:24:19 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr08.lnh.mail.rcn.net (MOS 3.10.3-GA) with ESMTP id KMU70730; Fri, 12 Dec 2008 12:24:17 -0500 (EST) Received: from 24-148-56-77.snb-bsr1.chi-snb.il.cable.rcn.com (HELO faath) ([24.148.56.77]) by smtp01.lnh.mail.rcn.net with ESMTP; 12 Dec 2008 12:24:15 -0500 From: "Jeff Faath" To: References: <49426B5B.7020101@gmail.com> In-Reply-To: <49426B5B.7020101@gmail.com> Subject: RE: UDDI v3 persistence Date: Fri, 12 Dec 2008 11:24:03 -0600 Message-ID: <002401c95c7e$6dedde70$49c99b50$@org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AclcYDCsAQyAY3sOSAiCdP+Vfe1Y6gAHN84w Content-Language: en-us X-Virus-Checked: Checked by ClamAV on apache.org 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