Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

String tokenizer and hex values

807603Sep 7 2004 — edited Jan 16 2008
Hi there,
I have been having trouble in tokenizing a hex value. 210000e08b0b34fa this is the hex value which is being sent from my client application. What I need to do is get this hex and store it in the Database. I am getting this as long value but what is happening is that string tokenizer takes only 210000 and the rest it ignores the first time. Then next iteration it takes the e08b0b34fa and since this is a string value it cannot process this value as long. Is there any work around for using a hex value in string tokenizer. My client is not sending the data in quoted string. He is just sending it as 210000e08b0b34fa. Any help would be greatly appreciated.
Thanks
John
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 13 2008
Added on Sep 7 2004
7 comments
290 views