>At 04:29 27/07/00 -0400, you wrote: >>I'm using a char(40) to hold my unique ids. The actual generation of the UID >>is database specific (Sybase), and I contend that a persistence mechanism >>must be involved in order to get a truly unique id. I'm also employing Scott >>Ambler's (i'm sure the original inventor is credited somewhere, Scott >>recently wrote a quality article about the technique) High-Low technique, >>which forces me to access the database once per 10,000 keys generated. >> >>I take the generated sequence number and create an SHA hash. This gives me a >>wonderfully cryptic UID that I can use as a PK in my database, or a session >>id for a cookie. I'm somewhat guaranteed that a viewer of the hash won't be >>able to reverse engineer the value to get the original sequence. > >Jim, Sorry...disregard above post...slippery fingers... =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
