File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Object Relational Mapping and the fly likes No identifier specified for entity: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "No identifier specified for entity:" Watch "No identifier specified for entity:" New topic

No identifier specified for entity:

senthilkumar ap

Joined: Dec 01, 2008
Posts: 19
HI all..

im using java 1.6 ,jboss4.2 and postgres8.4.. my application is struts ,ejb3 integration

and i deleted the and created bec of some naming reason.. and deployed to still the error is pointing SClinicalCases(same error ) even though im not having

can any one help me..?

Thanks in advance
D Jain

Joined: Apr 13, 2011
Posts: 1

You may not be specifying the 'Id' with Id annotation, you need to specify @Id annotation above of ids getter like

@Column(name = "ID",nullable=true)
public long getId() {
return id;
I agree. Here's the link:
subject: No identifier specified for entity:
It's not a secret anymore!