|
|
|
@ -451,8 +451,8 @@ public class JDBCDefPane extends JPanel {
|
|
|
|
|
jdbcDatabase.setPassword(new String(this.passwordTextField.getPassword()).trim()); |
|
|
|
|
jdbcDatabase.setOriginalCharsetName(this.originalCharSet); |
|
|
|
|
if (this.charSetComboBox.getSelectedIndex() == 0) { |
|
|
|
|
jdbcDatabase.setNewCharsetName(StringUtils.EMPTY); |
|
|
|
|
jdbcDatabase.setOriginalCharsetName(StringUtils.EMPTY); |
|
|
|
|
jdbcDatabase.setNewCharsetName(null); |
|
|
|
|
jdbcDatabase.setOriginalCharsetName(null); |
|
|
|
|
} else { |
|
|
|
|
jdbcDatabase.setNewCharsetName(EncodeConstants.ENCODING_GBK); |
|
|
|
|
jdbcDatabase.setOriginalCharsetName(((String) this.charSetComboBox.getSelectedItem())); |
|
|
|
|