The interface Filter should have the method getParameter of FilterImpl
----------------------------------------------------------------------
Key: HHH-2880
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2880
Project: Hibernate3
Issue Type: Improvement
Affects Versions: 3.2.1
Reporter: christophe blin
Priority: Minor
Today, we have to do :
Filter f = this.getSession().getEnabledFilter("myFilter");
String currentLocale = (String)
((FilterImpl)f).getParameter("currentLocale"); //here is an "horrible"
cast
this.getSession().disableFilter("myFilter");
/*do something in session without the filter*/
f = this.getSession().enableFilter("myFilter");
f.setParameter("currentLocale", currentLocale);
f.validate();
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira