// SQL: hasJava (false), m_language(""), m_defaultproc (false), m_statements.m_items."SQL"
// JAVA: hasJava (true, m_language ("JAVA"), m_defaultproc (false)
if (proc.getDefaultproc()) {
return;
}
ProcedureAnnotation annot = (ProcedureAnnotation) proc.getAnnotation();
if (!proc.getHasjava()) {
// SQL Statement procedure
sb.append("CREATE PROCEDURE " + proc.getClassname() + roleNames + "\n" + spacer + "AS\n");
String sqlStmt = proc.getStatements().get("SQL").getSqltext();
if (sqlStmt.endsWith(";")) {