String generateKey() throws OracleException {
  byte[] data=null;
  try {
    data=HashFuncs.getRandom();
  }
 catch (  Exception e) {
    if (OracleLog.isLoggingEnabled())     log.warning(e.toString());
  }
  if (data == null) {
    data=fetchGuid();
  }
  if (data == null) {
    throw SODAUtils.makeException(SODAMessage.EX_UNABLE_TO_CREATE_UUID);
  }
  return (ByteArray.rawToHex(data));
}

String generateKey ( ) throws OracleException { byte [ ] data = null ; try { data = HashFuncs . getRandom ( ) ; } catch ( Exception e ) { if ( OracleLog . isLoggingEnabled ( ) ) log . warning ( e . toString ( ) ) ; } if ( data == null ) { data = fetchGuid ( ) ; } if ( data == null ) { throw SODAUtils . makeException ( SODAMessage . EX_UNABLE_TO_CREATE_UUID ) ; } return ( ByteArray . rawToHex ( data ) ) ; }
generate a uuid key string
