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