Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ public List<DBPLObjectIdentity> listFunctions(String schemaName) {
sb.append(
"select ROUTINE_NAME as name, ROUTINE_SCHEMA as schema_name, ROUTINE_TYPE as type from `information_schema`.`routines` where ROUTINE_SCHEMA=");
sb.value(schemaName);
sb.append(" and ROUTINE_TYPE = 'FUNCTION';");
sb.append(" and ROUTINE_TYPE = 'FUNCTION' order by name asc;");

return jdbcOperations.query(sb.toString(), new BeanPropertyRowMapper<>(DBPLObjectIdentity.class));
}
Expand All @@ -379,7 +379,7 @@ public List<DBPLObjectIdentity> listProcedures(String schemaName) {
sb.append(
"select ROUTINE_NAME as name, ROUTINE_SCHEMA as schema_name, ROUTINE_TYPE as type from `information_schema`.`routines` where ROUTINE_SCHEMA=");
sb.value(schemaName);
sb.append(" and ROUTINE_TYPE = 'PROCEDURE';");
sb.append(" and ROUTINE_TYPE = 'PROCEDURE' order by name asc;");

return jdbcOperations.query(sb.toString(), new BeanPropertyRowMapper<>(DBPLObjectIdentity.class));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ public List<DBPLObjectIdentity> listFunctions(String schemaName) {
sb.append(
"select ROUTINE_NAME as name, ROUTINE_SCHEMA as schema_name, ROUTINE_TYPE as type from `information_schema`.`routines` where ROUTINE_SCHEMA=");
sb.value(schemaName);
sb.append(" and ROUTINE_TYPE = 'FUNCTION';");
sb.append(" and ROUTINE_TYPE = 'FUNCTION' order by name asc;");

return jdbcOperations.query(sb.toString(), new BeanPropertyRowMapper<>(DBPLObjectIdentity.class));
}
Expand All @@ -375,7 +375,7 @@ public List<DBPLObjectIdentity> listProcedures(String schemaName) {
sb.append(
"select ROUTINE_NAME as name, ROUTINE_SCHEMA as schema_name, ROUTINE_TYPE as type from `information_schema`.`routines` where ROUTINE_SCHEMA=");
sb.value(schemaName);
sb.append(" and ROUTINE_TYPE = 'PROCEDURE';");
sb.append(" and ROUTINE_TYPE = 'PROCEDURE' order by name asc;");

return jdbcOperations.query(sb.toString(), new BeanPropertyRowMapper<>(DBPLObjectIdentity.class));
}
Expand Down