We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
SQLAlchemy has support for Oracle but our current test for _meta table and schema is not compatible.
_meta
oracle+cx_oracle://
First the test to check if schema exists leads to a crash because cx_oracle doesn't have the function has_table
cx_oracle
has_table
PeekabooAV/peekaboo/db.py
Line 422 in 18d0ac2
Secondly the auto_increment of primary keys needs to be realised by additional Sequences:
auto_increment
Sequences
from sqlalchemy.schema import Sequence ... id = Column(Integer, Sequence('id_sample'), primary_key=True) ... id = Column(Integer, Sequence('id_analysis'), primary_key=True)
https://docs.sqlalchemy.org/en/13/dialects/oracle.html#auto-increment-behavior
After that everything seems to working as expected.
The text was updated successfully, but these errors were encountered:
Jack28
No branches or pull requests
SQLAlchemy has support for Oracle but our current test for
_meta
table and schema is not compatible.oracle+cx_oracle://
First the test to check if schema exists leads to a crash because
cx_oracle
doesn't have the functionhas_table
PeekabooAV/peekaboo/db.py
Line 422 in 18d0ac2
Secondly the
auto_increment
of primary keys needs to be realised by additionalSequences
:https://docs.sqlalchemy.org/en/13/dialects/oracle.html#auto-increment-behavior
After that everything seems to working as expected.
The text was updated successfully, but these errors were encountered: