On Sun, Apr 13, 2008 at 10:36 PM, Michael Bayer
<[EMAIL PROTECTED]> wrote:
>  So, the linked article above seems to present a much better way of
>  going about it, that oracle allows quoting of bind names.   It seems
>  like just adding the quoting to OracleCompiler.bindparam_string()
>  (which would override the same method in DefaultCompiler) could handle
>  this.
>
>  it is definitely the job of SA to produce DB-compliant SQL, and as far
>  as an immediate workaround for 0.4.5, implementing bindparam_string()
>  in oracle.py to just return '"%s"' % name is probably the easiest.

Cool, thanks. I'll try this out tomorrow morning (something along
return self.preparer.quote(None, name) may work).

>  ( we should add a trac ticket for this issue).

I'll file one once I found a workable solution, if you like.

-- 
Martijn Pieters

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to