phoenix610
Member²
Hello.
It seems that the DOA treats both char and varchar2 data types as ftString type.
Why does not the DOA distinguish between char and varchar2 data types?
I think that in this case a problem will occur.
With updating records via the TDataSetProvider,
a string param of a SQLStatement generated automatically by a TSQLResolver alwayas is declared as DOA's otString type.
In this case, char columns is compared by a blank padding semantics, and so the end-user always have to input a char field value with padding blanks.Of course, it is possible for a filed value to be filled with blanks programtically.
the other driver as the Bolrand standard dbExpress driver distinguishes thease two data types and so the end-user can input a char field value without padding.
Is this the DOA specification?
Thanks.
It seems that the DOA treats both char and varchar2 data types as ftString type.
Why does not the DOA distinguish between char and varchar2 data types?
I think that in this case a problem will occur.
With updating records via the TDataSetProvider,
a string param of a SQLStatement generated automatically by a TSQLResolver alwayas is declared as DOA's otString type.
In this case, char columns is compared by a blank padding semantics, and so the end-user always have to input a char field value with padding blanks.Of course, it is possible for a filed value to be filled with blanks programtically.
the other driver as the Bolrand standard dbExpress driver distinguishes thease two data types and so the end-user can input a char field value without padding.
Is this the DOA specification?
Thanks.