[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2880) The interface Filter should have the method getParameter of FilterImpl

christophe blin (JIRA) noreply at atlassian.com
Fri Oct 5 11:41:38 EDT 2007


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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list