You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Jeremy Bauer (JIRA)" <ji...@apache.org> on 2008/06/09 01:21:45 UTC

[jira] Updated: (OPENJPA-545) Replace UUID implementation with JDK 5 alternatives

     [ https://issues.apache.org/jira/browse/OPENJPA-545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeremy Bauer updated OPENJPA-545:
---------------------------------

    Attachment: OPENJPA-545.patch

Attached is OPENJPA-545.patch, which provides type 4 UUID generators using standard Java 5 UUID support.  Two new generator types are defined to provide this support, "uuid-type4-string" and "uuid-type4-hex".  Also included in the patch are jUnits and documentation updates.

Please review and provide comments.  Thanks!

-Jeremy

> Replace UUID implementation with JDK 5 alternatives
> ---------------------------------------------------
>
>                 Key: OPENJPA-545
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-545
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: kernel
>    Affects Versions: 1.1.0
>            Reporter: Kevin Sutter
>            Assignee: Kevin Sutter
>         Attachments: OPENJPA-545.patch
>
>
> From the thread on the dev mailing list when we were discussing whether to get rid of the JDK 1.4 requirement...
> "If we do down this path, we should look at replacing (or enhancing) our UUID implementation with the UUID class that is now part of JDK 5 (http://java.sun.com/javase/6/docs/api/java/util/UUID.html).  I just heard from a user that the random number version of the UUID (version 4) provides for more efficient index processing.  This is part of the Java implementation.  We should take a look at that as an alternative."
> Thus, this sub-task...
> Kevin

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.