wood burning stoves 2.0*
The moose likes Object Relational Mapping and the fly likes org.hibernate.MappingException: Could not determine type for:... with @ManyToOne Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "org.hibernate.MappingException: Could not determine type for:... with @ManyToOne" Watch "org.hibernate.MappingException: Could not determine type for:... with @ManyToOne" New topic
Author

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

Kamil Kuchta
Greenhorn

Joined: Mar 09, 2009
Posts: 17
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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: org.hibernate.MappingException: Could not determine type for:... with @ManyToOne