@ -6,6 +6,7 @@ import com.fr.data.impl.ConnectionBean;
import com.fr.data.impl.JDBCDatabaseConnection ;
import com.fr.data.impl.JDBCDatabaseConnection ;
import com.fr.data.impl.JNDIDatabaseConnection ;
import com.fr.data.impl.JNDIDatabaseConnection ;
import com.fr.data.metric.utils.DatabaseConnectionMetricHandler ;
import com.fr.data.metric.utils.DatabaseConnectionMetricHandler ;
import com.fr.data.operator.DataOperator ;
import com.fr.design.ExtraDesignClassManager ;
import com.fr.design.ExtraDesignClassManager ;
import com.fr.design.data.MapCompareUtils ;
import com.fr.design.data.MapCompareUtils ;
import com.fr.design.dialog.BasicDialog ;
import com.fr.design.dialog.BasicDialog ;
@ -203,7 +204,7 @@ public class ConnectionListPane extends JListControlPane implements ConnectionSh
for ( ConnectionBean connectionBean : addedOrUpdatedConnections ) {
for ( ConnectionBean connectionBean : addedOrUpdatedConnections ) {
Connection connection = connectionBean . getConnection ( ) ;
Connection connection = connectionBean . getConnection ( ) ;
try {
try {
connection . validateSettings ( ) ;
DataOperator . getInstance ( ) . validateConnection Settings ( connection ) ;
} catch ( Exception e ) {
} catch ( Exception e ) {
throw new SQLException ( Toolkit . i18nText ( "Fine-Design_Basic_Database_Connection_Invalid_Config" , connectionBean . getName ( ) ) + ", " + e . getMessage ( ) , e . getCause ( ) ) ;
throw new SQLException ( Toolkit . i18nText ( "Fine-Design_Basic_Database_Connection_Invalid_Config" , connectionBean . getName ( ) ) + ", " + e . getMessage ( ) , e . getCause ( ) ) ;
}
}