private EntityType classModel;
@Before
public void setUp() {
NamingStrategy namingStrategy = new DefaultNamingStrategy();
String packageName = "com.myproject.domain";
String tableName = "vwServiceName";
String className = namingStrategy.getClassName(tableName);
Type classTypeModel = new SimpleType(TypeCategory.ENTITY, packageName + "." + className, packageName, className, false, false);
classModel = new EntityType(classTypeModel);
// classModel.addAnnotation(new TableImpl(namingStrategy.normalizeTableName(tableName)));
classModel.getData().put("table", namingStrategy.normalizeTableName(tableName));
}