They have fields, and there is a relationship between them. The IDs in the log are the defaults picked up by the container for the relationship I think, as the rest of the fields have a @Column(name=...) annotation.
This
[Message sent by forum member 'szczyp' (szczyp)]
http://forums.java.net/jive/thread.jspa?messageID=317980