Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

org.hibernate.MappingException : Unknown Entity?

 
Muralidharan Raju
Greenhorn
Posts: 25
Eclipse IDE Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you post the stack trace?
 
Muralidharan Raju
Greenhorn
Posts: 25
Eclipse IDE Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

 
Arun Kumarr
Ranch Hand
Posts: 661
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic