wood burning stoves 2.0*
The moose likes Object Relational Mapping and the fly likes org.hibernate.MappingException : Unknown 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 "org.hibernate.MappingException : Unknown Entity?" Watch "org.hibernate.MappingException : Unknown Entity?" New topic
Author

org.hibernate.MappingException : Unknown Entity?

Muralidharan Raju
Greenhorn

Joined: Feb 24, 2011
Posts: 25

hey folks..

This is weird but, i get this error while trying to insert or access the table through hibernate. Thing is.. i was able to insert properly in the beginning when i developed it. after a while i get this kind of error where i cant insert nor can i access the table rows. I have observed that sometimes it mapps and sometimes it doesnt(random way). Is there some property i need to set? or something like that?

PS: when i clean my project in Myeclipse it works sometimes and sometimes it doesnt. I didnt make any syntactical error .. i was able to run it . i can access at random times.

Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Can you post the stack trace?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Muralidharan Raju
Greenhorn

Joined: Feb 24, 2011
Posts: 25


Arun Kumarr
Ranch Hand

Joined: May 16, 2005
Posts: 513

If you're editing the hibernate files, be sure you're editing the actual file and not the file which is in the classes or bin folder.


If you are not laughing at yourself, then you just didn't get the joke.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: org.hibernate.MappingException : Unknown Entity?
 
Similar Threads
Hibernate and MS Access?
Not able to view the data persisted in the database.
Doubt on hibernate
Hibernate how to update only one colum value
Batch Delete Problem