foriegn key « ID « JPA Q&A





1. 1-to-1, no ids, foriegn keys - I feel dumb    forum.hibernate.org

Hi. I'm trying to get a 1-to-1 mapping to work but I can't. Basically, I've got an object that contains another object - unidirectional. Neither of these objects have ids. Incidently, they're JAXRPC generated. I cannot for the life of me work out how to make this simple scenario happen. I've even gone so far, god forbid, to look at the ...