Generating GUID with ora:generateGUID()
449590Mar 10 2006 — edited Mar 10 2006Hi,
generateGUID generates GUID like this:
af46278784e183e2:296f76:109e34c77ea:-7ff1
However, the standard format for GUID according to RFC 4122 (http://www.ietf.org/rfc/rfc4122.txt) is like this:
E7BF873B-37D1-4209-9332-E843BA71BD23
Oracle's GUID have 37 digits whereas standard GUID have 32 hex digits (16 bytes).
Does anybody know how Oracle BPEL GUID are generated, what is the algorithm? How is it related to standard GUID?
I would also like to know if the network address or an random number is used. This is important because if the network address is used there could be some collisions if there are several BPEL engines in the same host.
I have created a simple process with a FlowN activity to generate multiple GUID and is generating consecutive GUID; that's OK; and it means GUID generator is serializing requests. Could it be a bottleneck? Does it write to database or is it just a synchronized static Java class?
Thanks.