Couldn't you just do:

"mytable.id = othertable.mytableid " +
 "AND othertable.recordtype = " +
 parameter

I mean it's a string construction you're doing anyway, couldn't you
just append to the string with the parameter?

Cheers,
 Tyler

P.S. Please not I haven't looked at the docs on what the joinOuter
method from RIFE specifically requires.

On 7/18/06, Steven Grimm <[EMAIL PROTECTED]> wrote:
Any thoughts on this one?

-Steve


Geert Bevin wrote:
>
> On 16 Jul 2006, at 07:41, Steven Grimm wrote:
>
>> Say I want to add an outer join to a select with a parameterized join
>> condition:
>>
>> select.joinOuter("othertable", Select.LEFT, Select.ON,
>>                   "mytable.id = othertable.mytableid " +
>>                   "AND othertable.recordtype = ?");
>>
>> How do I specify the value of the "?" there? Possible?
>>
>> -Steve
>> _______________________________________________
>> Rife-users mailing list
>> [email protected]
>> http://lists.uwyn.com/mailman/listinfo/rife-users
>>
>
> --
> Geert Bevin
> Uwyn "Use what you need" - http://uwyn.com
> RIFE Java application framework - http://rifers.org
> Music and words - http://gbevin.com
>
>
> _______________________________________________
> Rife-users mailing list
> [email protected]
> http://lists.uwyn.com/mailman/listinfo/rife-users
>

_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to