[jira] [Commented] (JDO-809) Mapping info for ArrayListCollections/TreeSetCollections doesn't correctly map embedded element fields
[ https://issues.apache.org/jira/browse/JDO-809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17515741#comment-17515741 ] Andy Jefferson commented on JDO-809: See GitHub pull request #42 > Mapping info for ArrayListCollections/TreeSetCollections doesn't correctly > map embedded element fields > -- > > Key: JDO-809 > URL: https://issues.apache.org/jira/browse/JDO-809 > Project: JDO > Issue Type: Bug > Components: tck >Affects Versions: JDO 2 final (2.0), JDO 3 (3.0), JDO 3.1, JDO 3.2 >Reporter: Andy Jefferson >Priority: Major > > The tests for the different java.util.Collection types all should follow the > same pattern, with the samples having a range of fields that cover the > primary field usages. > Field XXXOfObject1 should represent a Collection of Object, where the Object > is a PersistenceCapable type, persisting embedded into a join table. > Field XXXOfSimpleClass should represent a Collection of PersistenceCapable > type, persisting embedded into a join table. > Field XXXOfSimpleInterface should represent a Collection of interface, where > the interface is a PersistenceCapable type, persisting embedded into a join > table. > > In the case of the ArrayList and TreeSet cases the ORM files do not define > the block for how the fields of the PersistenceCapable element > will map into the join table. The schema for those cases also do not map the > fields of the PersistenceCapable element, instead just having a FK to the > table of the element (so not embedded at all). -- This message was sent by Atlassian Jira (v8.20.1#820001)
[GitHub] [db-jdo] andyjefferson opened a new pull request #42: Fix orm/sql files for ArrayListCollections/TreeSetCollections so that they map embedded fields correctly
andyjefferson opened a new pull request #42: URL: https://github.com/apache/db-jdo/pull/42 Copied the block from the other Set/List samples, and updated the schema of the join tables to match -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jdo-dev-unsubscr...@db.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[jira] [Created] (JDO-809) Mapping info for ArrayListCollections/TreeSetCollections doesn't correctly map embedded element fields
Andy Jefferson created JDO-809: -- Summary: Mapping info for ArrayListCollections/TreeSetCollections doesn't correctly map embedded element fields Key: JDO-809 URL: https://issues.apache.org/jira/browse/JDO-809 Project: JDO Issue Type: Bug Components: tck Affects Versions: JDO 3.2, JDO 3.1, JDO 3 (3.0), JDO 2 final (2.0) Reporter: Andy Jefferson The tests for the different java.util.Collection types all should follow the same pattern, with the samples having a range of fields that cover the primary field usages. Field XXXOfObject1 should represent a Collection of Object, where the Object is a PersistenceCapable type, persisting embedded into a join table. Field XXXOfSimpleClass should represent a Collection of PersistenceCapable type, persisting embedded into a join table. Field XXXOfSimpleInterface should represent a Collection of interface, where the interface is a PersistenceCapable type, persisting embedded into a join table. In the case of the ArrayList and TreeSet cases the ORM files do not define the block for how the fields of the PersistenceCapable element will map into the join table. The schema for those cases also do not map the fields of the PersistenceCapable element, instead just having a FK to the table of the element (so not embedded at all). -- This message was sent by Atlassian Jira (v8.20.1#820001)