MySQL Adapter Capabilities

The MySQL Adapter enables you to integrate the MySQL database residing behind the firewall of your on-premises environment with Oracle Integration through use of the on-premises connectivity agent. Use the MySQL Adapter to poll for new and updated records for processing in Oracle Integration. For example, any new record added to the Employee table in your MySQL database can be synchronized with Oracle HCM Cloud using Oracle Integration. In addition, use the MySQL Adapter to execute SQL queries or stored procedures in the MySQL database. For example, quotes in Oracle CPQ Cloud can be created as Orders in the on-premises MySQL database by sending SQL statements or stored procedures using the MySQL Adapter.

The MySQL Adapter provides the following capabilities:

  • Support for invocation of stored procedures in the MySQL database.

  • Support for execution of DML statements and SQL queries: Select, Insert, Update, and Delete.

    Select the Run a SQL Statement option on the Basic Info page of the Adapter Endpoint Configuration Wizard to execute simple SQL queries. For complex SQL queries, use stored procedures by selecting the Invoke a Stored Procedure option on the Basic Info page of the Adapter Endpoint Configuration Wizard. Stored procedures can reduce the complexity of a SQL query.

  • Support for generating XSD from PureSQL. This feature generates an XSD from a PureSQL statement provided by dynamically querying on the table.

  • Support for polling new and updated records for processing in the MySQL database. The MySQL Adapter supports distributed polling. Distributed polling helps eliminate duplicate polling of the same records.

  • Support for performing a SELECT operation against database tables.

  • Support for bulk data import and extract by choosing the SELECT operation from the Perform an Operation On a Table list on the Basic Info page.

  • Support for a logical delete polling strategy. This strategy involves updating a special field on each row once it is processed.

  • Support for processing message payloads up to 10 MB in size. In the case of polling, you must set the Rejected Value property to REJECTED on the Polling Strategy and Options page. If the incoming message is greater than the 10 MB threshold size, that particular record is updated to REJECTED instead of READ. If the outbound operation returns a response greater than the 10 MB threshold size, the response message is ignored and a fault response is sent to the calling client.

    Note:

    In Java, Unicode characters are represented as 2 bytes.

The MySQL Adapter is one of many predefined adapters included with Oracle Integration. You can configure the MySQL Adapter as an invoke connection in an integration in Oracle Integration.

Supported Data Types for SQL Stored Procedures

The MySQL Adapter supports the following data types for SQL stored procedures.

SQL Data Type XML Schema Type

BINARY

BLOB

LONGBLOB

MEDIUMBLOB

TINYBLOB

VARBINARY

base64Binary
BOOLEAN boolean

CHAR

LONGTEXT

MEDIUMTEXT

TEXT

TINYTEXT

VARCHAR

string

DATE

DATETIME

TIMESTAMP

dateTime

DECIMAL

NUMERIC

REAL

decimal
DOUBLE double
FLOAT float
TINYINT byte
TINYINT UNSIGNED unsigned_byte
SMALLINT short
SMALLINT UNSIGNED unsigned_short

INTEGER

INT

MEDIUMINT

int

INTEGER UNSIGNED

INT UNSIGNED

MEDIUMINT UNSIGNED

unsigned_int
BIGINT long
BIGINT UNSIGNED unsigned_long