Re: HibernateDoclet: problem generating mapping for 'table per class' hierarchy
Konstantin Priblouda <[email protected]> Mon, 20 Nov 2006 11:12:28 -0800 (PST)
| Newsgroups | gmane.comp.java.xdoclet.user |
|---|---|
| Message-ID | <[email protected]> |
--- Marco Mistroni <[email protected]> wrote: > hi all, > i am using xdoclet plugin (1.2) for maven2. > i have two classes where one extends the other > > i am trying to generate mapping files for 'table per > class' hierarchy ... > and below are my sample classes > I'm not really in in XD1 syntax/templates anymore, but I think you should not specify table in subclass at all, if you like it to reside in the same table. You may also choose to use XD2 plugin for m2 - here you find working example of table-per-subclass mapping together with invocation: http://jtec.svn.sourceforge.net/viewvc/jtec/jtec-user/trunk/ 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 ____________________________________________________________________________________ Sponsored Link Mortgage rates near 39yr lows. $310k for $999/mo. Calculate new payment! www.LowerMyBills.com/lre ------------------------------------------------------------------------- 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