openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Dick (JIRA)" <>
Subject [jira] [Commented] (OPENJPA-1977) Final methods are not supported but documentation sais they are
Date Thu, 14 Apr 2011 18:17:05 GMT


Michael Dick commented on OPENJPA-1977:

I think Rick is not proposing a behavior change (other than adding a message). We'd still
support final methods, but will treat them as constants which are not persisted.  From memory,
the OpenJPA doc indicates such (but it's buried).

This wasn't obvious to at least a few users so a warning / info / trace message that indicates
what we're doing would be helpful. 

A similar issue was reported on v1.0.1 in OPENJPA-465 - so this should be consistent release
to release. Tests to ensure it would be a nice bonus. 

> Final methods are not supported but documentation sais they are
> ---------------------------------------------------------------
>                 Key: OPENJPA-1977
>                 URL:
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: jpa
>    Affects Versions: 2.1.0
>            Reporter: Heinz Striebeck
>            Assignee: Rick Curtis
>            Priority: Minor
> See
> When using final methods for the id field, the generated id is unavailable for the application.
> According to the mailing list, final methods are not supported, but the OpenJPA documentation
sais so:
> So at least the documentation should be changed.
> An error message at runtime would also be fine - that would be also related to

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message