From: <no...@at...> - 2005-06-19 00:04:02
|
The following comment has been added to this issue: Author: David Betts Created: Sat, 18 Jun 2005 7:03 PM Body: I'm willing to help out here; unfortunately I don't follow the proposed solutions. I think I lack a good understanding of how all these pieces hang together. If its worth the effort, could some elaborate a little? Thanks, --david --------------------------------------------------------------------- View this comment: http://opensource.atlassian.com/projects/hibernate/browse/HHH-434?page=comments#action_18345 --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/browse/HHH-434 Here is an overview of the issue: --------------------------------------------------------------------- Key: HHH-434 Summary: element/@attribute not implemented for collection elements Type: Bug Status: Unassigned Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: Hibernate3 Components: core Versions: 3.0.3 Assignee: Reporter: Gavin King Created: Wed, 4 May 2005 12:17 AM Updated: Sat, 18 Jun 2005 7:03 PM Description: None of the following: <element> <one-to-many> <many-to-many> support use of node="element/@attribute", which is *extremely* useful when embed-xml="false" (the common case). This is because we do not go via property accessors in the PersistentXXXElementHolder classes. Instead, we have hardcoded element iteration in about 16 different methods. We need to find some design where this can be made more flexible. Perhaps just CollectionPersister.getElementName() + CollectionPersister.getElementValue()/CollectionPersister.getElementValue() is enough, since PropertyAccessor is certainly not an appropriate solution. Any volunteers? --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |