[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:28:47 EDT 2010


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

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

I mean, making these three methods protected (not just non-final) would be enough, other methods could remain the way they are although I don't really see the point in making any methods final in a framework. It limits the user a lot without any real gain.

> 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