ORA-1036 in direct mode

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
a-s-z
Posts: 106
Joined: Wed 03 Dec 2008 06:01

ORA-1036 in direct mode

Post by a-s-z » Fri 27 Sep 2013 11:15

Hi,

we are getting ora-1036 in direct mode when trying to update a table that has column names containing e.g. '$'. DMLRefresh of Query is True. In OCI mode everything works without problems.

Expamle update statement generated by Odac:

Code: Select all

  update foo
  set bar = :bar
  where foo_id = :Old_foo_id
  returning
    foo_id, bar, ctx$uds
  into
    :foo_id, :bar, :ctx$uds
Best regards,
Andre

sinys
Posts: 186
Joined: Tue 21 Feb 2012 03:44

Re: ORA-1036 in direct mode

Post by sinys » Fri 27 Sep 2013 16:39

I have the same error ORA-01036: illegal variable name/number in OCI mode in OraSQL and it is not associated with the symbol "$".

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: ORA-1036 in direct mode

Post by AlexP » Mon 30 Sep 2013 14:09

Hello,

Thank you for the information. We have reproduced and fixed the problem. This fix will be included to the next version.

Post Reply