Hi Fernando, I'm glad to see you got the code working. I was a bit off on my first comments/assumptions. I assumed that TeamFan was a subclass of Fan. Posting your entities and taking a closer look at your statement text cleared that up. I was just about to suggest that you need to specify 1) a relationship (OneToOne or ManyToOne) with FAN_JDOID as the join column or 2) tag Fan as embeddable; when I noticed your reply. It sounds like the Kodo behavior maps to option 1).
I can't think of any shortcuts to automatically trigger the ManyToOne relationship. -Jeremy
