Page 1 of 1
DB Monitor not working on XE4 with ODAC 9.0
Posted: Wed 24 Jul 2013 14:03
by avgustin
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?
Re: DB Monitor not working on XE4 with ODAC 9.0
Posted: Wed 24 Jul 2013 15:16
by DemetrionQ
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.
Re: DB Monitor not working on XE4 with ODAC 9.0
Posted: Fri 26 Jul 2013 06:09
by avgustin
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

Re: DB Monitor not working on XE4 with ODAC 9.0
Posted: Fri 26 Jul 2013 09:15
by AlexP
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.
Re: DB Monitor not working on XE4 with ODAC 9.0
Posted: Fri 26 Jul 2013 09:23
by avgustin
That solves the problem.
Thank you for your support!
Re: DB Monitor not working on XE4 with ODAC 9.0
Posted: Fri 26 Jul 2013 09:37
by AlexP
Hello,
Glad to see that the problem was solved. If you have any other questions, feel free to contact us.