Author: tejones
Date: 2010-10-14 11:18:55 -0400 (Thu, 14 Oct 2010)
New Revision: 2650
Modified:
branches/7.1.x/console/src/main/java/org/teiid/rhq/admin/DQPManagementView.java
Log:
TEIID-982: Fix ClassCastException when building mat view results
Modified: branches/7.1.x/console/src/main/java/org/teiid/rhq/admin/DQPManagementView.java
===================================================================
---
branches/7.1.x/console/src/main/java/org/teiid/rhq/admin/DQPManagementView.java 2010-10-14
15:17:20 UTC (rev 2649)
+++
branches/7.1.x/console/src/main/java/org/teiid/rhq/admin/DQPManagementView.java 2010-10-14
15:18:55 UTC (rev 2650)
@@ -69,7 +69,7 @@
private static final MetaValueFactory metaValueFactory = MetaValueFactory
.getInstance();
- private static final String VDB_EXT = ".vdb";
+ private static final String VDB_EXT = ".vdb"; //$NON-NLS-1$
public DQPManagementView() {
}
@@ -330,7 +330,6 @@
operationResult.setContent(createReportResultListForMatViewQuery(
fieldNameList, sqlResultsObject.iterator()));
} else if (operationName.equals(VDB.Operations.RELOAD_MATVIEW)) {
- List<String> fieldNameList = operationResult.getFieldNameList();
MetaValue resultsMetaValue = reloadMaterializedView(connection,
formatVdbName(vdbName), Integer.parseInt(vdbVersion),
(String) valueMap.get(Operation.Value.MATVIEW_SCHEMA),
@@ -865,7 +864,7 @@
// Iterate through rows
while (objectIter.hasNext()) {
- ArrayList<String> columnValues = (ArrayList<String>) objectIter
+ ArrayList<Object> columnValues = (ArrayList<Object>) objectIter
.next();
Class cls = null;
Show replies by date