On Fri, Feb 8, 2013, at 11:47, Thijs Engels wrote:
>
> Is it correct to assume this would be related to SQLAlchemy?
>
I forgot to mention that a raw insert using cx_Oracle directly is fine
for both Python 2.7 and 3.3.
-----
import cx_Oracle
connection = cx_Oracle.Connection("scott/tiger@localhost:1521/xe")
cursor = connection.cursor()
cursor.prepare("INSERT INTO users (id, name, extra) VALUES (:id, :name,
:extra)")
cursor.execute(None, {'extra': 2013, 'id': 2, 'name': 'Ed Jones'})
connection.commit()
-----
Thijs
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sqlalchemy?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.