You can either use the hibernate.reveng.xml file and specify the class name for each table individually. But it sounds like you want to create a class that extends the DelegatingReverseEngineeringStrategy and override the tableToClassName method. e.g.
Code:
package eg.reveng;
import org.hibernate.cfg.reveng.DelegatingReverseEngineeringStrategy;
import org.hibernate.cfg.reveng.ReverseEngineeringStrategy;
import org.hibernate.cfg.reveng.TableIdentifier;
public class Test extends DelegatingReverseEngineeringStrategy {
public Test(ReverseEngineeringStrategy delegate) {
super(delegate);
}
@Override
public String tableToClassName(TableIdentifier tableIdentifier) {
return super.tableToClassName(tableIdentifier) + "Base";
}
}