My revenge file is pretty simple:
Code:
<hibernate-reverse-engineering>
<table-filter match-catalog="goFurther" match-schema="dbo" match-name=".*"/>
</hibernate-reverse-engineering>
Is it posible to do something along the lines of?:
Code:
<hibernate-reverse-engineering>
<table-filter match-catalog="goFurther" match-schema="dbo" match-name=".*"/>
<table catalog="goFurther" schema="dbo" name="*">
<primary-key>
<generator class="native" />
</primary-key>
<column name="id" />
<column name="version" property="version" type="integer" />
</table>
</hibernate-reverse-engineering>
basicaly I want a native PK generator, and id & version column mapped for all tables. Can I do this in one reveng tag or to I have to explicitly list all tables?