[sqlalchemy] Re: Problems Inserting into Oracle using Bind Variables from Turbo Gears Controller

2007-05-03 Thread shday
I'm getting this error even though I have convert_unicode = True and the proper NLS_LANG setting: SQLError: (NotSupportedError) Variable_TypeByValue(): unhandled data type unicode 'DELETE FROM model_acc_protocol WHERE model_acc_protocol.model_id = :model_id AND model_acc_protocol.acc_protocol_id

[sqlalchemy] Re: Problems Inserting into Oracle using Bind Variables from Turbo Gears Controller

2007-05-03 Thread Michael Bayer
On May 3, 2007, at 11:25 AM, shday wrote: I'm getting this error even though I have convert_unicode = True and the proper NLS_LANG setting: SQLError: (NotSupportedError) Variable_TypeByValue(): unhandled data type unicode 'DELETE FROM model_acc_protocol WHERE model_acc_protocol.model_id

[sqlalchemy] Re: Problems Inserting into Oracle using Bind Variables from Turbo Gears Controller

2007-05-03 Thread shday
The problem seems to be related to a backref I had. I found a way without using backref and now things work. With this I get a unicode error: acc_mapper =

[sqlalchemy] Re: Problems Inserting into Oracle using Bind Variables from Turbo Gears Controller

2007-05-03 Thread Michael Bayer
On May 3, 2007, at 2:41 PM, shday wrote: The problem seems to be related to a backref I had. I found a way without using backref and now things work. With this I get a unicode error: acc_mapper = mapper(ACCProtocolSpecies,acc_protocol_species_table,properties= {'models':relation