Re: EOModeler and SQL expressions

Ricardo Strausz <[email protected]> Fri, 25 Apr 2003 15:31:21 -0600
Newsgroups gmane.comp.web.webobjects.eof
Message-ID <[email protected]>
I think that, what you nead is the following:
when you create the RawSQLExpresion, you use an String; create such a 
string from an NSString using stringWithFormat() and put the parameters 
in such a construction.

Hope it help!


On jueves, abri 24, 2003, at 13:11 America/Mexico_City, Ing.Gaston 
Blanco wrote:

> Is there anyway to make a FetchSpecification using
> "Raw SQL Expression" in EOModeler and give arguments to the SQL that 
> are filled in runtime like it is done when creating an 
> FetchSpecification using the Qualifier Tab??
>
> I want something like this
>
> Select * from ENTITY_TABLE
> where name = $parameter
>
> But this doent work, how can i give  aparameter to the sql??
>
> thanks
>
>
>
> Ing. Gaston Blanco
> __________________________________________________
>
> Todavía no tenés tu Ciudad Internet Mail? Obtenelo ahora! - 
> http://webmail.ciudad.com.ar
>
> Descargá Gratis el nuevo Internet Explorer 6.0, el mejor software para 
> actualizar tu PC.
> http://www.ciudad.com.ar/ar/servicios/ie/
>
> _______________________________________________
> EOF mailing list
> [email protected]
> http://www.omnigroup.com/mailman/listinfo/eof