× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Thanks to everyone for your responses. To summarize a couple of posts
here:

1) Yes, I meant WAS, not WSDc, and as Mark pointed out, therefore it
doesn't really matter if it's available on iSeries since it's not
available in WAS.

2) I've see the _GENUUID function before (even used it some) but I was
hoping to generate the UUIDs in the java code before reaching out to the
database. I may end up just generating the UUID on the iSeries w/in the
stored proc via _GENUUID and passing back the generated value.

3) There is a UUID "generator" in Jakarta.Commons area, in the .id
package, but it's still in the the workbench side of commons, hasn't
made it to "official" status. I'm reluctant to use that in a production
system.

I think the best solution will be to generate it on the server-side and
pass it back.

IIRC, the correct storage for the UUID is "Char(16) for bit data",
right?

Thanks all,

-Walden

------------
Walden H Leverich III
Tech Software
(516) 627-3800 x11
WaldenL@xxxxxxxxxxxxxxx
http://www.TechSoftInc.com

Quiquid latine dictum sit altum viditur.
(Whatever is said in Latin seems profound.)


-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Walden H. Leverich
Sent: Thursday, September 08, 2005 3:05 PM
To: Java Programming on and around the iSeries / AS400
Subject: Java 5 on iSeries yet?

Guys,
 
Is 1.5 available on iSeries yet -- specifically from w/in WebSphere 5.1?
I'm interested in using the UUID class, but it's introduced in java 5
(http://java.sun.com/j2se/1.5.0/docs/api/java/util/UUID.html)
 
Alternatively, how would one generate a UUID from w/in Java? I've seen
references to using the VMID from java.rmi.dgc, but that doesn't quite
sound kosher -- although it seems to return something UUID-like.
 
I'm looking to identify a record uniquely across all space and time --
and UUIDs fit the bill!
 
-Walden
 
------------
Walden H Leverich III
Tech Software
(516) 627-3800 x11
WaldenL@xxxxxxxxxxxxxxx
http://www.TechSoftInc.com <blocked::http://www.techsoftinc.com/> 

Quiquid latine dictum sit altum viditur.
(Whatever is said in Latin seems profound.)

 

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.