[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-5138) Redesign types + introduce TypeRegistry & TypeResolver
Steve Ebersole (JIRA)
noreply at atlassian.com
Fri Aug 27 06:54:41 EDT 2010
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=38216#action_38216 ]
Steve Ebersole commented on HHH-5138:
-------------------------------------
https://fisheye2.atlassian.com/browse/Hibernate/core/trunk/core/src/main/java/org/hibernate/Hibernate.java?r=20138#l149
{code}
/**
* Hibernate <tt>big_decimal</tt> type.
* @deprecated Use {@link org.hibernate.type.StandardBasicTypes#BIG_DECIMAL} instead.
*/
public static final BigDecimalType BIG_DECIMAL = BigDecimalType.INSTANCE;
{code}
https://fisheye2.atlassian.com/browse/Hibernate/core/trunk/core/src/main/java/org/hibernate/Hibernate.java?r=20138#l169
{code}
/**
* Hibernate <tt>string</tt> type.
* @deprecated Use {@link org.hibernate.type.StandardBasicTypes#STRING} instead.
*/
public static final StringType STRING = StringType.INSTANCE;
{code}
> 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