Author: max.andersen(a)jboss.com
Date: 2007-11-04 13:41:42 -0500 (Sun, 04 Nov 2007)
New Revision: 4690
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/DynamicSQLPreviewView.java
Log:
fixed wrong print
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-11-04
18:27:58 UTC (rev 4689)
+++
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/DynamicSQLPreviewView.java 2007-11-04
18:41:42 UTC (rev 4690)
@@ -177,7 +177,7 @@
for (int i = 0; i < translators.length; i++) {
QueryTranslator translator = translators[i];
if(translator.isManipulationStatement()) {
- str.append(i + ":");
+ str.append("Manipulation of " + i + ":");
Iterator iterator = translator.getQuerySpaces().iterator();
while ( iterator.hasNext() ) {
Object qspace = iterator.next();
@@ -187,7 +187,7 @@
} else {
Type[] returnTypes = translator.getReturnTypes();
- str.append("Manipulation of " + i +": ");
+ str.append(i +": ");
for (int j = 0; j < returnTypes.length; j++) {
Type returnType = returnTypes[j];
str.append(returnType.getName());
Show replies by date