Supported Data Types
Supported data types depend on the capabilities of the Oracle JDBC driver. Some PL/SQL parameter types cannot be handled through JDBC and are therefore not supported by the Connector Builder. All supported types can be combined freely in a single procedure or function signature.
Character Data Types
| VARCHAR2 | java.lang.String |
| NVARCHAR2 | |
| CHAR | |
| NCHAR | |
| CLOB | |
| NCLOB | |
| LONG |
Numeric Data Types
| NUMBER | Supported: the Java type is selected via the Numeric Conversion Model. |
| FLOAT | |
| BINARY_INTEGER | |
| BINARY_FLOAT | |
| BINARY_DOUBLE |
Date and Timestamp Data Types
| DATE | Supported: the Java type is selected via the Date Conversion Model. |
| TIMESTAMP | Supported: the Java type is selected via the Timestamp Conversion Model. |
| Supported: java.time.ZonedDateTime. Requires Java 8+ and the Oracle JDBC 21c driver. Works with older Oracle Database versions as well. | |
| Not supported | |
| Not supported |
Binary Data Types
| LONG | byte[] |
| RAW | |
| BLOB | |
| BFILE | Not supported |
ROWID Data Types
| ROWID | Not supported |
| UROWID | Not supported |
PL/SQL Data Types
| Not supported | |
| Supported: mapped to a transfer object. | |
| Supported: element type must be NUMBER or VARCHAR2. | |
| Supported as an OUT parameter. The cursor is converted to a Java List of transfer objects. Each row can be mapped to scalar fields or to a record-based transfer object. | |
| Not supported: the element type cannot be determined reliably and would degrade to List<Object>. Use a typed REF CURSOR instead. |
Object Data Types
| Supported: mapped to a transfer object. | |
| Supported: mapped to a Java List of scalar values or transfer objects. |
Special Data Types
| XMLTYPE | Supported: org.w3c.dom.Document |
| SDO_GEOMETRY | Not supported: generator support was removed because the required Oracle SDO Java libraries are not officially distributed. |
| %ROWTYPE | Not supported: removed because it is not supported by the Oracle 19c JDBC driver and is generally discouraged as a design pattern. |