Interstage Shunsaku Data Manager Application Development Guide - Microsoft(R) Windows(R) 2000/ Microsoft(R) Windows Server(TM) 2003 - - UNIX - |
Contents
Index
![]() ![]() |
Part 3 Other Application Developments | > Chapter 12 XML Conversion Function |
The column data in the results table is expressed using SQL. The SQL types are defined using java.sql.Types.
If the SQL types in the results table are not supported by the XML conversion function, the XML conversion function will report an exception during the conversion process.
The following table shows SQL types in the results table that can be used with the XML conversion function.
SQL type in results table |
Description |
Compatibility |
---|---|---|
ARRAY |
Array object |
- |
BIGINT |
64-bit integer |
|
BINARY (*1) |
Fixed-length binary |
|
BIT |
1-bit integer |
|
BLOB (*1) |
Large binary |
|
CHAR |
Fixed-length character string |
|
CLOB |
Large character string |
|
DATE |
Date |
|
DECIMAL |
Decimal |
|
DISTINCT |
User-defined type |
- |
DOUBLE |
Double precision floating-point number |
|
FLOAT |
Double precision floating-point number |
|
INTEGER |
32-bit integer |
|
JAVA_OBJECT |
Java-specific object |
- |
LONGVARBINARY (*1) |
Variable-length binary |
|
LONGVARCHAR |
Variable-length character string |
|
NULL |
Null |
- |
NUMERIC |
Decimal |
|
OTHER |
Undefined type |
- |
REAL |
Single precision floating-point number |
|
REF |
OID container |
- |
SMALLINT |
16-bit integer |
|
STRUCT |
Structure object |
- |
TIME |
Time |
|
TIMESTAMP |
Date and time |
|
TINYINT |
8-bit integer |
|
VARBINARY (*1) |
Variable-length binary |
|
VARCHAR |
Variable-length character string |
|
: Represents data types supported
- : Represents data types not supported
*1) binary data
The following table shows the correspondence between the SQL types that can be extracted to the results table and data types used in various databases.
SQL type that can be extracted to results table |
Data type in database |
||
---|---|---|---|
PostgreSQL |
Oracle |
SQL Server |
|
ARRAY |
- |
- |
- |
BIGINT |
int8 |
- |
bigint |
BINARY |
bytea |
- |
Binary, |
BIT |
bool |
- |
bit |
BLOB |
- |
BLOB |
- |
CHAR |
bpchar |
CHAR, |
Char, |
CLOB |
- |
CLOB, |
- |
DATE |
date |
DATE |
- |
DECIMAL |
- |
- |
Smallmoney, |
DISTINCT |
- |
- |
- |
DOUBLE |
float8, |
- |
- |
FLOAT |
float4 |
- |
- |
INTEGER |
int4, |
- |
int |
JAVA_OBJECT |
- |
- |
- |
LONGVARBINARY |
- |
LONG RAW |
image |
LONGVARCHAR |
- |
LONG |
Text, |
NULL |
- |
- |
- |
NUMERIC |
Numeric, |
NUMBER |
numeric |
OTHER |
- |
- |
- |
REAL |
- |
- |
Real, |
REF |
- |
- |
- |
SMALLINT |
int2 |
- |
smallint |
STRUCT |
- |
- |
- |
TIME |
time |
- |
- |
TIMESTAMP |
Timestamp, |
TIMESTAMP, |
Datetime, |
TINYINT |
- |
- |
tinyint |
VARBINARY |
- |
RAW |
varbinary |
VARCHAR |
Text, |
VARCHAR2, |
Varchar, |
- : Represents data types not supported
Contents
Index
![]() ![]() |