A fix is available
APAR status
Closed as program error.
Error description
When the remote Oracle column is of type DATE, it is mapped to UDB TIMESTAMP in the create nickname process. If we then alter this nickname column from TIMESTAMP to TIME, predicates such as WHERE time_col = '12:34:56' will fail to return any rows. This is because Oracle DATE columns also include the date portion in addition to the time portion.
Local fix
Enable the casting logic in the federated compiler if both of the following conditions are true: 1. The server attribute db2_enforce_local_time_type is set to 'Y'. 2. The local type is TIME and the default type mapping is TIMESTAMP.
Problem summary
ERROR DESCRIPTION: When the remote Oracle column is of type DATE, it is mapped to UDB TIMESTAMP in the create nickname process. If we then alter this nickname column from TIMESTAMP to TIME, predicates such as WHERE time_col = '12:34:56' will fail to return any rows. This is because Oracle DATE columns also include the date portion in addition to the time porti
Problem conclusion
Fist fixed in V8.2 FP15
Temporary fix
LOCAL FIX: Enable the casting logic in the federated compiler if both of the following conditions are true: 1. The server attribute db2_enforce_local_time_type is set to 'Y'. 2. The local type is TIME and the default type mapping is TIMESTAMP.
Comments
APAR Information
APAR number
IY92782
Reported component name
WS II ORACLE WR
Reported component ID
5724C7408
Reported release
820
Status
CLOSED PER
PE
NoPE
HIPER
YesHIPER
Special Attention
NoSpecatt
Submitted date
2006-12-13
Closed date
2007-08-15
Last modified date
2007-11-22
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
JR27715 JR27884
Fix information
Fixed component name
WS II ORACLE WR
Fixed component ID
5724C7408
Applicable component levels
R810 PSN
UP
R820 PSN
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS2K5T","label":"InfoSphere Federation Server"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"820","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
22 November 2007