On Mar 15, 2008, at 7:31 PM, kmenar..pache.org wrote:
> <obj-entity name="AbstractPerson"
> className="org.apache.cayenne.testdo.inherit.AbstractPerson"
> dbEntityName="PERSON">
> + <obj-attribute name="clientContactType" type="java.lang.String"
> db-attribute-path="CLIENT_CONTACT_TYPE"/>
> <obj-attribute name="name" type="java.lang.String" db-attribute-
> path="NAME"/>
> <obj-attribute name="personType" type="java.lang.String" db-
> attribute-path="PERSON_TYPE"/>
> + <obj-attribute name="salary" type="java.lang.Float" db-attribute-
> path="SALARY"/>
> </obj-entity>
Kevin,
was the above intentional? This and the change below makes me think -
maybe we need a separate new test entity hierarchy for testing the
edge cases that you've described recently to keep the existing mapping
more "vanilla" for the basic test cases?
> <obj-relationship name="addresses" source="Employee"
> target="Address" db-relationship-path="employeeAddresses"/>
> + <obj-relationship name="homeAddresses" source="Employee"
> target="HomeAddress" db-relationship-path="employeeAddresses"/>
Andrus
This archive was generated by hypermail 2.0.0 : Sun Mar 16 2008 - 12:59:47 EDT