🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #8510

Re: sequence generator

#8510
From: Torsten Welches
Date: Fri, 16 Mar 2001 06:59
14 lines
1339 bytes
Adam, 

if your application is using a database of any kind this would 
be the perfect place for your sequence. Most RDBMS even have a 
sequence generator built in. 
If you don't have a db connection available you would probably 
create a file for that. 

Torsten 

<acarbs@hotmail.com> wrote:
>I'm looking to write a sequence generator that will sync 
>between multiple virtual machines. and it is persistent. 
Technical Details
Message-ID: <3ab1b9cc$1_2@dnews>
Path: arc1-ca.pugleaf.net!pubnews.netcom.net.uk!diablo.netcom.net.uk!netcom.net.uk!news.tele.dk!128.230.129.106!news.maxwell.syr.edu!nntp1.njy.teleglobe.net!teleglobe.net!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews!207.105.83.65
References: <3ab147f1_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,ead1c97be47a4c1b
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-03-17 07:55:21 PST
From: "Torsten Welches" <torsten.welches@who.cares.netcologne.de>
Sender: "Torsten Welches" <torsten.welches@who.cares.netcologne.de>
Reply-To: "Torsten Welches" <torsten.welches@who.cares.netcologne.de>
Subject: Re: sequence generator
Newsgroups: borland.public.jbuilder.java.language
X-User-Info: 193.158.55.74 193.158.55.74    
References:  <3ab147f1_1@dnews> 
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3ab1b9cc$1_2@dnews>
Date: 15 Mar 2001 22:59:24 -0800
X-Trace: 15 Mar 2001 22:59:24 -0800, 207.105.83.65
Lines: 16
Path: arc1-ca.pugleaf.net!pubnews.netcom.net.uk!diablo.netcom.net.uk!netcom.net.uk!news.tele.dk!128.230.129.106!news.maxwell.syr.edu!nntp1.njy.teleglobe.net!teleglobe.net!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews!207.105.83.65