[rules-users] Parameterized Queries?

Ronald R. DiFrango ron.difrango at gmail.com
Mon Oct 29 14:56:07 EDT 2007


Great Thanks Edson!  I will look into it, my problem @ this point is we are
1 week or so out from production so switching out the libraries at this
point is risky.

On 10/29/07, Edson Tirelli <tirelli at post.com> wrote:
>
>
>     Ronald
>
>     I think it was available before, but we fixed some important bugs on
> this and other areas in the minor releases, so I really advise you to use
> 4.0.3.
>
>     []s
>     Edson
>
>
> 2007/10/29, Ronald R. DiFrango <ron.difrango at gmail.com>:
> >
> > All,
> >
> > I saw this and this is exactly what I am looking for.  I wanted to
> > confirm though, that is this ability for "Parameterized Queries" only
> > available in 4.0.2 and above or is it available in 4.0.0?
> >
> > Thanks,
> >
> > Ron
> >
> > On 9/5/07, Robert Crawford < crawford at kloognome.com> wrote:
> > >
> > >
> > > On Sep 5, 2007, at 2:19 PM, Edson Tirelli wrote:
> > >
> > > >
> > > >    I think Mark just updated documentation for that and it will be
> > > > included in 4.0.2.
> > > >    Meanwhile:
> > > >
> > > > query "find errors for site"( int $param1, String $param2, ...)
> > > >     validationError: ValidationError( this.siteId == $param1)
> > > > end
> > > >
> > > >    Parameter type is optional, and you can have as many parameters
> > > > as you need.
> > >
> > > Thanks! That worked perfectly!
> > >
> > >
> > >
> > > _______________________________________________
> > > rules-users mailing list
> > > rules-users at lists.jboss.org
> > > https://lists.jboss.org/mailman/listinfo/rules-users
> > >
> >
> >
> > _______________________________________________
> > rules-users mailing list
> > rules-users at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/rules-users
> >
> >
>
>
> --
>   Edson Tirelli
>   Software Engineer - JBoss Rules Core Developer
>   Office: +55 11 3529-6000
>   Mobile: +55 11 9287-5646
>   JBoss, a division of Red Hat @ www.jboss.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20071029/b770ce8b/attachment.html 


More information about the rules-users mailing list