{"id":19053743,"url":"https://github.com/siddhi-io/siddhi-store-rdbms","last_synced_at":"2025-10-06T11:39:19.257Z","repository":{"id":41046291,"uuid":"75039553","full_name":"siddhi-io/siddhi-store-rdbms","owner":"siddhi-io","description":"Extension that can be used to perform DB operations with an RDBMS","archived":false,"fork":false,"pushed_at":"2025-03-12T03:48:12.000Z","size":5240,"stargazers_count":7,"open_issues_count":3,"forks_count":58,"subscribers_count":29,"default_branch":"master","last_synced_at":"2025-03-27T08:07:36.019Z","etag":null,"topics":["database","db","extension","h2","mssql","mysql","oracle","postgres","rdbms","siddhi","store","table"],"latest_commit_sha":null,"homepage":"https://siddhi-io.github.io/siddhi-store-rdbms/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/siddhi-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-29T03:31:50.000Z","updated_at":"2025-03-12T03:48:14.000Z","dependencies_parsed_at":"2024-01-17T11:52:52.035Z","dependency_job_id":"ca113520-b4de-4ce3-a826-df7de905ded1","html_url":"https://github.com/siddhi-io/siddhi-store-rdbms","commit_stats":null,"previous_names":["wso2-extensions/siddhi-eventtable-rdbms"],"tags_count":99,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siddhi-io%2Fsiddhi-store-rdbms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siddhi-io%2Fsiddhi-store-rdbms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siddhi-io%2Fsiddhi-store-rdbms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siddhi-io%2Fsiddhi-store-rdbms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/siddhi-io","download_url":"https://codeload.github.com/siddhi-io/siddhi-store-rdbms/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246970317,"owners_count":20862509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","db","extension","h2","mssql","mysql","oracle","postgres","rdbms","siddhi","store","table"],"created_at":"2024-11-08T23:33:51.101Z","updated_at":"2025-10-06T11:39:14.193Z","avatar_url":"https://github.com/siddhi-io.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Siddhi Store RDBMS\n===================\n\n  [![Jenkins Build Status](https://wso2.org/jenkins/job/siddhi/job/siddhi-store-rdbms/badge/icon)](https://wso2.org/jenkins/job/siddhi/job/siddhi-store-rdbms/)\n  [![GitHub Release](https://img.shields.io/github/release/siddhi-io/siddhi-store-rdbms.svg)](https://github.com/siddhi-io/siddhi-store-rdbms/releases)\n  [![GitHub Release Date](https://img.shields.io/github/release-date/siddhi-io/siddhi-store-rdbms.svg)](https://github.com/siddhi-io/siddhi-store-rdbms/releases)\n  [![GitHub Open Issues](https://img.shields.io/github/issues-raw/siddhi-io/siddhi-store-rdbms.svg)](https://github.com/siddhi-io/siddhi-store-rdbms/issues)\n  [![GitHub Last Commit](https://img.shields.io/github/last-commit/siddhi-io/siddhi-store-rdbms.svg)](https://github.com/siddhi-io/siddhi-store-rdbms/commits/master)\n  [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\nThe **siddhi-store-rdbms extension** is an extension to \u003ca target=\"_blank\" href=\"https://wso2.github.io/siddhi\"\u003eSiddhi\u003c/a\u003e that persist and retrieve events to/from RDBMS databases such as MySQL, MS SQL, PostgreSQL, H2 and Oracle.\n\nFor information on \u003ca target=\"_blank\" href=\"https://siddhi.io/\"\u003eSiddhi\u003c/a\u003e and it's features refer \u003ca target=\"_blank\" href=\"https://siddhi.io/redirect/docs.html\"\u003eSiddhi Documentation\u003c/a\u003e. \n\n## Download\n\n* Versions 7.x \u0026 6.x and above with group id `io.siddhi.extension.*` from \u003ca target=\"_blank\" href=\"https://mvnrepository.com/artifact/io.siddhi.extension.store.rdbms/siddhi-store-rdbms/\"\u003ehere\u003c/a\u003e.\n* Versions 5.x and lower with group id `org.wso2.extension.siddhi.*` from \u003ca target=\"_blank\" href=\"https://mvnrepository.com/artifact/org.wso2.extension.siddhi.store.rdbms/siddhi-store-rdbms\"\u003ehere\u003c/a\u003e.\n\n## Latest API Docs \n\nLatest API Docs is \u003ca target=\"_blank\" href=\"https://siddhi-io.github.io/siddhi-store-rdbms/api/7.0.19\"\u003e7.0.19\u003c/a\u003e.\n\n## Features\n\n* \u003ca target=\"_blank\" href=\"https://siddhi-io.github.io/siddhi-store-rdbms/api/7.0.19/#cud-stream-processor\"\u003ecud\u003c/a\u003e *(\u003ca target=\"_blank\" href=\"http://siddhi.io/en/v5.1/docs/query-guide/#stream-processor\"\u003eStream Processor\u003c/a\u003e)*\u003cbr\u003e \u003cdiv style=\"padding-left: 1em;\"\u003e\u003cp\u003e\u003cp style=\"word-wrap: break-word;margin: 0;\"\u003eThis function performs SQL CUD (INSERT, UPDATE, DELETE) queries on data sources. \u003cbr\u003eNote: This function to work data sources should be set at the Siddhi Manager level.\u003cbr\u003e\u003c/p\u003e\u003c/p\u003e\u003c/div\u003e\n* \u003ca target=\"_blank\" href=\"https://siddhi-io.github.io/siddhi-store-rdbms/api/7.0.19/#procedure-stream-processor\"\u003eprocedure\u003c/a\u003e *(\u003ca target=\"_blank\" href=\"http://siddhi.io/en/v5.1/docs/query-guide/#stream-processor\"\u003eStream Processor\u003c/a\u003e)*\u003cbr\u003e \u003cdiv style=\"padding-left: 1em;\"\u003e\u003cp\u003e\u003cp style=\"word-wrap: break-word;margin: 0;\"\u003eThis function execute stored procedure and retrieve data to siddhi  . \u003cbr\u003eNote: This function to work data sources should be set at the Siddhi Manager level.\u003c/p\u003e\u003c/p\u003e\u003c/div\u003e\n* \u003ca target=\"_blank\" href=\"https://siddhi-io.github.io/siddhi-store-rdbms/api/7.0.19/#query-stream-processor\"\u003equery\u003c/a\u003e *(\u003ca target=\"_blank\" href=\"http://siddhi.io/en/v5.1/docs/query-guide/#stream-processor\"\u003eStream Processor\u003c/a\u003e)*\u003cbr\u003e \u003cdiv style=\"padding-left: 1em;\"\u003e\u003cp\u003e\u003cp style=\"word-wrap: break-word;margin: 0;\"\u003eThis function performs SQL retrieval queries on data sources. \u003cbr\u003eNote: This function to work data sources should be set at the Siddhi Manager level.\u003c/p\u003e\u003c/p\u003e\u003c/div\u003e\n* \u003ca target=\"_blank\" href=\"https://siddhi-io.github.io/siddhi-store-rdbms/api/7.0.19/#rdbms-store\"\u003erdbms\u003c/a\u003e *(\u003ca target=\"_blank\" href=\"http://siddhi.io/en/v5.1/docs/query-guide/#store\"\u003eStore\u003c/a\u003e)*\u003cbr\u003e \u003cdiv style=\"padding-left: 1em;\"\u003e\u003cp\u003e\u003cp style=\"word-wrap: break-word;margin: 0;\"\u003eThis extension assigns data sources and connection instructions to event tables. It also implements read-write operations on connected data sources. A new improvement is added when running with SI / SI Tooling 1.1.0 or higher product pack, where an external configuration file can be provided to read supported RDBMS databases. Prerequisites - Configuration file needed to be added to [Product_Home]/conf/siddhi/rdbms path with the configuration file name as rdbms-table-config.xml , \u0026lt;database name=”[Database_Name]”\u0026gt; for each database name should be the equivalent database product name returned from java sql Connection.getMetaData().getDatabaseProductName() as shown in API documentation  https://docs.oracle.com/javase/7/docs/api/java/sql/DatabaseMetaData.html#getDatabaseProductName()).Sample Configuration for one of the databases can be as follows,\u0026lt;?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?\u0026gt;\u003cbr\u003e\u0026lt;rdbms-table-configuration\u0026gt;\u003cbr\u003e\u0026lt;database name=\"Teradata\"\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;tableCreateQuery\u0026gt;CREATE TABLE {{TABLE_NAME}} ({{COLUMNS, PRIMARY_KEYS}})\u0026lt;/tableCreateQuery\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;tableCheckQuery\u0026gt;SELECT 1 FROM {{TABLE_NAME}} SAMPLE 1\u0026lt;/tableCheckQuery\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;indexCreateQuery\u0026gt;CREATE INDEX {{TABLE_NAME}}_INDEX_{{INDEX_NUM}} ({{INDEX_COLUMNS}}) ON {{TABLE_NAME}}\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;/indexCreateQuery\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;recordExistsQuery\u0026gt;SELECT 1 FROM {{TABLE_NAME}} {{CONDITION}} SAMPLE 1\u0026lt;/recordExistsQuery\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;recordSelectQuery\u0026gt;SELECT * FROM {{TABLE_NAME}} {{CONDITION}}\u0026lt;/recordSelectQuery\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;recordInsertQuery\u0026gt;INSERT INTO {{TABLE_NAME}} ({{COLUMNS}}) VALUES ({{Q}})\u0026lt;/recordInsertQuery\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;recordUpdateQuery\u0026gt;UPDATE {{TABLE_NAME}} SET {{COLUMNS_AND_VALUES}} {{CONDITION}}\u0026lt;/recordUpdateQuery\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;recordDeleteQuery\u0026gt;DELETE FROM {{TABLE_NAME}} {{CONDITION}}\u0026lt;/recordDeleteQuery\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;recordContainsCondition\u0026gt;({{COLUMNS}} LIKE {{VALUES}})\u0026lt;/recordContainsCondition\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;selectQueryTemplate\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;selectClause\u0026gt;SELECT {{SELECTORS}} FROM {{TABLE_NAME}}\u0026lt;/selectClause\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;selectQueryWithSubSelect\u0026gt;SELECT {{SELECTORS}} FROM {{TABLE_NAME}}, ( {{INNER_QUERY}} ) AS t2\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;/selectQueryWithSubSelect\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;whereClause\u0026gt;WHERE {{CONDITION}}\u0026lt;/whereClause\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;groupByClause\u0026gt;GROUP BY {{COLUMNS}}\u0026lt;/groupByClause\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;havingClause\u0026gt;HAVING {{CONDITION}}\u0026lt;/havingClause\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;orderByClause\u0026gt;ORDER BY {{COLUMNS}}\u0026lt;/orderByClause\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;limitClause\u0026gt;SAMPLE {{Q}}\u0026lt;/limitClause\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;/selectQueryTemplate\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;stringSize\u0026gt;254\u0026lt;/stringSize\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;batchEnable\u0026gt;true\u0026lt;/batchEnable\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;batchSize\u0026gt;1000\u0026lt;/batchSize\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;typeMapping\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;binaryType\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;typeName\u0026gt;BLOB\u0026lt;/typeName\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;typeValue\u0026gt;2004\u0026lt;/typeValue\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;/binaryType\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;booleanType\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;typeName\u0026gt;SMALLINT\u0026lt;/typeName\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;typeValue\u0026gt;5\u0026lt;/typeValue\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;/booleanType\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;doubleType\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;typeName\u0026gt;FLOAT\u0026lt;/typeName\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;typeValue\u0026gt;8\u0026lt;/typeValue\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;/doubleType\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;floatType\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;typeName\u0026gt;FLOAT\u0026lt;/typeName\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;typeValue\u0026gt;6\u0026lt;/typeValue\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;/floatType\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;integerType\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;typeName\u0026gt;INTEGER\u0026lt;/typeName\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;typeValue\u0026gt;4\u0026lt;/typeValue\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;/integerType\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;longType\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;typeName\u0026gt;BIGINT\u0026lt;/typeName\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;typeValue\u0026gt;-5\u0026lt;/typeValue\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;/longType\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;stringType\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;typeName\u0026gt;VARCHAR\u0026lt;/typeName\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;typeValue\u0026gt;12\u0026lt;/typeValue\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;/stringType\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;/typeMapping\u0026gt;\u003cbr\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026lt;/database\u0026gt;\u003cbr\u003e\u0026lt;/rdbms-table-configuration\u0026gt;\u003c/p\u003e\u003c/p\u003e\u003c/div\u003e\n\n## Dependencies \n\nJDBC connector jar should be added to the runtime. Download the JDBC connector jar based on the RDBMS type that is connected through the Siddhi store. \n\n## Installation\n\nFor installing this extension on various siddhi execution environments refer Siddhi documentation section on \u003ca target=\"_blank\" href=\"https://siddhi.io/redirect/add-extensions.html\"\u003eadding extensions\u003c/a\u003e.\n\n## Running Integration tests in docker containers(Optional)\n\nThe RDBMS functionality are tested with the docker base integration test framework, except the H2 default \nembedded database is not uses external docker container. The test framework initialize the docker container for each \ndatabase according to the given profile before execute the test suit.\n\n**Start integration tests**\n\n1. Install and run docker in daemon mode.\n\n    *  Installing docker on Linux,\u003cbr\u003e\n       Note:\u003cbr\u003e    These commands retrieve content from get.docker.com web in a quiet output-document mode and install.\n       \n            wget -qO- https://get.docker.com/ | sh\n\n    *  On installing docker on Mac, see \u003ca target=\"_blank\" href=\"https://docs.docker.com/docker-for-mac/\"\u003eGet started with Docker for Mac\u003c/a\u003e\n\n    *  On installing docker on Windows, see \u003ca target=\"_blank\" href=\"https://docs.docker.com/docker-for-windows/\"\u003eGet started with Docker for Windows\u003c/a\u003e\n   \n2. To run the integration test, navigate to the siddhi-store-rdbms/ directory and issue the following commands.\n\n    * H2 default:\n    \n            mvn clean install\n           \n         **Note** : h2 is the default activated profile as it is not used docker.\n\n    * MySQL 5.7:\n    \n            mvn verify -P local-mysql -f /component/pom.xml -Dskip.surefire.test=true -Ddocker.removeVolumes=true\n           \n    * Postgres 9.6:\n    \n             mvn verify -P local-postgres -f /component/pom.xml -Dskip.surefire.test=true -Ddocker.removeVolumes=true\n           \n    * MSSQL CTP 2.0:\n    \n            mvn verify -P local-mssql -f /component/pom.xml -Dskip.surefire.test=true -Ddocker.removeVolumes=true\n            \n    * Oracle 11.2.0.2 Express Edition:\n            \n             mvn verify -P local-oracle -f component/pom.xml -Dskip.surefire.test=true -Ddocker.removeVolumes=true\n             \n    * Oracle 12.1.0.2 Standard Edition:\n         \n         * Download Oracle driver version 12.1.0.2 \u003ca target=\"_blank\" href=\"https://www.oracle.com/technetwork/database/features/jdbc/default-2280470.html\"\u003eojdbc7.jar\u003c/a\u003e\n             \n         * To install the JAR file as a Maven plugin, issue the following command:\n     \n                  mvn install:install-file -Dfile=/tmp/ojdbc7.jar -DgroupId=com.oracle -DartifactId=ojdbc7 -Dversion=12.1.0.2 -Dpackaging=jar\n          \n         * Uncomment the following test dependency in the /component/pom.xml file as shown below:\n     \n                  \u003cdependency\u003e\n                     \u003cgroupId\u003ecom.oracle\u003c/groupId\u003e\n                     \u003cartifactId\u003eojdbc7\u003c/artifactId\u003e\n                     \u003cscope\u003etest\u003c/scope\u003e\n                     \u003cversion\u003e12.1.0.2\u003c/version\u003e\n                  \u003c/dependency\u003e\n         \n         * To run the integration test, navigate to siddhi-store-rdbms/ directory and issue the following commands:\n     \n                  mvn verify -P local-oracle12 -f component/pom.xml -Dskip.surefire.test=true -Ddocker.removeVolumes=true\n             \n    * DB2\n    \n        * Download DB2 driver version 4.19.26 \u003ca target=\"_blank\" href=\"http://www.ibm.com/eserver/support/fixes/fixcentral/swg/quickorder?brandid=1\u0026productid=IBM+Data+Server+Client+Packages\u0026vrmf=10.5.*\u0026fixes=*jdbc*FP005\"\u003edb2jcc4.jar\u003c/a\u003e\n    \n        * To install the JAR file as a Maven plugin, issue the following command:\n    \n                 mvn install:install-file -Dfile=/tmp/db2jcc4.jar -DgroupId=com.ibm.db2 -DartifactId=db2jcc -Dversion=4.19.26 -Dpackaging=jar\n         \n        * Uncomment the following test dependency in the /component/pom.xml file as shown below:\n    \n                 \u003cdependency\u003e\n                   \u003cgroupId\u003ecom.ibm.db2\u003c/groupId\u003e\n                  \u003cartifactId\u003edb2jcc\u003c/artifactId\u003e\n                   \u003cscope\u003etest\u003c/scope\u003e\n                   \u003cversion\u003e4.19.26\u003c/version\u003e\n                 \u003c/dependency\u003e\n        \n        * To run the integration test, navigate to siddhi-store-rdbms/ directory and issue the following commands:\n    \n                 mvn verify -P local-db2 -f /component/pom.xml -Dskip.surefire.test=true -Ddocker.removeVolumes=true\n\n**Start integration tests in debug mode**\n```\nmvn -P local-mysql -Dmaven.failsafe.debug verify\nNote: local-mysql is the profile. Use other profiles accordingly.\n```\n\n## Support and Contribution\n\n* We encourage users to ask questions and get support via \u003ca target=\"_blank\" href=\"https://stackoverflow.com/questions/tagged/siddhi\"\u003eStackOverflow\u003c/a\u003e, make sure to add the `siddhi` tag to the issue for better response.\n\n* If you find any issues related to the extension please report them on \u003ca target=\"_blank\" href=\"https://github.com/siddhi-io/siddhi-execution-string/issues\"\u003ethe issue tracker\u003c/a\u003e.\n\n* For production support and other contribution related information refer \u003ca target=\"_blank\" href=\"https://siddhi.io/community/\"\u003eSiddhi Community\u003c/a\u003e documentation.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiddhi-io%2Fsiddhi-store-rdbms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsiddhi-io%2Fsiddhi-store-rdbms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiddhi-io%2Fsiddhi-store-rdbms/lists"}