String content = "Query q = getEntityManager().createQuery(\"SELECT o FROM \" + " + recordClassName + ".TABLE_CLASSNAME + \" o\");\n"
+ "return q.getResultList();\n";
myClass.addImport("java.util.List");
myClass.addMethod(Access.PUBLIC, "List<" + recordClassName + ">", "findAll", content);
}
<BUG>private void addSpringSupport(JavaMethod method) {

if (springSupport) {
method.addAnnotation("@org.springframework.transaction.annotation.Transactional");
</BUG>
}

String content = "Query q = getEntityManager().createQuery(\"SELECT o FROM \" + " + recordClassName + ".TABLE_CLASSNAME + \" o\");\n"
+ "return q.getResultList();\n";
myClass.addImport("java.util.List");
myClass.addMethod(Access.PUBLIC, "List<" + recordClassName + ">", "findAll", content);
