• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Entity class not found/InvocationTargetException

 
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
Saloon Keeper
Posts: 15216
36
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?

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic