Am 05.02.2011 19:02, schrieb Paul McNett:
> On 2/5/11 9:50 AM, John Fabiani wrote:
>> I don't know but can't the "pyformat" be used or maybe the "named".
>> Actually, I don't really see the need - DAPI 2.0 allows all sorts of ways to
>> pass parameters - so where's the issue?  Do we need one and only one
>> paramstyle?
>
> The issue is when moving a Dabo app from one backend to another. If you've 
> been using
> ? as your paramstyle for one backend and then someone wants to run the same 
> app on a
> backend that uses %s, you are in trouble.
>
> Note this is only an issue if *you* have written parameterized SQL, like with 
> UserSQL
> for example. Dabo's use of parameters wouldn't be affected by a switch of 
> backends.
>

True, but if you don't always want to get complete tables into your 
bizobj you'd normally need parameterized SQL. The select pages of 
AppWizard applications should contain lots of it (can't find the place 
ATM). And this might be distributed all over the application, not 
concentrated in bizobj methods.

Greetings,
Sibylle

_______________________________________________
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/4d4d9971.2040...@t-online.de

Reply via email to