[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-5375) Merge AnnotationConfiguration into Configuration

Steve Ebersole (JIRA) noreply at atlassian.com
Fri Jul 30 16:14:40 EDT 2010


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Ebersole closed HHH-5375.
-------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 3.6.x)
                   3.6.0.Beta2

> Merge AnnotationConfiguration into Configuration
> ------------------------------------------------
>
>                 Key: HHH-5375
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5375
>             Project: Hibernate Core
>          Issue Type: Improvement
>          Components: annotations, core
>            Reporter: Steve Ebersole
>            Assignee: Steve Ebersole
>             Fix For: 3.6.0.Beta2
>
>          Time Spent: 42.8h
>  Remaining Estimate: 0h
>
> Move AnnotationConfiguration-added methods to Configuration and deprecate AnnotationConfiguration
> For example:
> {code}
> public class AnnotationConfiguration extends Confinguration {
>     ...
>     public AnnotationConfiguration addAnnotatedClass(Class persistentClass) throws MappingException {
>         ...
>     }
> }
> {code}
> becomes 
> {code}
> public class Configuration {
>     ...
>     public Configuration addAnnotatedClass(Class persistentClass) throws MappingException {
>         ...
>     }
> }
> @Deprecated
> public class AnnotationConfiguration extends Configuration {
>     ...
>     @Override
>     public AnnotationConfiguration addAnnotatedClass(Class persistentClass) throws MappingException {
>         return (AnnotationConfiguration) super.addAnnotatedClass( persistentClass );
>     }
> }
> {code}
> The end game being that we move all functionality to Configuration, but still leave AnnotationConfiguration still working (though deprecated) for the time being.

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