Hi,
I have an 18 Character String that I need to convert into a unique long (in Java). A sample String would be: AAA2aNAAAAAAADnAAA
My String is actually an Oracle ROWID, so it can be broken down if needs be, see: http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14220/datatype.htm#CNCPT713
The long number generated, (1) Must be unique, as no two results can point to the same database row and (2) Must be reversible, so I can get the ROWID String back from the long?
Any suggestions on an algorithm to use would be welcome.
Oracle forum question on this from a few years ago : http://forums.oracle.com/forums/thread.jspa?messageID=1059740
Ro