Return-Path: Delivered-To: apmail-db-ojb-dev-archive@www.apache.org Received: (qmail 48367 invoked from network); 6 Jul 2004 10:09:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 6 Jul 2004 10:09:59 -0000 Received: (qmail 78927 invoked by uid 500); 6 Jul 2004 10:10:16 -0000 Delivered-To: apmail-db-ojb-dev-archive@db.apache.org Received: (qmail 78777 invoked by uid 500); 6 Jul 2004 10:10:14 -0000 Mailing-List: contact ojb-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "OJB Developers List" Reply-To: "OJB Developers List" Delivered-To: mailing list ojb-dev@db.apache.org Received: (qmail 78724 invoked by uid 99); 6 Jul 2004 10:10:13 -0000 X-ASF-Spam-Status: No, hits=-0.1 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.27.1) with SMTP; Tue, 06 Jul 2004 03:10:13 -0700 Received: (qmail 48300 invoked from network); 6 Jul 2004 10:09:51 -0000 Received: from localhost.hyperreal.org (HELO ?127.0.0.1?) (127.0.0.1) by localhost.hyperreal.org with SMTP; 6 Jul 2004 10:09:51 -0000 Message-ID: <40EA7A9A.7070206@apache.org> Date: Tue, 06 Jul 2004 12:10:34 +0200 From: Armin Waibel User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: OJB Developers List Subject: New Service IdentityFactory Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: localhost.hyperreal.org 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi all, I committed the first version of the new IdentityFactory service. IF make the building of Identity objects much more easier. For example to get the Identity of an object using a single Long PK value you can call: Identity oid = broker.serviceIdentity().buildIdentity(MyClass.class, new Long(23)); result = broker.getObjectByIdentity(oid); comments are welcome. regards, Armin --------------------------------------------------------------------- To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org For additional commands, e-mail: ojb-dev-help@db.apache.org