[XDoclet-JIRA] Commented: (XDT-1537) Patch: fix for some hibernate 3.0 lazy attributes

"Paul Galbraith (JIRA)" <[email protected]>
Newsgroups gmane.comp.java.xdoclet.devel
Message-ID <[email protected]>
    [ http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1537?page=comments#action_17287 ] 

Paul Galbraith commented on XDT-1537:
-------------------------------------

Did you search for fixed bugs in JIRA?  I believe this has already been fixed in current CVS.

> 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
>     Assignee: 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.