Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Entity class not found/InvocationTargetException  RSS feed

 
Sonx Nkuks
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello community,

I'm rather getting a confusing error i can't find solutions on the net. Let me show you my Hibernate configurations and mapping files



hbm


error



OverrideItemDo exists on za.co.epsilon.domain package. Could this be related to a conflict of jar files i have on my class path?



 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 15860
80
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try specifying the fully qualified name of the class in your Hibernate mapping file. Like this:

Likewise with other classes, such as OverrideItemId.
 
Sonx Nkuks
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jesper de Jong wrote:Try specifying the fully qualified name of the class in your Hibernate mapping file. Like this:

Likewise with other classes, such as OverrideItemId.


changed it to


now i get
 
Sonx Nkuks
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My problem is not with mapping but using hibernate attach.clean

error


Question, how do i load an object with an unknown ID?

 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!