Patch: fix for some hibernate 3.0 lazy attributes
-------------------------------------------------

         Key: XDT-1537
         URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1537
     Project: XDoclet
        Type: Bug
    Versions: 1.2.3    
 Reporter: Ignacio Coloma
 Assigned to: xdoclet-devel (Use for new issues) 


Note: to be complete, this fix should include a test of version to apply only 
if  version > 2.0

may-to-one relations and one-to-one do not support 3.0 lazy attributes. As a 
quick fix, we have included the following (the line numbers are orientative, 
sorry for being so dirty):

Collections:
hibernate-properties.xdt, lines: 103, 142, 180, 212,

            lazy="<XDtMethod:methodTagValue tagName="hibernate.map" 
paramName="lazy"  values="true,false" default="true"/>"

many-to-one:
hiberante-properties.xdt:31

          <XDtMethod:ifHasMethodTag tagName="hibernate.many-to-one" 
paramName="lazy">
            lazy="<XDtMethod:methodTagValue tagName="hibernate.many-to-one" 
paramName="lazy" values="true,false,proxy,no-proxy" default="true"/>"
          </XDtMethod:ifHasMethodTag>


one-to-one:
hiberante-properties.xdt: 59
          <XDtMethod:ifHasMethodTag tagName="hibernate.one-to-one" 
paramName="lazy">
            lazy="<XDtMethod:methodTagValue tagName="hibernate.one-to-one" 
paramName="lazy" values="true,false,proxy,no-proxy" />"
          </XDtMethod:ifHasMethodTag>



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to