[jboss-cvs] jbosside/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console ...
Max Rydahl Andersen
mandersen at jboss.com
Sun Feb 25 06:33:05 EST 2007
User: mandersen
Date: 07/02/25 06:33:03
Modified: hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console
AbstractQueryEditor.java
Log:
HBX-892 hql/jpql statements lost when switching configurations in the HQL editor
Revision Changes Path
1.3 +1 -0 jbosside/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/AbstractQueryEditor.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: AbstractQueryEditor.java
===================================================================
RCS file: /cvsroot/jboss/jbosside/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/AbstractQueryEditor.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- AbstractQueryEditor.java 27 Oct 2006 13:35:25 -0000 1.2
+++ AbstractQueryEditor.java 25 Feb 2007 11:33:03 -0000 1.3
@@ -60,6 +60,7 @@
final public void setConsoleConfigurationName(String name) {
QueryEditorInput hei = (QueryEditorInput) getEditorInput();
hei.setConsoleConfigurationName( name );
+ hei.setQuery( getQueryString() );
hei.resetName();
showEditorInput( hei );
}
More information about the jboss-cvs-commits
mailing list