[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-5138) Redesign types + introduce TypeRegistry & TypeResolver

Tyler Southwick (JIRA) noreply at atlassian.com
Tue Dec 21 13:12:05 EST 2010


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

Tyler Southwick commented on HHH-5138:
--------------------------------------

This doesn't seem to be backwards compatible with previous versions of hibernate (it would seem since it is 3.x.x it should be).  We have some older libraries that defined their own EnumUserType and was using TypeFactory.basic which is no longer there.  What should I do to make these work with hibernate 3.6?

> Redesign types + introduce TypeRegistry & TypeResolver
> ------------------------------------------------------
>
>                 Key: HHH-5138
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5138
>             Project: Hibernate Core
>          Issue Type: Improvement
>          Components: core
>            Reporter: Steve Ebersole
>            Assignee: Steve Ebersole
>             Fix For: 3.6.0.Beta1
>
>          Time Spent: 78h
>  Remaining Estimate: 0h
>
> Work in progress.  The general idea is to have 3 levels of types:
> 1) What I am tentatively calling a StaticType.  These are basic mappings between standard java types and basic sql types.  They require no access to a Session nor SessionFactory to fulfill their contracts.
> 2) Scoped.  This is mainly the current Type contract, except that these will be explicitly scoped to a TypeRegistry (which is part of the Configuration and SessionFactory).  Users can provide overrides of these.
> 3) User types.  Again, mainly the current user types contracts.

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