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