[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6124) Overriding a method from an entity impossible

Marc Schipperheyn (JIRA) noreply at atlassian.com
Fri Apr 15 05:52:59 EDT 2011


Overriding a method from an entity impossible
---------------------------------------------

                 Key: HHH-6124
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6124
             Project: Hibernate Core
          Issue Type: Bug
          Components: core
    Affects Versions: 3.6.3
            Reporter: Marc Schipperheyn
            Priority: Minor


If you have an entity that has a child entity, it seems basically impossible to override a getter method by the child, a duplicate reference error is thrown. This is possibly intentional, but seems incorrect imho. One should be able to override a getter to provide special behaviour for a child.

-- 
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