Jacek Kałucki wrote:
> Użytkownik Ed Leafe napisał:
>> On Feb 2, 2010, at 11:37 AM, Jacek Kałucki wrote:
>>
>>    
>>> I issue:
>>>      app.dbConnection.getBackendObject().dbapi.paramstyle = "format"
>>>
>>> I will try with debugger to find out reason.
>>>      
>>      You're getting into implementation details again. You should never dig 
>> down to the dbapi layer.
>>
>>    
> 
> Here is the working solution:
>      app.dbConnection.getBackendObject().paramPlaceholder = "?"
> 
> Is this accepted solution or I dug too deep again?
> And why it's not default for Firebird?

Why do you want to overwrite default dbapi values?
See:
u...@athlon28:~> python
Python 2.5.2 (r252:60911, Dec  1 2008, 17:47:46)
[GCC 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036]] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import kinterbasdb as dbapi
>>> dbapi.paramstyle
'qmark'
>>>

The default paramstyle for Firebird already is 'qmark'!
Changing the paramstyle is not supported by kinterbasdb.

Uwe

_______________________________________________
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/4b68660d.3040...@googlemail.com

Reply via email to