Hi Tom,
If you use ToplinkEssentials (which is the default JPA provider in GlassFish), you can try to map the BASEID column in the Dep class twice - one as a simple type for the Id, and another as a OneToOne relationship of the Base type. Mark the relationship field as insertable/updateable=false.
Regards,
-marina
[Message sent by forum member 'mvatkina' (mvatkina)]
http://forums.java.net/jive/thread.jspa?messageID=247846