MongoDB V2 Connector > Upgrading to MongoDB V2 Connector > Connection switching example
  

Connection switching example

You want to upgrade your existing MongoDB mapping that uses the MongoDB connection to the MongoDB V2 connection.
    1Open the existing MongoDB mapping that you want to upgrade to MongoDB V2.
    The following image shows an existing mapping that uses the MongoDB connection and contains the configured advanced properties in the Source transformation:
    The connection type used is MongoDB connection.
    2In the Mapping Designer, click Switch to Advanced.
    3In the Switch to Advanced dialog box, click Switch to Advanced.
    The Switch to Advanced option allows you to create a copy of the mapping in advanced mode.
    4To switch the connection, in the Connection field, change the connection from MongoDB to MongoDB V2.
    Select the MongoDB v2 source type.
    5In the Change Connection dialog box, click Yes to switch the connection.
    This dialog box allows you to confirm to switch the connection.
    6In the switched connection, reselect the object path.
    The following image shows the switched connection:
    The connection is switched to MongoDB v2 type.
    7Save the mapping.