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

Vitali Yemialyanchyk (JIRA) jira-events at lists.jboss.org
Thu Feb 17 07:07:13 EST 2011


     [ https://issues.jboss.org/browse/JBIDE-8380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vitali Yemialyanchyk resolved JBIDE-8380.
-----------------------------------------

    Fix Version/s: 3.3.0.M1
                       (was: 3.3.x)
       Resolution: Done


> 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.0.M1
>
>
> 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