It's a piece of cake: superclasses="true" in forAllMethods/forAllFields.

Ara. 

> -----Original Message-----
> From: [EMAIL PROTECTED]
[mailto:hibernate-devel-
> [EMAIL PROTECTED] On Behalf Of Gavin King
> Sent: Thursday, December 26, 2002 10:28 AM
> To: Pablo I. Lalloni
> Cc: [EMAIL PROTECTED]
> Subject: RE: [Hibernate] Hibernate XDoclet task
> 
> 
> This is a known limitation of the current Hibernate XDoclet
> module. Now, I think XDoclet can support remote methods defined
> on superclasses in its ejb module, so it must be possible to
> add support for persistent properties defined on superclasses
> to the Hibernate module.
> 
> Anyone know how to attack this problem?
> 
> > -----Original Message-----
> > From: Pablo I. Lalloni [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, 24 December 2002 3:53 PM
> > To: [EMAIL PROTECTED]
> > Subject: [Hibernate] Hibernate XDoclet task
> >
> >
> > Hola,
> >
> >    How do I map a superclass attribute using hibernate xdoclet task?
> >
> >    Say you have:
> >
> >    class X {
> >          private String _something;
> >          public String getSomething() {
> >                 return _something;
> >          }
> >          public void setSomething(String something) {
> >                 _something = something;
> >          }
> >    }
> >
> >    class Y extends X {
> >          private String _another;
> >          public String getAnother() {
> >                 return _another;
> >          }
> >          public void setAnother(String another) {
> >                 _another = another;
> >          }
> >
> >    }
> >
> >    And want to map class Y to a single table with fields for
> >    "something" and for "another"...
> >
> >    In Y.hbm.xml you would have:
> >
> >    <class name="Y">
> >           <property name="something"/>
> >           <property name="another"/>
> >    </class>
> >
> >    How do I generate that mapping with HibernateDoclet?
> >
> >    I this accomplishable?
> >
> > --
> > Saludos,
> >  Pablo                          mailto:[EMAIL PROTECTED]
> >
> > "The only thing that interferes with my learning is my
> > education." Albert Einstein
> >
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > hibernate-devel mailing list [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/hibernate-devel
> >
> 
> 
> ********** CAUTION - Disclaimer **********
> This message may contain privileged and confidential
> information. If you are not the intended recipient of this
> message (or responsible for delivery of the message to
> such person) you are hereby notified that any use,
> dissemination, distribution or reproduction of this message
> is prohibited. If you have received this message in error,
> you should destroy it and kindly notify the sender by reply
> e-mail. Please advise immediately if you or your employer
> do not consent to Internet e-mail for messages of this kind.
> Opinions, conclusions and other information in this
> message that do not relate to the official business of
> Expert Information Services Pty Ltd ("The Company")
> shall be understood as neither given nor endorsed by it.
> 
> The Company advises that this e-mail and any attached
> files should be scanned to detect viruses. The Company
> accepts no liability for loss or damage (whether caused
> by negligence or not) resulting from the use of any
> attached files.
> **EIS******** End of Disclaimer **********
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> hibernate-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/hibernate-devel



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to