openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Bauer (JIRA)" <j...@apache.org>
Subject [jira] Updated: (OPENJPA-545) Replace UUID implementation with JDK 5 alternatives
Date Sun, 08 Jun 2008 23:21:45 GMT

     [ 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.


Mime
View raw message