Author: dgolovin
Date: 2009-09-25 01:49:39 -0400 (Fri, 25 Sep 2009)
New Revision: 17723
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/wizards/NewConfigurationWizardPage.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4917 Hibernate Configuration File (cfg.xml)
wizard doesn't initialize 'Driver Class' and 'Connection URL'
according to default value 'DB2' selected in "Database Dialect' field
fixed by removing
combo.select(0);
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/wizards/NewConfigurationWizardPage.java
===================================================================
---
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/wizards/NewConfigurationWizardPage.java 2009-09-25
01:20:03 UTC (rev 17722)
+++
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/wizards/NewConfigurationWizardPage.java 2009-09-25
05:49:39 UTC (rev 17723)
@@ -148,7 +148,6 @@
label.setText(HibernateConsoleMessages.NewConfigurationWizardPage_database_dialect);
dialectCombo = new Combo(container, SWT.NULL);
fillHerUp(dialectCombo, helper.getDialectNames() );
- dialectCombo.select(0);
gd = new GridData(GridData.FILL_HORIZONTAL);
gd.grabExcessHorizontalSpace = true;
dialectCombo.setLayoutData(gd);