From derby-commits-return-11596-apmail-db-derby-commits-archive=db.apache.org@db.apache.org Tue Jun 09 18:12:12 2009 Return-Path: Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: (qmail 45843 invoked from network); 9 Jun 2009 18:12:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Jun 2009 18:12:12 -0000 Received: (qmail 69902 invoked by uid 500); 9 Jun 2009 18:12:24 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 69835 invoked by uid 500); 9 Jun 2009 18:12:24 -0000 Mailing-List: contact derby-commits-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Derby Development" List-Id: Delivered-To: mailing list derby-commits@db.apache.org Received: (qmail 69826 invoked by uid 99); 9 Jun 2009 18:12:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jun 2009 18:12:24 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jun 2009 18:12:22 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 43DAD118A9 for ; Tue, 9 Jun 2009 18:12:02 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: derby-commits@db.apache.org Date: Tue, 09 Jun 2009 18:12:02 -0000 Message-ID: <20090609181202.8935.63598@eos.apache.org> Subject: [Db-derby Wiki] Trivial Update of "sqlSequences" by SuranJayathilaka X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Db-derby Wiki" for change notification. The following page has been changed by SuranJayathilaka: http://wiki.apache.org/db-derby/sqlSequences ------------------------------------------------------------------------------ Functional Specification : [http://issues.apache.org/jira/secure/attachment/12401852/SequenceGenerator.html Spec] + a. Generating UUIDs + import org.apache.derby.impl.services.uuid.BasicUUID; + public class UUIDMaker + { + public static void main( String[] args ) + throws Exception + { + BasicUUID uuid = new BasicUUID( Runtime.getRuntime().freeMemory(), System.currentTimeMillis(), (int) 2551218188L ); + System.out.println( uuid ); + } + } +