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

Dobes Vandermeer (JIRA) noreply at atlassian.com
Fri Nov 30 17:00:56 EST 2007


"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


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