openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Heath Thomann (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (OPENJPA-2055) IPv6 addresses not supported in UUIDGenerator
Date Wed, 05 Feb 2014 22:28:14 GMT

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

Heath Thomann resolved OPENJPA-2055.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.1
                   2.2.0

> IPv6 addresses not supported in UUIDGenerator
> ---------------------------------------------
>
>                 Key: OPENJPA-2055
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2055
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: jdbc
>    Affects Versions: 2.1.0
>            Reporter: Heath Thomann
>            Assignee: Heath Thomann
>            Priority: Minor
>             Fix For: 2.2.0, 2.1.1
>
>         Attachments: OPENJPA-2055-2.1.x.patch
>
>
> UUIDGenerator class uses an IPv4 address as part of its seed when generating a UUID.
 That is, the UUIDGenerator makes a call to InteAddress 'getAddress' method to get the address
and assumes it returns a byte array of size 4 (the size of an IPv4 address).  However, in
an environment which uses IPv6, 'getAddress' can return a byte array of length 16.  UUIDGenerator
needs to be updated to account for an IPv6 address.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message