If you look at the data for class B, does it have rows where the A reference is non-null
and refers to a nonexistent A entity? That would explain the error you're getting. Why
are you specifying the join columns by hand anyway?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997492#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...