File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Object Relational Mapping and the fly likes Mapping bug in Hibernate 3.6? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Mapping bug in Hibernate 3.6?" Watch "Mapping bug in Hibernate 3.6?" New topic

Mapping bug in Hibernate 3.6?

Karsten Wutzke
Ranch Hand

Joined: Jul 20, 2010
Posts: 106

I have formulated my problem (and design) here in-depth:

As described there JBoss Tools shows some error. As it turns out Hibernate also has problems when mapping this. I get the following exception when run in an SSCCE (JavaSE test app):

What's wrong with Hibernate (3.6) here? I'm especially confused by the "recursive property" mentioned.


OCJP JavaSE 6 (86%)
subject: Mapping bug in Hibernate 3.6?
Similar Threads
MappingException: Unable to find column with logical name
Hibernate: read-only on @Column in embedded ID composite key classes mapping exception - bug?
@PrimaryKeyJoinColumn: no insertable and no updatable
JPA: Unable to configure EntityManagerFactory