public static void testJPAResourceClassGen() {
SQLData data = createSQLData();
JPAClassGenerator jpaClassGenerator = new JPAClassGenerator();
JPAClassModel model = jpaClassGenerator.createJPAClassModel(data);
JPAResourceClassGenerator jpaResourceClassGenerator = new JPAResourceClassGenerator();
jpaResourceClassGenerator.setExceptionClassName("AppCatalogException");
jpaResourceClassGenerator.setJpaUtilsClassName("AppCatalogJPAUtils");
jpaResourceClassGenerator.setResourceTypeClassName("AppCatalogResourceType");
jpaResourceClassGenerator.setQueryGeneratorClassName("AppCatalogQueryGenerator");
JPAResourceClassModel model2 = jpaResourceClassGenerator.createJPAResourceClassModel(model);
System.out.println(jpaResourceClassGenerator.generateJPAResourceClass(model2));
System.out.println(jpaResourceClassGenerator.generateAbstractResourceClassUpdates(model2));
System.out.println(jpaResourceClassGenerator.generateAppCatalogResourceTypeUpdates(model2));
System.out.println(jpaResourceClassGenerator.generateAppCatalogJPAUtilUpdates(model2));
}