Skip to content

Instantly share code, notes, and snippets.

@xcap2000
Forked from jefo/generateUuid.sql
Created September 20, 2018 18:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xcap2000/f5a5f9cd7f38651e9370e18735273789 to your computer and use it in GitHub Desktop.
Save xcap2000/f5a5f9cd7f38651e9370e18735273789 to your computer and use it in GitHub Desktop.
Derby DB generate uuid
create type uuid external name 'java.util.UUID' language java;
create function generateUuid() returns uuid
language java
parameter style java
external name 'java.util.UUID.randomUUID';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment