Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
JDO 2 final (2.0)
-
None
Description
The table InstanceCallbacks contains a column named CHILD, to which the field children of pc.InstanceCallbackClass is mapped. The field children is a HashSet of type InstanceCallbackClass. Therefore, the value of the database column CHILD is actually a foreign key to the parent of the instance. Therefore, for semantic consistency of the naming of database entities and to clarify how the Collection type is mapped to the database column, I propose changing the name of the column to PARENT.
Two schema files and two orm files will need to be changed, one for each identity type.