plugins.rawSQL.flushAllClientsCache not working in servoy 8

Questions and answers on developing, deploying and using plugins and JavaBeans

plugins.rawSQL.flushAllClientsCache not working in servoy 8

Postby aliqazi01 » Thu Oct 08, 2015 12:07 pm

Hi all,

plugins.rawSQL.flushAllClientsCache method is not working on servoy 8. showing strange behaviour when trying to flush the clients just dont return any thing and jump out of the method do not give any errors as well.

Regards,

Ali
aliqazi01
 
Posts: 14
Joined: Mon Nov 04, 2013 7:35 am

Re: plugins.rawSQL.flushAllClientsCache not working in servo

Postby aliqazi01 » Mon Oct 12, 2015 8:02 am

can anyone verify this. if this is at my end or plugin issue on servoy 8?
aliqazi01
 
Posts: 14
Joined: Mon Nov 04, 2013 7:35 am

Re: plugins.rawSQL.flushAllClientsCache not working in servo

Postby jcompagner » Mon Oct 19, 2015 11:21 am

this method should work exactly the same as in Servoy 7
That code shouldn't any different between them

You are sure that you get an exception somehow?
So if you do

plugins.rawSQL.flushAllClientsCache()

and then the next line:
application.output("called")

then that is not called?

Do you have a global error handler on your solution? That is swalloing this exception?

Also what happens if you try/catch that flush call?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8837
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: plugins.rawSQL.flushAllClientsCache not working in servo

Postby aliqazi01 » Tue Oct 20, 2015 5:18 am

Hi Johan,

yes i was printing the output just after flushAllClientsCache() but the application.output("called") is never called. i have made a sample solution but it shows the same behaviour. i have added the sample solution for servoy 8.

Regards

Ali Qazi
Attachments
sample.servoy
attached is the sample of servoy 8 solution
(3.54 KiB) Downloaded 246 times
aliqazi01
 
Posts: 14
Joined: Mon Nov 04, 2013 7:35 am

Re: plugins.rawSQL.flushAllClientsCache not working in servo

Postby aliqazi01 » Thu Oct 29, 2015 7:48 am

aliqazi01
 
Posts: 14
Joined: Mon Nov 04, 2013 7:35 am


Return to Plugins and Beans

Who is online

Users browsing this forum: No registered users and 4 guests