openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dianne Richards (JIRA)" <>
Subject [jira] Assigned: (OPENJPA-1554) Boolean type primary key not supported
Date Thu, 24 Jun 2010 14:57:52 GMT


Dianne Richards reassigned OPENJPA-1554:

    Assignee: Dianne Richards

> Boolean type primary key not supported
> --------------------------------------
>                 Key: OPENJPA-1554
>                 URL:
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: jpa
>    Affects Versions: 2.0.0
>            Reporter: Donald Woods
>            Assignee: Dianne Richards
>            Priority: Minor
> Originally reported by Tim McConnell -
> The JSR 317 JPA 2.0 specs explicitly states that all java primitives (and primitive wrappers)
can be used for primary keys. However, OpenJPA does not allow the boolean/Boolean types as
primary keys or as part of compound primary keys.  Granted, this might not be a big deal since
using a boolean/Boolean primary key would allow only two database records. But it might also
be the case that a customer might want to use a boolean primary key to specify true/false
Production/Development environment in their database. Just want to document this discrepacny
(with the spec) for the sake of completeness.

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

View raw message