|
|
@ -6,6 +6,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; |
|
|
@ -185,6 +186,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; |
|
|
|
} |
|
|
|
} |
|
|
|