A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://issues.apache.org/jira/browse/OPENJPA-2478 below:

[OPENJPA-2478] Erroneous message from the enhancer when a Mapped Superclass contains an @Id.

HI! I've discovered an issue which is pretty much as described in JIRA OPENJPA-2463. That is, when I have a MappedSuperclass with an @Id, I see this error:

openjpa.Enhance: Error: The identity field defined in the com.yyy.zzz.MyEntity Embeddable is not supported.

This error message is erroneously printed because of the fix via JIRA OPENJPA-2233. This JIRA was well intended for the case where an @Embeddable contains an @Id (a spec violation) but was too over reaching in that it also flagged an error for a MappedSuperclass with an @Id. I will provide a fix to ensure the error message is only printed when an @Embeddable contains an @Id.

Thanks,

Heath Thomann


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4