users@glassfish.java.net

_at_SecondaryTable with both tables having a column of the same name?

From: <glassfish_at_javadesktop.org>
Date: Fri, 11 Jul 2008 13:50:26 PDT

I'm dealing with this codebase that has an entity with a column of the same name defined in both the primary and secondary table. This attribute has a not null constraint on it which in a particular scenario fails.

I have no control over the schema so it can't be changed.

Is there way to have the getX, setX in the primary entity updated so that it works for cases of the primary or secondary?
[Message sent by forum member 'samdoyle' (samdoyle)]

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