|
|
@ -7,6 +7,7 @@ import com.fr.data.impl.Connection; |
|
|
|
import com.fr.data.impl.ConnectionBean; |
|
|
|
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.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; |
|
|
@ -186,6 +187,9 @@ public class ConnectionListPane extends JListControlPane implements ConnectionSh |
|
|
|
case ADDED: |
|
|
|
case ADDED: |
|
|
|
case UPDATED: |
|
|
|
case UPDATED: |
|
|
|
addedOrUpdatedConnections.add(new ConnectionBean(s, StringUtils.EMPTY, connection)); |
|
|
|
addedOrUpdatedConnections.add(new ConnectionBean(s, StringUtils.EMPTY, connection)); |
|
|
|
|
|
|
|
if (connection instanceof JDBCDatabaseConnection){ |
|
|
|
|
|
|
|
DatabaseConnectionMetricHandler.handleSaveConnection((JDBCDatabaseConnection) connection, null); |
|
|
|
|
|
|
|
} |
|
|
|
default: |
|
|
|
default: |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|