[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-2979) "org.hibernate.MappingException: Could not determine type for" gives column name but not class

Diego Pires Plentz (JIRA) noreply at atlassian.com
Sun Dec 9 14:08:56 EST 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Diego Pires Plentz resolved HHH-2979.
-------------------------------------

      Assignee: Diego Pires Plentz
    Resolution: Duplicate

> "org.hibernate.MappingException: Could not determine type for" gives column name but not class
> ----------------------------------------------------------------------------------------------
>
>                 Key: HHH-2979
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2979
>             Project: Hibernate3
>          Issue Type: Improvement
>    Affects Versions: 3.2.5
>            Reporter: Dobes Vandermeer
>            Assignee: Diego Pires Plentz
>
> When I make a mistake in my mappings, I get an error that prints the name of the column, but not the class or table.  This error message would be twice as useful if I knew which class to look for that column in!
> For example:
> Caused by: org.hibernate.MappingException: Could not determine type for: Changeset, for columns: [org.hibernate.mapping.Column(changeset)]
> 	at org.hibernate.mapping.SimpleValue.getType(SimpleValue.java:266)
> 	at org.hibernate.mapping.SimpleValue.isValid(SimpleValue.java:253)

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