| 
					
						 Hi,
 I am trying to reverse engineer a schema that has one table child with a primary key that is also a foreign key to another parent table. The generated classes and mapping don't use inheritance, only aggregation, i.e I get a Child class that has a method getParent() instead of extends Parent. I'd like to get inheritance but am not sure of what I need to configure to make this happen (if at all), and can't find any related info in the tools docs.
 Thanks in advance,
 Sebastien
 
 Schema:
 Parent table: Parent_Id primary key
 Child table: Parent_Id primary key and foreign key to Parent table
 
 Hibernate version: 3.0.5
 
 Hibernate version: 3.1
 
 Ant task:
 <target name="generate" depends="compile" description="generate hibernate files">
 <hibernatetool destdir="${src}">
 <jdbcconfiguration configurationfile="${src}/hibernate.cfg.xml" packagename="***" revengfile="${src}/hibernate.reveng.xml" reversestrategy="***.ConvertStrategy" />
 <hbm2java />
 <hbm2hbmxml />
 <hbm2cfgXml />
 </hibernatetool>
 </target>
 
 Reverse Engineering file:
 The file I have only use entries like
 <table-filter match-schema="LZDBOD" match-name="***"/>
 <table name="***"><column name="***" property="***" /> 
					
  
						
					 |