Opening connection for the filter.

12 views
Skip to first unread message

Josh Kamau

unread,
May 10, 2015, 7:48:34 AM5/10/15
to acti...@googlegroups.com
Hi;

I am getting this err in my SecurityFilter :

there is no connection 'default' on this thread, are you sure you opened it?

My filter has some ActiveJDBC code.

Is there a way of opening connections for the filter as there is for Controllers? Or i will just have to do it 'Manually' 

Thanks

Josh Kamau

unread,
May 10, 2015, 10:31:55 AM5/10/15
to acti...@googlegroups.com
This statement in the docs answered my question 
"Filters before() methods are executed in the same order as filters are registered."

I put the DBConnectionFilter before my filter. 

Josh

Igor Polevoy

unread,
May 10, 2015, 12:35:29 PM5/10/15
to acti...@googlegroups.com
exactly, I was about to mention that 
Reply all
Reply to author
Forward
0 new messages