ODAC 6.90.0.60 - Direct mode and unicode with plain sql
Posted: Mon 25 Oct 2010 13:53
Hello,
we have the following problem. We use ODAC in direct mode and use plain sql queries like "SELECT * FROM MyTable WHERE Name = 'My name is 兔子'"
We like to have unicode charcters in that query. If we use parameters, everything is fine, but with plain sql the resultset is allways empty.
With other tools (sqldeveloper) it works fine.
As a database we use oracle 11g with unicode charset ("AL32UTF8"). The Tables have fields of type "nvarchar2".
Our development environment is Delphi 2009 with ODAC 6.90.0.60. TOraSession.Options.UseUnicode is "True".
Is there anything we can do in ODAC configuration or is there another solution for this problem?
With best regards
Jörg Antoni
we have the following problem. We use ODAC in direct mode and use plain sql queries like "SELECT * FROM MyTable WHERE Name = 'My name is 兔子'"
We like to have unicode charcters in that query. If we use parameters, everything is fine, but with plain sql the resultset is allways empty.
With other tools (sqldeveloper) it works fine.
As a database we use oracle 11g with unicode charset ("AL32UTF8"). The Tables have fields of type "nvarchar2".
Our development environment is Delphi 2009 with ODAC 6.90.0.60. TOraSession.Options.UseUnicode is "True".
Is there anything we can do in ODAC configuration or is there another solution for this problem?
With best regards
Jörg Antoni