@ -15,6 +15,7 @@ import com.fr.design.i18n.Toolkit;
import com.fr.design.mainframe.DesignerContext ;
import com.fr.design.mainframe.DesignerContext ;
import com.fr.general.ComparatorUtils ;
import com.fr.general.ComparatorUtils ;
import com.fr.log.FineLoggerFactory ;
import com.fr.log.FineLoggerFactory ;
import com.fr.workspace.server.entity.connection.ConnectionBean ;
import com.fr.workspace.server.repository.connection.ConnectionRepository ;
import com.fr.workspace.server.repository.connection.ConnectionRepository ;
import javax.swing.Icon ;
import javax.swing.Icon ;
@ -194,7 +195,7 @@ public final class MultiResultTableDataWrapper implements TableDataWrapper {
if ( tableData instanceof StoreProcedure ) {
if ( tableData instanceof StoreProcedure ) {
try {
try {
connectionBar . start ( ) ;
connectionBar . start ( ) ;
ConnectionRepository . getInstance ( ) . testConnection ( ConnectionInfoBeanHelper . createConnectionInfo Bean( ( ( StoreProcedure ) getTableData ( ) ) . getDatabaseConnection ( ) ) ) ;
ConnectionRepository . getInstance ( ) . testConnection ( new Connection Bean( ( ( StoreProcedure ) getTableData ( ) ) . getDatabaseConnection ( ) ) ) ;
} catch ( Exception e ) {
} catch ( Exception e ) {
FineLoggerFactory . getLogger ( ) . error ( e . getMessage ( ) , e ) ;
FineLoggerFactory . getLogger ( ) . error ( e . getMessage ( ) , e ) ;
throw new Exception ( Toolkit . i18nText ( "Fine-Design_Basic_Database_Connection_Failed" ) ) ;
throw new Exception ( Toolkit . i18nText ( "Fine-Design_Basic_Database_Connection_Failed" ) ) ;