Sqlalchemy-hana

Latest version: v2.0.0

Safety actively analyzes 621498 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

2.0.0

-----

Breaking Changes
~~~~~~~~~~~~~~~~
Reworked the ``sqlalchemy_hana.errors`` package so that it can be used inside a SQLAlchemy
``handle_error`` event hook. Therefore

- ``wrap_dbapi_error`` was removed
- ``wrap_hdbcli_error`` was removed
- ``HANAError`` now extends ``sqlalchemy.exc.DBAPIError``

1.4.0

-----

Features
~~~~~~~~
- Support ``Identity`` columns
- Support additional cases for ``StatementExecutionError``

1.3.0

-----

Features
~~~~~~~~
- Support ``InvalidObjectNameError`` in ``sqlalchemy_hana.errors``
- Add ``convert_dbapi_error`` to ``sqlalchemy_hana.errors``

Bugfixes
~~~~~~~~
- Fixed an issue causing the usage of ALPHANUM to result in an AttributeError

1.2.0

-----

Features
~~~~~~~~
- Support CREATE and DROP of views
- Add limited UPSERT support
- Add support for exception wrapping by replacing hdbcli errors with more detailed ones if possible

1.1.1

-----

Bugfixes
~~~~~~~~
- Fixed an issue causing the alembic dialect to render a ``RENAME`` table statement wrongly

1.1.0

-----

Features
~~~~~~~~
- The statement caching capabilities of SQLAlchemy are now supported
- Calculated/Computed columns are now officially supported
- The following SAP HANA types are now supported: ``SECONDDATE``, ``LONGDATE`` and ``ALPHANUM``
- The module ``sqlalchemy_hana.types`` defines now all SAP HANA native types
- All *camelcase* types of SQLAlchemy are now supported. If SAP HANA does not support it, a
similar type is used automatically
- sqlalchemy-hana will now expose the version information of the connected SAP HANA instance,
filling the dialect field ``server_version_info``

Bugfixes
~~~~~~~~
- During column reflection all types will expose their respective length, scale and precision

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.