Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MS SQLServer support to JDBC device registry #2317

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jan 7, 2021

  1. Add support for MS SQLServer in JDBC Registry

    - include Microsoft SQLServer driver
    - port DDL scripts to SQLServer syntax
       - CREATE TABLE table_name IF NOT EXISTS ->
          IF OBJECT_ID('table_name', 'U') IS NULL
          CREATE TABLE table_name
       - BOOLEAN -> BIT
       - TEXT -> NTEXT (for unicode support)
       - TIMESTAMP -> DATETIME2
       - CHAR/VARCHAR -> NVARCHAR
          - support Unicode
       - char -> varchar to get rid of issues with trailing spaces
    - Implement upsert queries for MS SQLServer
      - using MERGE syntax,
        https://docs.microsoft.com/en-us/sql/t-sql/statements/merge-transact-sql
    - Test MS SQLServer with Testcontainers
    - Use code to accept MS SQL Server Docker image license
      - see https://www.testcontainers.org/modules/databases/mssqlserver/
        for more info
    
    Signed-off-by: Lari Hotari <[email protected]>
    lhotari committed Jan 7, 2021
    Configuration menu
    Copy the full SHA
    bd3c925 View commit details
    Browse the repository at this point in the history