Re: hibernate lazy on many-to-one

Konstantin Priblouda <kpriblouda-/[email protected]>
Newsgroups gmane.comp.java.xdoclet-plugins
Message-ID <[email protected]>

--- Frank Russo <[email protected]> wrote:

> I checked the docs, and it seems that lazy on
> many-to-one is not an
> option in xdoclet, but it is allowed according to
> hibernate docs. 

Many to one definitely supports merge.  Tag
documentation is somehow outdated, because I still
strugle to perform automatic upload of the docs
( as there is neither groovy not confluience mojo
fomr maven 2, and groovy script also needs updating ) 

The best way for now it is to look into sources:

public interface HibernateManyToOneTag extends
com.thoughtworks.qdox.model.DocletTag, Unique,
OuterJoin, Cascade, NotNull,
    Insert, Update, Column, Clazz, Lazy, Access,
OptimisticLock, EntityName, Fetch, Formula, Index,
Node, EmbedXml,
    ForeignKey, PropertyRef, NotFound, PropertiesName
{
}

clearly states that this tag supports lazy parameter.


>I
> tried looking into setting up a merge, but the
> documentation is very
> poor on merging. It's not clear how the doc is
> supposed to be formatted.

hibernate mapping plugin does not define any merge
points at the moment. ( do you need any? )

and basically you just pass parameter "mergedir" to
plugin ( as url )  and it picks defined merge files
from there.

regards,

----[ Konstantin Pribluda http://www.pribluda.de ]----------------
Still using XDoclet 1.x?  XDoclet 2 is released and of production quality.
check it out: http://xdoclet.codehaus.org


 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
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.