Oracle

    支持的版本

    如何创建 Oracle Load 节点

    1. -- MySQL Extract 节点
    2. CREATE TABLE `mysql_extract_table`(
    3. `id` BIGINT,
    4. `name` STRING,
    5. `age` INT
    6. ) WITH (
    7. 'connector' = 'mysql-cdc-inlong',
    8. 'url' = 'jdbc:mysql://localhost:3306/read',
    9. 'password' = 'inlong',
    10. 'table-name' = 'user'
    11. )
    12. -- Oracle Load 节点
    13. CREATE TABLE `oracle_load_table`(
    14. `id` BIGINT,
    15. `name` STRING,
    16. `age` INT
    17. 'connector' = 'jdbc-inlong',
    18. 'url' = 'jdbc:oracle:thin://host:port/database/',
    19. 'username' = 'inlong',
    20. 'password' = 'inlong',
    21. 'table-name' = 'public.user'
    22. )
    23. -- 写数据到 Oracle
    24. INSERT INTO oracle_load_table

    数据类型映射