With Oracle 10.2.0.2.0, the returned value of LPAD was treated in TD as a normal String.
With Oracle 10.2.0.4.0, the returned value of LPAD is treated in TD as a Long String.

Therefore all applications using LPAD, RPAD etc. in Select statements doesn't work anymore, because they are fetched into normal Strings.
I know one workaround were to cast the returned value of LPAD to VARCHAR2(254), e.g CAST( LPAD( 'A', 10, 'B' ) AS VARCHAR2(254) ), but then I had to change really a lot of Select statements.
Does anybody know a way to achieve that the oracle functions in 10.2.0.4.0 return the same datatype as in Oracle 10.2.0.2.0?
Or is there any setting or parameter on TD side to achive this?
We're using the native Oracle router.