[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-1078) <dynamic-component> requires type on property

Steve Ebersole (JIRA) noreply at atlassian.com
Mon Mar 21 13:00:33 EDT 2011


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

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