aspose file tools*
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
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "No identifier specified for entity:" Watch "No identifier specified for entity:" New topic
Author

No identifier specified for entity:

senthilkumar ap
Greenhorn

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 SClinicalCases.java and created SClinicalCasesTable.java bec of some naming reason.. and deployed to server..bt still the error is pointing SClinicalCases(same error ) even though im not having SClinicalCases.java


can any one help me..?

Thanks in advance
D Jain
Greenhorn

Joined: Apr 13, 2011
Posts: 1
Hi

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

@Id
@Column(name = "ID",nullable=true)
public long getId() {
return id;
}
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: No identifier specified for entity:
 
Similar Threads
Problem with DataSource
after copy server.xml from jboss 4.0.3 to jboss 4.2, the server cannot be run
DeploymentException while deploying ear file in JBoss
getting null pointer exception
State: NOTYETINSTALLED