[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-8380) OrmLabelProvider -> updateColumnSqlType -> column.getSqlType - swallow MappingException for some tests

Vitali Yemialyanchyk (JIRA) jira-events at lists.jboss.org
Wed Feb 9 13:15:47 EST 2011


OrmLabelProvider -> updateColumnSqlType -> column.getSqlType - swallow MappingException for some tests
------------------------------------------------------------------------------------------------------

                 Key: JBIDE-8380
                 URL: https://issues.jboss.org/browse/JBIDE-8380
             Project: Tools (JBoss Tools)
          Issue Type: Sub-task
          Components: Hibernate
    Affects Versions: 3.3.x
            Reporter: Vitali Yemialyanchyk
            Assignee: Vitali Yemialyanchyk
            Priority: Minor
             Fix For: 3.3.x


column.getSqlType in end result call SimpleValue -> getType() -> throw MappingException with message "Could not determine type for...";
in OrmLabelProvider -> updateColumnSqlType we swallow the exception - right resolution - we should not swallow the exception - is necessary to print it in Error Log, is necessary to getSqlType in ConsoleConfiguration execution context - so we get correct expected result and avoid the exception.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list