many-to-one in hbm2hbmxml
-------------------------
Key: HBX-1056
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HBX-1056
Project: Hibernate Tools
Issue Type: Patch
Components: ant
Affects Versions: 3.2.1
Environment: hibernate 3.2.6
oracle 10g R1
Reporter: Matthias Gommeringer
Priority: Minor
Attachments: many-to-one.hbm.ftl
For the generation of hbm.xml files from an AnnotationConfiguration, the
"not-found" and "lazy" attributes are not honoured. Therefore the
following code can be added to the template "many-to-one.hbm.ftl":
<#if !property.isLazy()>
lazy="false"
</#if>
<#if property.value.isIgnoreNotFound()>
not-found="ignore"
</#if>
The full file is attached.
Thanks and regards
--
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