Unidac Forcing to use WideString in D2009 instead of string
Posted: Wed 11 Mar 2009 15:36
Hello,
I have an application that we migrate to D2009, we use mysql and we converted the database to use UTF8 to have full unicode support.
However, for all our quires and virtual tables that they have persistent fields of type string we got this error:
Type mismatch for field 'MyField', expecting: String actual: WideString.
Shouldn't be string stay as string for D2009? migrating string type to wide string will slow down the performance of the application, so it seems it's a bug !!!
You can check that simple by make a connection (don't set the unicode property to true) then drop a query, double click on it , then right click and choose add all fields
Now convert the Unicode property of connection to true, now when u try to open the connection you got that error.
I have an application that we migrate to D2009, we use mysql and we converted the database to use UTF8 to have full unicode support.
However, for all our quires and virtual tables that they have persistent fields of type string we got this error:
Type mismatch for field 'MyField', expecting: String actual: WideString.
Shouldn't be string stay as string for D2009? migrating string type to wide string will slow down the performance of the application, so it seems it's a bug !!!
You can check that simple by make a connection (don't set the unicode property to true) then drop a query, double click on it , then right click and choose add all fields
Now convert the Unicode property of connection to true, now when u try to open the connection you got that error.