users@glassfish.java.net

One to One Mapping

From: <glassfish_at_javadesktop.org>
Date: Tue, 17 Jun 2008 09:55:21 PDT

Can I map a one to one bi-directional relationship where the owning entity has a string for a primary key rather than an id field? If so, can some show me an example? I keep getting an Oracle invalid number error (I'm using Hibernate as the provider).

Thanks,
Steve
[Message sent by forum member 'sahlstrom' (sahlstrom)]

http://forums.java.net/jive/thread.jspa?messageID=280773