[ 
http://jira.codehaus.org/browse/XDP-231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Grégory 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 
> generated
> ---------------------------------------------------------------------------------
>
>                 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="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 file 
> has lazy="false" and foreign-key elements, if they are mentioned with the tag 
> @hibernate.key-many-to-one
> Replace the element at line#4 in KeyManyToOne.jelly with the element given 
> below. 
>     <key-many-to-one name="${keyProperty.name}"
>                      access="${property.access}"
>                      type="${keyManyToOneTag.type}"
>                      column="${keyManyToOneTag.column}"
>                      length="${keyManyToOneTag.length}"
>                      class="${keyManyToOneTag.class_}"
>                      entity-name="${keyManyToOneTag.entityName}"
>                      foreign-key="${keyManyToOneTag.foreignKey}"
>                      lazy="${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: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Download Intel&#174; 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
_______________________________________________
xdoclet-plugins-interest mailing list
xdoclet-plugins-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Reply via email to