Author: vyemialyanchyk
Date: 2010-12-08 11:15:32 -0500 (Wed, 08 Dec 2010)
New Revision: 27237
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/model/impl/ExporterFactory.java
Log:
https://jira.jboss.org/browse/JBIDE-7817 - fixed
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/model/impl/ExporterFactory.java
===================================================================
---
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/model/impl/ExporterFactory.java 2010-12-08
15:54:27 UTC (rev 27236)
+++
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/model/impl/ExporterFactory.java 2010-12-08
16:15:32 UTC (rev 27237)
@@ -294,7 +294,7 @@
if (getExporterDefinitionId().equals("org.hibernate.tools.query")) {
//$NON-NLS-1$
QueryExporter queryExporter = (QueryExporter) exporter;
List<String> queryStrings = new ArrayList<String>();
- queryStrings.add(extract.getProperty(ExporterFactoryStrings.QUERY_STRING));
+ queryStrings.add(extract.getProperty(ExporterFactoryStrings.QUERY_STRING,
"")); //$NON-NLS-1$
queryExporter.setQueries(queryStrings);
queryExporter.setFilename(extract.getProperty(ExporterFactoryStrings.OUTPUTFILENAME));
}