[hibernate-issues] [Hibernate-JIRA] Created: (HHH-3996) Type override similar to association override

Daniel Jimenez (JIRA) noreply at atlassian.com
Mon Jun 29 10:30:15 EDT 2009


Type override similar to association override
---------------------------------------------

                 Key: HHH-3996
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3996
             Project: Hibernate Core
          Issue Type: New Feature
          Components: core
         Environment: Hibernate 3.3.2.GA, Hibernate Annotations 3.4.0 GA, Microsoft SQL 2005
            Reporter: Daniel Jimenez


I would like to be able to override a columns type similar from a mapped superclass similar to how you can override it's association using @AssociationOverride. 

An example use case is in legacy tables where my boolean fields use YES_NO instead of a bit. Right now to use the same classes I end up having to use a trigger to update the bit column when the YES_NO column is changed and vice versa.

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