openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Curtis <curti...@gmail.com>
Subject Re: The id class specified by type does not match the primary key fields of the class
Date Wed, 19 Mar 2014 19:04:34 GMT
Joe -

As I mentioned on your SO post, it appears that this problem(or a very
similar one) was reported a (nubmer of times?) long time back[1] but was
never resolved. Attached below is a code fix for trunk along with a unit
test, could I get some additional eyes on this change as I'm not 100%
confident that the change is correct.

Thanks,
Rick

[1]
http://openjpa.markmail.org/thread/zbjghovmx3u7hdjy#query:+page:1+mid:bqjomb4mtqj66p2p+state:results
http://openjpa.markmail.org/thread/bqjomb4mtqj66p2p

On Wed, Mar 19, 2014 at 9:03 AM, Joe_DAMS <orlyne@kizux.fr> wrote:

> Hello everybody !
> I am faced a migrate project problem. I've got a very very very old java ee
> project that currently runs on jboss 4 server. I'm trying to migrate it on
> a
> fresh apache tomee installation.
>
> Entity classes was coded like this:
>
> PK class
>
>
> Box class
>
>
> Actually this is works on the jboss 4 server installation but when i'm
> trying to start it on apache tomee I got the following error :
>
>
>
> I need to keep the @ManyToOne relation inside the PK class. Does someone
> know an issue in order to help me ?
>
> Tanks a lot :)
>
>
>
> --
> View this message in context:
> http://openjpa.208410.n2.nabble.com/The-id-class-specified-by-type-does-not-match-the-primary-key-fields-of-the-class-tp7586109.html
> Sent from the OpenJPA Users mailing list archive at Nabble.com.
>



-- 
*Rick Curtis*

Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message