Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.2.0
    • Component/s: kernel
    • Labels:
      None

      Description

      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

      1. OPENJPA-545.patch
        31 kB
        Jeremy Bauer

        Activity

        Hide
        Jeremy Bauer added a comment -

        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

        Show
        Jeremy Bauer added a comment - 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

          People

          • Assignee:
            Jeremy Bauer
            Reporter:
            Kevin Sutter
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development