[jira] Updated: (XDP-231) @hibernate.key-many-to-one tag 'lazy' parameter is ignored when .hbm is generated
Grégory Joseph (JIRA) <jira-yCVjj/[email protected]> Fri, 26 Mar 2010 09:52:23 -0500 (CDT)
| Newsgroups | gmane.comp.java.xdoclet-plugins |
|---|---|
| Message-ID | <13338554.12059.1269615143142.JavaMail.haus-jira@codehaus01.managed.contegix.com> |
[ http://jira.codehaus.org/browse/XDP-231?page=3Dcom.atlassian.jira.pl=
ugin.system.issuetabpanels:all-tabpanel ]
Gr=E9gory Joseph updated XDP-231:
-------------------------------
Fix Version/s: (was: 1.0.4)
1.0.6
> @hibernate.key-many-to-one tag 'lazy' parameter is ignored when .hbm is g=
enerated
> -------------------------------------------------------------------------=
--------
>
> Key: XDP-231
> URL: http://jira.codehaus.org/browse/XDP-231
> Project: XDoclet 2 Plugins
> Issue Type: New Feature
> Components: hibernate
> Affects Versions: 1.0.4
> Environment: xdoclet-plugin-hibernate-1.0.4
> Reporter: Shyamsunder Mutcha
> Fix For: 1.0.6
>
>
> When I use lazy=3D"false" with the tag @hibernate.key-many-to-one, it is =
not added to generated .hbm file. I have updated the KeyManyToOne.jelly to=
accept lazy and foreign-key param. Now the generated hibernate mapping fil=
e has lazy=3D"false" and foreign-key elements, if they are mentioned with t=
he tag @hibernate.key-many-to-one
> Replace the element at line#4 in KeyManyToOne.jelly with the element give=
n below. =
> <key-many-to-one name=3D"${keyProperty.name}"
> access=3D"${property.access}"
> type=3D"${keyManyToOneTag.type}"
> column=3D"${keyManyToOneTag.column}"
> length=3D"${keyManyToOneTag.length}"
> class=3D"${keyManyToOneTag.class_}"
> entity-name=3D"${keyManyToOneTag.entityName}"
> foreign-key=3D"${keyManyToOneTag.foreignKey}"
> lazy=3D"${keyManyToOneTag.lazy}">
> Or add the entries for lazy and foreign-key parameters.
> XDoclet Hibernate Plugin version: 1.0.4
-- =
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: htt=
p://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
=
---------------------------------------------------------------------------=
---
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev