Setting catalog, schema and uppercase name helps for me. I use Hibernate Tools 3.1.0.beta3 as Eclipse 3.1 plugins and MS SQLServer.
Table FAHRZEUGE does not have a primary key. To get a simple id element in the mapping file i set it in hibernate.reveng.xml file:
Code:
<?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>
<type-mapping>
<sql-type jdbc-type="NUMERIC" hibernate-type="java.lang.Long"
precision="18" />
</type-mapping>
<table-filter match-catalog="DBFLEET_DEV" match-schema="dbo"
match-name="FAHRZEUGE" />
<table-filter match-catalog="DBFLEET_DEV" match-schema="dbo"
match-name="tankkarten" />
<table-filter match-catalog="DBFLEET_DEV" match-schema="dbo"
match-name="fahrzeug_status" />
<table catalog="DBFLEET_DEV" schema="dbo" name="FAHRZEUGE">
<primary-key>
<column name="FAHRZEUG_ID" property="fahrzeugId" type="long"/>
</primary-key>
</table>
</hibernate-reverse-engineering>