• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

OPENJPA - The id class specified by type does not match the primary key fields of the class  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

[RS] split long stack trace lines
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!