if no bean was generated with hbm2java, be sure that names of tables in reveng.xml matches names of database tables. table names are case sensitive at least with oracle database