Thank you, marina, that has solved it. I have taken the @Basic out, and changed the @JoinColumn to include "nullable = false", which I guess does the same thing. Not sure how the @Basic got there, but think it was automagically created in the nb wizard.
Any chance of a link to the spec you mention? Is this a sun doc, or an implementation spec that each of the vendors write?
Thanks again
mcalex
[Message sent by forum member 'mcalex' (mcalex)]
http://forums.java.net/jive/thread.jspa?messageID=294708