Try to remove the '.' (dot) in the name of the parameter.
2009/4/27 Michal
>
> Thanks Fabio.. I guess you are right.
> Do you have a suggestion how I could change that in order to use HQL/
> Criteria?
>
>
> On Apr 27, 7:35 pm, Fabio Maulo wrote:
> > 2009/4/27
> >
> > > They do in my case cause
Thanks Fabio.. I guess you are right.
Do you have a suggestion how I could change that in order to use HQL/
Criteria?
On Apr 27, 7:35 pm, Fabio Maulo wrote:
> 2009/4/27
>
> > They do in my case cause i am using them in formula.
>
> I know that somebody write something with a trick where a para
2009/4/27
> They do in my case cause i am using them in formula.
I know that somebody write something with a trick where a parameter in
formula is set trough a filter but it is not a documented feature.
Filter can work only using HQL/Criteria.
--
Fabio Maulo
--~--~-~--~~-
They do in my case cause i am using them in formula.
eg
On Apr 27, 2009 11:20am, Germán Schuager wrote:
> I think that filters do not apply when you are getting an entity by id
> (get/load), just when you issue a query using HQL or criteria.
> On Mon, Apr 27, 2009 at 12:37 AM, Michal mga...@
I think that filters do not apply when you are getting an entity by id
(get/load), just when you issue a query using HQL or criteria.
On Mon, Apr 27, 2009 at 12:37 AM, Michal wrote:
>
> Thanks fabio for the quick reply.
>
> Unfortunately this does not work. The filter stays with the same
> value
Thanks fabio for the quick reply.
Unfortunately this does not work. The filter stays with the same
value.
See my code. Thanks!:
ISessionFactory sf = new Configuration().Configure
().BuildSessionFactory();
ISession sess = sf.OpenSession();
sess.EnableFilter("C
disable->enable
2009/4/25 Michal
>
> Hi,
>
> I am using filters for my session and would like to reload the
> filter's param value. How to do that?
>
> I am setting the filter like that
>
> session.EnableFilter("name").SetParameter("param", 1)
>
> now i would like to change the value from 1 to 2