Tuesday, 27 August 2013

Hibernate: No identifier specified for entity (yes, I have decorated with @Id...)

Hibernate: No identifier specified for entity (yes, I have decorated with
@Id...)

I have searched all over the place and it seems almost all answers for
this problem tell me to annotate either my id property or getter with @Id.
I have tried both with absolutely no luck. Here is my entire class thats
failing: http://pastebin.com/Cpsdx2Rj and the following is my exception:
http://pastebin.com/uhs9e81b
As I said, I already tried moving the @Id devorator to the property and
that doesnt seem to do anything at all.
Any suggestions on what to try? Any other configuration files needed to
debug?
Thank you in advance for any help you can provide!

No comments:

Post a Comment