Ado, Unicode, Oracle troubles



Hello, All!

I am implementing now Unicode support in a application, working both on
MS-Sql & Oracle 9 trough ADO.
On (MsSql +Ado) all works fine, on (Oracle + Oracle Direct Access (Odac))
all works fine, but on (Oracle+Ado) there is a lot of trouble.

Delphi 6, Oracle 9 server.

1) I cannot setup (after study manuals & search whole Internet) unicode
support for Oracle 9 client Ole Db Provider.
Only Oracle 10 client works right.
Solution:just use Oracle 10 client

2) TAdoQuery.Parameters.Refresh & TAdoStoredProc.Parameters.Refresh doesn't
return right parameter type on Oracle. They only clear Parameters
collection.
Solution: just use creating parameters manually.

3) I can't change TParameter.DataType in TAdoQuery to ftWideString. It is
ftFixedChar after assignment.

4) I cannot use parameters in WHERE clause (by Oracle Ole DB Provider
Manual).
I can't also use N` literals in AdoDataset.CommandText
Solution: just use UNISTR function with AdoDataset.CommandText

5) Simple form with DBGrid - Datasource - AdoDataset
AdoDataset.CommandText:= 'select * from some_table'
some_table - table with primary key.
All works fine, when I change any field value, except fields with NVARCHAR2
type.
When I change fields with NVARCHAR2 type, I get exception "Row cannot be
located for updating. Some values may have been changed since it was last
read"
Solution: I have no idea, how to fix this bug.

Has anyone ever had same problems?
Could you give me any advice, what to do?

With best regards, Serg Soorskih. E-mail: very_big_serg_cutcut@xxxxxxx

.



Relevant Pages

  • Oracle Provider with Unicode support
    ... Hello I need a .NET provider for Oracle with Unicode support. ... to view Asian characters) ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: DBD Oracle 1.20 ORA-24334 Error
    ... On the premise instant client and also tried to run perl Makefile.PL -V ... the status after having connected to Oracle ... Failed 2/33 tests, 93.94% okay ...
    (perl.dbi.users)
  • Re: DBD-Oracle 1.19 with Oracle Instant Client 10.2.0.3 on Debian Etch wont install
    ... Currently all my Oracle inst client files are user oracle group oinstall yet lib bin and other dirs have 755 permission so root should be able to access and execute these softlibs. ... As I have written, I have installed DBD::Oracle-1.19 many times with a full client without problem, yet with the limited instant client it does not find the mk file, and the one mk file that the instant client installs does not work. ... It also gives me a makefile for DBD::Oracle but install and test fail ...
    (perl.dbi.users)
  • Re: ORATCL help needed!
    ... set cursor ... Wow, An Oratcl 3.3. ... It is coded with the the OCI layer released with Oracle ... Oracle instant client is available for many many platforms, ...
    (comp.lang.tcl)
  • Re: ORATCL help needed!
    ... set cursor ... It is coded with the the OCI layer released with Oracle ... Oracle instant client is available for many many platforms, ... Did you compile Oratcl 3.3 for yourself. ...
    (comp.lang.tcl)