Forum Stats

  • 3,768,548 Users
  • 2,252,809 Discussions
  • 7,874,617 Comments

Discussions

Python and persistence to Oracle using SEQUENCE generators with primary keys?

ow001681
ow001681 Member Posts: 1
edited Sep 27, 2018 7:32AM in Python

LOOKING FOR AN EXAMPLE OF Python code that uses SQL Alchemy to persist to Oracle and do full CRUD using the Oracle-based SEQUENCE generator to automatically populate the primary key.  Included must be functionality that enables the Python code to get the generated primary key value back after a successful INSERT so the application can continue to use that PK in performing subsequent updates, etc.

Tagged:
This discussion has been closed.