| Author |
Error: Entity <name> has no Id or EmbeddedId
|
Martin Frisone
Greenhorn
Joined: Nov 05, 2007
Posts: 7
|
|
Hi, guys
I'm mapping a table Persons to a java class Persons:
and I'm getting the error: "Entity Persons has no Id or EmbeddedId". I don't understand why this happenes since I have the @Id annotation.
I appreciate any help on this. Thanks in advance!
|
 |
Leandro Coutinho
Ranch Hand
Joined: Mar 04, 2009
Posts: 415
|
|
hi!
I don't know, but maybe:
- id != Id
- int and not Integer
|
 |
 |
|
|
subject: Error: Entity <name> has no Id or EmbeddedId
|
|
|