Re: Mapping class to multiple tables with entity-name (hibernate plugin)
Konstantin Priblouda <kpriblouda-/[email protected]> Wed, 21 Mar 2007 13:03:23 -0700 (PDT)
| Newsgroups | gmane.comp.java.xdoclet-plugins |
|---|---|
| Message-ID | <[email protected]> |
--- Marcin ZajÄ czkowski <[email protected]> wrote: > Sure, thanks for point it out. > I added check if classTag is null and only then > classTag is fetched from > class. That works properly. You should iterate over getClassTags ( you like to catch all of them ;) ) - see how this is done with queries / columns . There is plenty of examples. > Btw, is there a simply way to add an empty line in > .hbm? Given that resulting xml is processed as DOM / sax events by jelly writers I see little chance to prettyprint it. But you can include comment inside. Usually nobody ever looks into hbm.xml except case of emergency or debugging plugin ;) ( that's puprose of this plugin ) > > Do not forget to add unit test to cover this > feature. > > I think this feature can be useful for others. This > weekend I will try > to download sources from CVS repository, add tests > and put patches into > JIRA. Yes, of course. Contributions / patches / maven gurus are always welcome. There is never enough manpower - and most of us also have to do daily jobs (some of them are hapy - like me - that I can sell my work on xdoclet to my customers) 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 ____________________________________________________________________________________ Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A. http://answers.yahoo.com/dir/?link=list&sid=396545367 ------------------------------------------------------------------------- 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