Quantcast
Channel: SCN : All Content - SAP Applications on SAP Adaptive Server Enterprise (SAP ASE)
Viewing all articles
Browse latest Browse all 956

TDS_Capability packet difference between 12.5.4 and 15.7

$
0
0

(SAP Incident 914404 / 2014 )

 

Hello,

 

We migrated a 12.5.4 server to 15.7 but had to return to 12.5.4 because of different behaviour of the server.

 

We have a query that selects a char(4) column with content 'OK' using JConnect (jconn4).

In 12.5.4 the application gets 'OK' as value while when selecting form the 15.7 server, the application gets value 'OK  '.

This results in errors in the application.

 

My colleguae examined the trafic between client and server and found out that there is a difference in the TDS_CAPABILITY packet transfered between client and server.

 

In 15.7 bit 34 in the ValueMask is set to 1, while in 12.5.4 this bit is 0.

 

Bit 34 means :

#define

CS_RES_NOSTRIPBLANKS (CS_INT)34

 

Does anyone know about a traceflag to get the old behaviour ?

 

There is a 'new' jdbc-option, STRIP_BLANKS, that would strip trailing blanks, but, occording to the documentation, it  would also strip leading blanks. Some testing shows that this is not the case. We have to be sure that the documentation is wrong before turning this option on.

 

Thanks,

Luc.


Viewing all articles
Browse latest Browse all 956

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>