From: <leg...@at...> - 2003-12-19 18:27:08
|
The following issue has been updated: Updater: John Kristian (mailto:jkr...@do...) Date: Fri, 19 Dec 2003 12:26 PM Comment: In addition to improving performance, this change might avoid bugs. For example, bug.log (attached) shows a problem that occurred after Session.refresh called a entity property getter whose implementation did interesting things with Hibernate (to select the best localized value among several from an internationalized database). This problem is avoided if Session.refresh doesn't call ReferenceDomain.getName() before loading. Changes: Attachment changed to bug.log --------------------------------------------------------------------- For a full history of the issue, see: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-573&page=history --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-573 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-573 Summary: Don't get all property values when visiting collections Type: Improvement Status: Unassigned Priority: Minor Project: Hibernate2 Components: core Versions: 2.1 final Assignee: Reporter: John Kristian Created: Fri, 19 Dec 2003 11:43 AM Updated: Fri, 19 Dec 2003 12:26 PM Environment: JBoss, Windows XP, Microsoft SQL Server Description: Please eliminate wasted motion in the collection visitor classes; specifically, don't get the values of properties that can't contain collections. CollectionVisitor.patch [attached] is a rough implementation that works. Perhaps it might be improved to use persister.optimizer.getPropertyValues if persister has an optimizer. --------------------------------------------------------------------- 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 |