Ok, got it working. I was mistaken about which relationship was causing the problem.
I had a couple one-many bidirectional relationships and they were causing the problem.
But I still have almost the same question- JBoss docs say that it can handle one-many relationships using foreign keys but I had to use relation tables to get JBoss to stop complaining. Can JBoss not handle a BIDIRECTIONAL one-many mapping with foreign keys or is my syntax probably just wrong?
Can u send the code zip of working 1 to many relationship.
I have a werid problem where it is working for me but i am retunred the exact no of rows but with the same data. Say DB has 3 rows then i get 3 rows with same data.
Can you attach me ur zips or atleat XMLs