stefan,
To do this, you need to create a custom reveng.xml file in your project. Here is an example:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-reverse-engineering PUBLIC "-//Hibernate/Hibernate Reverse Engineering DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-reverse-engineering-3.0.dtd" >
<hibernate-reverse-engineering>
<table name="A" schema="SCHEMANAME">
<foreign-key constraint-name="FOREIGNKEYNAME">
<set exclude="true" />
</foreign-key>
</table>
</hibernate-reverse-engineering>
Please replace SCHEMANAME/FOREIGNKEYNAME with appropriate names corresponding to your tables. If you already have a hibernate.reveng.xml file, please merge the contents above with your existing file. If your existing file already has a <table> element referencing table A, you will need to add the <foreign-key> section to it.
On page 2 of the RE wizard, point the rev-eng settings file field to this file and click Finish.
Hope this helps.