Hi all,

I have a problem for adding a new column in OneToMany relationship
table. I create 2 entities: Customer and Phone, 1 customer may have
many phone, therefore I use @OneToMany annotation before Collection
<Phone>, the result after deploying is that a table called Customer-
Phone has been automatically created with 2 columns are the primary
keys of Customer and Phone. Now I want to add a column for example
Description, but I don't know how to do. Could you please help me? Any
idea is welcome.

Thanks and B.R,
Poplar

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Java 
EE (J2EE) Programming with Passion!" group.
To post to this group, send email to 
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to