23.10.2012 Views

Openedge Data Management: SQL Reference - Product ...

Openedge Data Management: SQL Reference - Product ...

Openedge Data Management: SQL Reference - Product ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Supported data types<br />

JDBC Conformance Notes<br />

This section details the <strong>Data</strong>Direct JDBC driver’s support for the JDBC standard. Information<br />

presented in this section includes:<br />

• Supported data types<br />

• Return values for <strong>Data</strong>baseMeta<strong>Data</strong><br />

The <strong>Data</strong> Direct JDBC Driver supports standard JDBC mapping of JDBC data types to<br />

corresponding Java data types.<br />

In the JDBC methods CallableStatement.getXXX and PreparedStatement.setXXX methods,<br />

XXX is a Java type:<br />

• For setXXX methods, the driver converts the Java data type to the JDBC data type shown<br />

in Table 59 before sending it to the database.<br />

Table 59 provides details on data type mapping between Java and JDBC data types.<br />

Table 59: Mapping between Java and JDBC data types (1 of 2)<br />

Boolean<br />

Byte<br />

byte [ ]<br />

byte [ ]<br />

Java data type JDBC data type<br />

BIT<br />

TINYINT<br />

LONGVARBINARY<br />

VARBINARY

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!