1.2.  Final

Entity classes may not be final. No method of an entity class can be final.
Note

OpenJPA supports final classes and final methods.
Confusing? Perhaps. It seems pretty clear that we don't support final
Entities or final Entity methods. I'm not sure what the "Note" is referring
to though.

If you want, open a JIRA and I can remove that Note. It's more confusing
than anything.

Thanks,
Rick

On Mon, Apr 11, 2011 at 2:23 PM, realdepp <[email protected]> wrote:

> I'm not sure about that - the final modifier seems to be the cause for the
> problem.
>
> The JPA spec sais:
> "Entity classes may not be final. No method of an entity class can be
> final."
>
> BUT the OpenJPA docs say:
> "OpenJPA supports final classes and final methods."
>
> http://openjpa.apache.org/builds/2.1.0/apache-openjpa-2.1.0/docs/manual/jpa_overview_pc.html#jpa_overview_pc_final
>
> So this is either an implementation bug or a documentation bug

Reply via email to