From 71539da9423df418b4a8d3478c8904636212b90d Mon Sep 17 00:00:00 2001 From: Steve Ebersole Date: Fri, 17 Feb 2012 08:53:16 -0600 Subject: [PATCH] HHH-7076 - Split 'type resolution' back out into separate class --- .../internal/source/HibernateTypeHelper.java | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/HibernateTypeHelper.java b/hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/HibernateTypeHelper.java index 054e6053a3..d906111940 100644 --- a/hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/HibernateTypeHelper.java +++ b/hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/HibernateTypeHelper.java @@ -61,14 +61,17 @@ import org.hibernate.type.Type; import org.hibernate.type.TypeFactory; /** - * Serves 2 roles:
    + * Delegate for handling:
      *
    1. - * Takes information about an attribute mapping and determines the appropriate Hibernate - * {@link org.hibernate.type.Type} to use, if possible. + * binding of Hibernate type information ({@link ExplicitHibernateTypeSource} -> + * {@link HibernateTypeDescriptor} *
    2. *
    3. - * Given a Hibernate {@link org.hibernate.type.Type}, it pushes the jdbc and java type information - * reported the {@link org.hibernate.type.Type} into parts of the metamodel that may be missing it + * attempt to resolve the actual {@link Type} instance + *
    4. + *
    5. + * push java type and JDBC type information reported by the {@link Type} instance to relational/ + * domain models. *
    6. *
    *