[hibernate-issues] [Hibernate-JIRA] Created: (HBX-1056) many-to-one in hbm2hbmxml
Matthias Gommeringer (JIRA)
noreply at atlassian.com
Fri Apr 11 12:37:33 EDT 2008
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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list