Skip to content

Breaking change with cx_Oracle 7.0: DML RETURNING statements now return a list #405

Description

@BradJensen

With cx_Oracle 7.0, DML RETURNING statements now return a list instead of a scalar. I suspect all statements in Pony using RETURNING INTO are affected, but I specifically encountered entities with an auto generated PK fail in pony.orm.core._save_created_ at line 4943, raising TypeError: unhashable type: 'list'

See https://github.com/oracle/python-cx_Oracle/issues/224

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions