|
|
@ -255,6 +255,9 @@ public class JDBCDefPane extends JPanel { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public JDBCDatabaseConnection update() { |
|
|
|
public JDBCDatabaseConnection update() { |
|
|
|
|
|
|
|
if (jdbcDatabase == null) { |
|
|
|
|
|
|
|
jdbcDatabase = new JDBCDatabaseConnection(); |
|
|
|
|
|
|
|
} |
|
|
|
Object driveItem = this.driverComboBox.getSelectedItem(); |
|
|
|
Object driveItem = this.driverComboBox.getSelectedItem(); |
|
|
|
jdbcDatabase.setDriver(driveItem == null ? null : driveItem.toString()); |
|
|
|
jdbcDatabase.setDriver(driveItem == null ? null : driveItem.toString()); |
|
|
|
jdbcDatabase.setURL(this.urlTextField.getText().trim()); |
|
|
|
jdbcDatabase.setURL(this.urlTextField.getText().trim()); |
|
|
|