From: Arnie M. (JIRA) <no...@at...> - 2006-07-05 14:05:00
|
Syntax Error in .hbm.xml file reports error but is missing replacement text --------------------------------------------------------------------------- Key: HHH-1880 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1880 Project: Hibernate3 Type: Bug Components: metamodel Versions: 3.0.2 Environment: Hibernate 3.0.2, Sybase 12.5.3, PeopleSoft 8's Job_Code table Reporter: Arnie Morein Priority: Minor This table has 122 fields. I made a typo in the definition of a field thusly: <property name="GvtFunctionClass" column="string" type="" update="false" insert="false"/> should have been: <property name="GvtFunctionClass" column="GVT_FUNC_CLASS" type="string" update="false" insert="false"/> Obviously, Hibernate reported an error - but it wasn't every helpful: 2006-07-05 09:02:18,750 ERROR [org.jboss.hibernate.jmx.Hibernate] Starting failed jboss.jca:service=HbmEmployeeWarehouse org.hibernate.MappingException: Could not determine type for: , for columns: [org.hibernate.mapping.Column(string)] at org.hibernate.mapping.SimpleValue.getType(SimpleValue.java:265) Two Things: 1) The error is in the HbmPsJobCodeTable.hbm.xml file - NOT the HbmEmployeeWarehouse.hbm.xml file. 2) Missing substitution values for the error string "Could not determine type for: , for columns: " apparently aren't making it into the string prior to its output. Perhaps 1 is related to 2? Thanks. -- 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 |