private SourceBean executeQuery(String lovProvider, SourceBean response, IEngUserProfile profile) throws Exception {
logger.debug("IN");
SourceBean result = null;
logger.debug("lovProvider="+lovProvider);
QueryDetail qd = QueryDetail.fromXML(lovProvider);
/*
if (qd.requireProfileAttributes()) {
String message = PortletUtilities.getMessage("scheduler.noProfileAttributesSupported",
"component_scheduler_messages");
response.setAttribute(SpagoBIConstants.MESSAGE_INFO, message);
return result;
}
*/
valColName = qd.getValueColumnName();
visibleColNames = qd.getVisibleColumnNames();
logger.debug("valColName="+valColName);
descriptionColName = qd.getDescriptionColumnName();
logger.debug("descriptionColName="+descriptionColName);
String datasource = qd.getDataSource();
String statement = qd.getQueryDefinition();
try {
statement = StringUtilities.substituteProfileAttributesInString(statement, profile);
result = (SourceBean) executeSelect(getRequestContainer(), getResponseContainer(), datasource, statement);
} catch (Exception e) {