Beginner |
|
Joined: Thu May 18, 2006 2:58 pm Posts: 28
|
I have an exisisting ORDER table that stores shipping, billing, and mailing address as well as some summary order info. The addresses are created from CUSTOMER addresses saved by address_type in an ADDRESS table.
I have already created an address entity with a many-to-one mapping with a customer entity. Now I would like to use the address entity with the order.
Two questions:
1. Are there any issues/concerns with mapping an entity as a component value type?
2. Is there any way I can use discriminators...address is not a subclass of order?
thanks.
|
|