DB Monitor not working on XE4 with ODAC 9.0

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
avgustin
Posts: 8
Joined: Mon 20 Aug 2012 09:32

DB Monitor not working on XE4 with ODAC 9.0

Post by avgustin » Wed 24 Jul 2013 14:03

I have an application written with Delphi XE3. Now I had successfully migrated this application into Delphi XE4. While DB Monitor was working ok on XE3, it does not work any more on XE4. I do not get any event at all in monitor. On the other hand, if I use event OnSql on TOraSQLMonitor component, I receive messages in Text variable. I had also try to use different component options, but with no success.

What possible can be wrong here?

DemetrionQ
Devart Team
Posts: 271
Joined: Wed 23 Jan 2013 11:21

Re: DB Monitor not working on XE4 with ODAC 9.0

Post by DemetrionQ » Wed 24 Jul 2013 15:16

Hello.

To solve the issue, you should turn the moDBMonitor option on (in TOraSQLMonitor.Options). In the next build we will return the old behavior - this option will be turned on by default.

avgustin
Posts: 8
Joined: Mon 20 Aug 2012 09:32

Re: DB Monitor not working on XE4 with ODAC 9.0

Post by avgustin » Fri 26 Jul 2013 06:09

I already have turned this option on. I had also tried to use different other options, but no success.

http://picpaste.com/MonitorOptions-NKORb4wd.jpg
Image

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

Re: DB Monitor not working on XE4 with ODAC 9.0

Post by AlexP » Fri 26 Jul 2013 09:15

Hello,

For the time being, the moDBMonitor option should be set at run-time:

OraSQLMonitor1.Options := OraSQLMonitor1.Options + [moDBMonitor];

This problem will be fixed in the next version.

avgustin
Posts: 8
Joined: Mon 20 Aug 2012 09:32

Re: DB Monitor not working on XE4 with ODAC 9.0

Post by avgustin » Fri 26 Jul 2013 09:23

That solves the problem.
Thank you for your support!

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

Re: DB Monitor not working on XE4 with ODAC 9.0

Post by AlexP » Fri 26 Jul 2013 09:37

Hello,

Glad to see that the problem was solved. If you have any other questions, feel free to contact us.

Post Reply