All Products
Search
Document Center

Data Transmission Service:Perform static application transformation

Last Updated:Mar 28, 2026

When migrating from Oracle, Db2, or Teradata to a cloud database, application code that embeds SQL statements may break due to syntax differences between the source and destination databases. Static application transformation uses ADAM to scan your static code, automatically rewrite SQL statements it can handle, and provide transformation suggestions for the rest—so you can identify and resolve compatibility issues before cutover.

How it works

The transformation workflow follows these steps:

  1. Create a transformation project and upload your application code files.

  2. ADAM scans the code, extracts SQL statements, and runs its built-in analysis program. This takes 1 to 10 minutes.

  3. Review the results: each SQL statement is classified as Not Required, Automatic, Manual, or SQL Unrecognized.

  4. For Automatic transformations: replace the original code blocks with the transformed versions in your application.

  5. For Manual transformations: review ADAM's transformation suggestions and update the code blocks yourself.

Prerequisites

Before you begin, ensure that you have:

  • A source database of type Oracle, Db2, or Teradata

Note

Automatic transformation is only supported when the destination database is a PolarDB for PostgreSQL (Compatible with Oracle) cluster. For ApsaraDB RDS for MySQL instances, AnalyticDB for PostgreSQL databases, and PolarDB-X instances, ADAM provides transformation suggestions but does not perform automatic transformation.

Create a transformation project

  1. Log on to the Data Management (DMS) console V5.0.

  2. In the top navigation bar, move the pointer over Data + AI. Choose Heterogeneous Database Migration(ADAM) > Application Evaluation and Transformation.

  3. Click the Transform Applications tab.

  4. Click Create Transformation Project.

  5. In the Create Transformation Project panel, set the following parameters, click Upload to upload your data files, then click Create.

    ParameterDescription
    Source Database TypeThe type of your source database: Oracle, Db2, or Teradata
    Destination Database TypeThe target database platform
    Destination Database VersionThe version of the destination database
    ArchitectureThe architecture type of your application

ADAM starts the built-in analysis program automatically after you create the project. The analysis takes 1 to 10 minutes to complete.

View transformation details

After the analysis completes, review the results to plan your next steps.

  1. Log on to the Data Management (DMS) console V5.0.

  2. In the top navigation bar, move the pointer over Data + AI. Choose Heterogeneous Database Migration(ADAM) > Application Evaluation and Transformation.

  3. Click the Transform Applications tab.

  4. Find the transformation project and click Details in the Actions column.

  5. Review the following sections: Project Summary — Displays the basic information of the transformation project. Transformation Overview — Displays the transformation type and method for each code block, along with statistics by SQL type. Transform Applications — Click Details in the Actions column to view the transformation details for individual code blocks.

    • Transformation types:

      TypeDescriptionNext step
      Not RequiredThese code blocks run in the destination database without any transformation.No action needed.
      AutomaticADAM transformed these code blocks.Replace the original code blocks with the transformed versions in your application.
      ManualThese code blocks cannot be transformed automatically. ADAM provides transformation suggestions.Review the suggestions and update the code blocks manually.
      SQL UnrecognizedADAM could not identify these SQL statements—either the SQL is invalid or the code block runs in a special way.Review and transform these code blocks manually.
    • Statistics by SQL type:

      SQL typeDescription
      selectNumber of SELECT code blocks
      insertNumber of INSERT code blocks
      updateNumber of UPDATE code blocks
      procedureNumber of stored procedure code blocks
      deleteNumber of DELETE code blocks
      statementNumber of code blocks executed by statements