// Process the named stored procedure query annotations.
// Look for a @NamedPLSQLStoredProcedureQueries.
MetadataAnnotation namedPLSQLStoredProcedureQueries = getAnnotation(NamedPLSQLStoredProcedureQueries.class);
if (namedPLSQLStoredProcedureQueries != null) {
for (Object namedPLSQLStoredProcedureQuery : (Object[]) namedPLSQLStoredProcedureQueries.getAttribute("value")) {
getProject().addQuery(new NamedPLSQLStoredProcedureQueryMetadata((MetadataAnnotation) namedPLSQLStoredProcedureQuery, this));
}
}
// Look for a @NamedPLSQLStoredProcedureQuery.
MetadataAnnotation namedPLSQLStoredProcedureQuery = getAnnotation(NamedPLSQLStoredProcedureQuery.class);
if (namedPLSQLStoredProcedureQuery != null) {
getProject().addQuery(new NamedPLSQLStoredProcedureQueryMetadata(namedPLSQLStoredProcedureQuery, this));
}
// Functions
// Process the XML named queries first.