// Process the named stored procedure query annotations.
// Look for a @NamedStoredFunctionQueries.
MetadataAnnotation namedStoredFunctionQueries = getAnnotation(NamedStoredFunctionQueries.class);
if (namedStoredFunctionQueries != null) {
for (Object namedStoredFunctionQuery : (Object[]) namedStoredFunctionQueries.getAttribute("value")) {
getProject().addQuery(new NamedStoredFunctionQueryMetadata((MetadataAnnotation)namedStoredFunctionQuery, this));
}
}
// Look for a @NamedStoredFunctionQuery.
MetadataAnnotation namedStoredFunctionQuery = getAnnotation(NamedStoredFunctionQuery.class);
if (namedStoredFunctionQuery != null) {
getProject().addQuery(new NamedStoredFunctionQueryMetadata(namedStoredFunctionQuery, this));
}
// PLSQL
// Process the XML named queries first.
for (NamedPLSQLStoredProcedureQueryMetadata namedPLSQLStoredProcedureQuery : m_namedPLSQLStoredProcedureQueries) {