]
Max Rydahl Andersen closed HBX-267.
-----------------------------------
Resolution: Fixed
about time we got this one fixed .... committed to svn (with more tests, but otherwise the
same)
p.s. use unified diff in the future - thanks ;)
hbm2java does not handle <properties> tag correctly
---------------------------------------------------
Key: HBX-267
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HBX-267
Project: Hibernate Tools
Issue Type: Patch
Components: hbm2java
Affects Versions: 3.0alpha
Environment: Hibernate Tools from CVS
Reporter: Jason Boutwell
Fix For: 3.2beta10
Attachments: failingtest.zip, patch.txt, patch.txt, PropertiesUsage.java
If an hbm <class> mapping contains a <properties> tag, hbm2java creates a
POJO that contains only the child properties of the <properties> logical element.
All other elements in the class mapping are discarded. I've looked at the source code,
and, while not intimate with it, I speculate that hbm2java is treating <properties>
like <component> and overwriting the actual entity POJO with a component POJO. Is
this a bug, or is the <properties> tag explicitly not yet supported?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: