my dog learned polymorphism*
The moose likes Object Relational Mapping and the fly likes Error book Hibernate Recipes a problemsolution approach(@OneToMany bidirectional Using a Join Table) 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 "Error book Hibernate Recipes a problemsolution approach(@OneToMany bidirectional Using a Join Table)" Watch "Error book Hibernate Recipes a problemsolution approach(@OneToMany bidirectional Using a Join Table)" New topic
Author

Error book Hibernate Recipes a problemsolution approach(@OneToMany bidirectional Using a Join Table)

Ricardo Llontop
Greenhorn

Joined: Apr 18, 2011
Posts: 11

The book say:

and in the other relation put:

When I run this thw Junit lunch a error

How avoid this issued or this the book wrong??
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Error book Hibernate Recipes a problemsolution approach(@OneToMany bidirectional Using a Join Table)
 
Similar Threads
Problems in JPA with a Collection of Dates
How do I get a UserDetails object from a Principal object?
Confused with many to many,
Mysql auto generated PK used for another table and JPA
JPA - need help with query