]
Steve Ebersole closed HHH-1078.
-------------------------------
Closing stale resolved issues
<dynamic-component> requires type on property
---------------------------------------------
Key: HHH-1078
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1078
Project: Hibernate Core
Issue Type: Improvement
Components: documentation
Affects Versions: 3.1 rc2
Reporter: Max Rydahl Andersen
Priority: Minor
Fix For: 3.1 rc3
the doc example for dynamic-component does not have type for the properties. That is
required otherwise you will get:
org.hibernate.MappingException: Could not read mappings from resource:
org/hibernate/tool/hbm2x/Customer.hbm.xml
...
Caused by: org.hibernate.MappingException: you must specify types for a dynamic entity:
key1
at org.hibernate.mapping.SimpleValue.setTypeUsingReflection(SimpleValue.java:274)
at org.hibernate.cfg.HbmBinder.createProperty(HbmBinder.java:2022)
...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: