[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-3144) Final methods preclude some useful Hibernate extensions

Eduardo Born (JIRA) noreply at atlassian.com
Tue Oct 26 11:24:48 EDT 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=38874#action_38874 ] 

Eduardo Born commented on HHH-3144:
-----------------------------------

This is my way too, very hard to workaround since the only way to override these methods is to create a proxy and make bytecode modifications to it. The fix really doesn't take more than 30 seconds, and making these 3 methods non-final would definitely be enough to enable many user extensions to these collections.

Please consider fixing.

> Final methods preclude some useful Hibernate extensions
> -------------------------------------------------------
>
>                 Key: HHH-3144
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3144
>             Project: Hibernate Core
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 3.2.6
>            Reporter: Ali Ibrahim
>            Priority: Minor
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> The following methods are final: AbstractPersistentCollection#read, AbstractPersistentCollection#write, AbstractLazyInitializer#initialize. It can be useful to override these methods. Fix is to make them protected.

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list