[
http://opensource.atlassian.com/projects/hibernate/browse/HBX-267?page=all ]
Max Rydahl Andersen updated HBX-267:
------------------------------------
Fix Version: 3.2beta10
(was: 3.2beta9)
hbm2java does not handle <properties> tag correctly
---------------------------------------------------
Key: HBX-267
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HBX-267
Project: Hibernate Tools
Type: Patch
Components: hbm2java
Versions: 3.0alpha
Environment: Hibernate Tools from CVS
Reporter: Jason Boutwell
Fix For: 3.2beta10
Attachments: PropertiesUsage.java, failingtest.zip, patch.txt, patch.txt
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:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira