openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Howard-5 <h...@antennasoftware.com>
Subject Re: bidirectional one-to-many relationship with join-table
Date Mon, 07 Jun 2010 16:25:23 GMT

Hi,

I have a legacy join table that does not following JPA naming conventions. 
Anyone know what annotations should be use if the join table does not use
the default column names?  e.g.,


Pinaki Poddar wrote:
> 
> CREATE TABLE PERSON_ADDRESSES (
>   ADDRESS_PHONE ...
>   PERSON_SSN ...
> ) 
> 

is instead

CREATE TABLE PERSON_ADDRESSES (
  XYZ_PHONE ...
  PERSON_SSN ...
)

Thanks.
-- 
View this message in context: http://openjpa.208410.n2.nabble.com/bidirectional-one-to-many-relationship-with-join-table-tp678479p5149822.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Mime
View raw message