| 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: 508
|
|
|
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.
|
 |
 |
|
|
subject: org.hibernate.MappingException : Unknown Entity?
|
|
|