Author: max.andersen(a)jboss.com
Date: 2007-10-26 02:40:57 -0400 (Fri, 26 Oct 2007)
New Revision: 4531
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/DynamicSQLPreviewView.java
Log:
remove SQL/DML # from dynamic sql preview
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/DynamicSQLPreviewView.java
===================================================================
---
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/DynamicSQLPreviewView.java 2007-10-26
05:49:46 UTC (rev 4530)
+++
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/DynamicSQLPreviewView.java 2007-10-26
06:40:57 UTC (rev 4531)
@@ -177,7 +177,7 @@
for (int i = 0; i < translators.length; i++) {
QueryTranslator translator = translators[i];
if(translator.isManipulationStatement()) {
- str.append("DML #" + i + " tables: ");
+ str.append(i + ":");
Iterator iterator = translator.getQuerySpaces().iterator();
while ( iterator.hasNext() ) {
Object qspace = iterator.next();
@@ -187,7 +187,7 @@
} else {
Type[] returnTypes = translator.getReturnTypes();
- str.append("SQL #" + i + " types: ");
+ str.append(i +": ");
for (int j = 0; j < returnTypes.length; j++) {
Type returnType = returnTypes[j];
str.append(returnType.getName());
Show replies by date