From: <leg...@at...> - 2003-10-07 19:33:20
|
The following comment has been added to this issue: Author: Max Rydahl Andersen Created: Tue, 7 Oct 2003 2:32 PM Body: I've attached a rough refactor for allowing support for custom persisters. This patch basically just make CollectionPersister an interface and introduces AbstractCollectionPersister and CollectionPersisterImpl. At the moment all the code is still in AbstractCollectionPersister and every previously public method on CollectionPersister is part of the new interface - this probably need to be "cleaned" before the code goes into hibernate core. Furthermore i've added methods to PersisterFactory to add support for instantiating a custom class that implements CollectionPersister. I've also added code to Binder that shows how to configure the mapping metadata via a persister attribute (note: I have not made the necessary changes to the DTD, but that should be pretty straight forward - just add a persister attribute to all relevant collection elements) I hope this patch illustrate what we talked about - please feel free to ask questions and even better continue --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-384 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-384 Summary: Add support for custom collection persisters Type: New Feature Status: Assigned Priority: Major Project: Hibernate2 Components: core Fix Fors: 2.1 Versions: 2.1 Assignee: Max Rydahl Andersen Reporter: Max Rydahl Andersen Created: Tue, 7 Oct 2003 2:14 PM Updated: Tue, 7 Oct 2003 2:15 PM Description: Add support for Custom collection persisters (for eg. allowing usage of Stored Procedures to persister collections) --------------------------------------------------------------------- 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 |