ORA errors

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
[email protected]

ORA errors

Post by [email protected] » Sun 20 Mar 2005 12:28

Hi!
Is there any way to centrilze ORA errors...I mean all the time SQL are executed so some notifications in a case of failure should be shown.
How to inmplement that (if I need to localize messages in my language)

Any help is apresciated...

BTW has anyone heard about ORA messages in local support (forinstance Croatian!?)

THX!
:!:

Paul
Posts: 725
Joined: Thu 28 Oct 2004 14:06

Post by Paul » Mon 21 Mar 2005 09:25

You can use TOraErrorHandler component to replace error message. Please see
MasterDetail demo project. You can change language of ORA messages using
NLS_LANG parameter in Oracle client. Please see Oracle documentation for
more information

funky_disco_freak

Post by funky_disco_freak » Tue 22 Mar 2005 08:51

THX for an answer, but is there any work that could be automated like some resorce file and then read values from there...

I mean has anyone done some localization using ODAC...I could reuse and translate written values...it should be much easy then make own file.

I know that this is not strongly ODAC issue but I'm just wondering aloud...


THX!

:?:

Post Reply