cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos Dias" <cd...@pontoc.pt>
Subject Re: Sql type for request parameter with multiple values
Date Tue, 13 Apr 2004 18:26:34 GMT
Thanks Christopher for the answer, but how can I convert the parameter
enumeration to an array inside the sitemap?!
Can I use the RequestParamAction action?!

Thanks in advance,
Carlos Dias

----- Original Message -----
From: "Christopher Painter-Wakefield" <paint007@mc.duke.edu>
To: <users@cocoon.apache.org>
Sent: Wednesday, April 07, 2004 8:03 PM
Subject: Re: Sql type for request parameter with multiple values


>
>
>
>
> I think you'll have to convert the request parameter enumeration to an
> array, and then you should be able to use jdbc's setArray()
> (<esql:parameter type="array">...).  But I've never tried this, so YMMV.
>
> -Christopher
>
>
>
>
> |---------+---------------------------->
> |         |           "Carlos Dias"    |
> |         |           <cdias@pontoc.pt>|
> |         |                            |
> |         |           04/07/2004 01:07 |
> |         |           PM               |
> |         |           Please respond to|
> |         |           users            |
> |         |                            |
> |---------+---------------------------->
>
>---------------------------------------------------------------------------
-----------------------------------|
>   |
|
>   |       To:       <users@cocoon.apache.org>
|
>   |       cc:
|
>   |       Subject:  Sql type for request parameter with multiple values
|
>
>---------------------------------------------------------------------------
-----------------------------------|
>
>
>
>
> Hi,
> Here is my problem:
> I want to pass a request parameter to an SQL Statement, but my problem is
> that this parameter contains more that one value.
> I want to know what is the sql type to use (the database is Oracle) in
this
> case. Can I use the ARRAY type?!
>
> Thanks in advance,
> Carlos Dias
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message