Looking at the latest source on how to implement it, I found it had already been implemented by oneovthafew and is in 1.2b3... I had not seen it because it is not documented yet in the main web site...
So, thanks to oneovthafew, no feature request and no patch. :) Benoit -----Original Message----- From: Konstantin Priblouda [mailto:[EMAIL PROTECTED] Sent: 13 June 2003 12:40 To: [EMAIL PROTECTED] Subject: Re: [Xdoclet-user] Hibernate and explicit polymorphism - Lightweight classes --- Benoit Voisin <[EMAIL PROTECTED]> wrote: > Hi all, > > I am using XDoclet to generate my Hibernate hbm.xml > files. It works > perfectly (thanks for the great job to all implied), > except with Lightweight > classes ( http://hibernate.bluemars.net/41.html > <http://hibernate.bluemars.net/41.html> ). > > To correctly use Lightweight classes, you need to > add { > polymorphism="explicit" } to your HeavyClass.hbm.xml > (otherwize Hibernate > will always load the Heavy when you only asked for > the Light...). IE : > <class name="Customer" table="customers" > polymorphism="explicit"> ... > > My question, how do I add this attribute using > XDoclet since the > @hibernate.class does not support an polymorphism > attribute ? > > Should I write a feature request (and eventually > implement a patch for it), > or is there an easier way ? you shall enter feature request in JIRA. If you already have patch - upload it also regards, ===== ----[ Konstantin Pribluda ( ko5tik ) ]---------------- Zu Verst�rkung meines Teams suche ich ab Sofort einen Softwareentwickler[In] f�r die Festanstellung. Arbeitsort: Mainz Skills: Programieren, Kentnisse in OpenSource-Bereich ----[ http://www.pribluda.de ]------------------------ __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
