Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

org.hibernate.MappingException: Could not determine type for:... with @ManyToOne  RSS feed

 
Kamil Kuchta
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have problem with @ManyToOne which generate that exception:

In Person is references to City and Street. When I remove these references it works.
I put in a lot of time reading many threads and finding solution but the most similar case is here:
http://forum.springsource.org/showthread.php?t=86745
But there the problem was in the lack of some setters.





Help appreciated!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!