diff --git a/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/addon/addon-oracle.xml b/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/addon/addon-oracle.xml index 07b48cac51044..6fe0d1a762750 100644 --- a/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/addon/addon-oracle.xml +++ b/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/addon/addon-oracle.xml @@ -1,5 +1,5 @@ - diff --git a/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/i18n/jdbc.properties b/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/i18n/jdbc.properties index 260c776542c74..ae76b0d3c4a06 100644 --- a/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/i18n/jdbc.properties +++ b/bundles/org.openhab.persistence.jdbc/src/main/resources/OH-INF/i18n/jdbc.properties @@ -49,6 +49,6 @@ persistence.config.jdbc.tableUseRealItemNames.description = Enables Tablename pr persistence.config.jdbc.tableUseRealItemNames.option.true = Enable persistence.config.jdbc.tableUseRealItemNames.option.false = Disable persistence.config.jdbc.url.label = Database URL -persistence.config.jdbc.url.description = Defines required database URL and optional path and parameters.
Required database url like 'jdbc::[:;]'
Parameter 'service' is used as identifier for the selected jdbc driver. URL-Examples:
jdbc:derby:./testDerby;create=true
jdbc:h2:./testH2;NON_KEYWORDS=VALUE
jdbc:hsqldb:./testHsqlDb
jdbc:mariadb://192.168.0.1:3306/testMariadb
jdbc:mysql://192.168.0.1:3306/testMysql
jdbc:postgresql://192.168.0.1:5432/testPostgresql
jdbc:sqlite:./testSqlite.db +persistence.config.jdbc.url.description = Defines required database URL and optional path and parameters.
Required database url like 'jdbc::[:;]'
Parameter 'service' is used as identifier for the selected jdbc driver. URL-Examples:
jdbc:derby:./testDerby;create=true
jdbc:h2:./testH2;NON_KEYWORDS=VALUE
jdbc:hsqldb:./testHsqlDb
jdbc:mariadb://192.168.0.1:3306/testMariadb
jdbc:mysql://192.168.0.1:3306/testMysql
jdbc:postgresql://192.168.0.1:5432/testPostgresql
jdbc:sqlite:./testSqlite.db
jdbc:oracle:thin:@dbname?TNS_ADMIN=./dbname_tns_admin_folder persistence.config.jdbc.user.label = Database User persistence.config.jdbc.user.description = Defines the database user. diff --git a/features/openhab-addons-external/src/main/resources/conf/jdbc.cfg b/features/openhab-addons-external/src/main/resources/conf/jdbc.cfg index bb74d2c6c9831..15d5e0b6d684c 100644 --- a/features/openhab-addons-external/src/main/resources/conf/jdbc.cfg +++ b/features/openhab-addons-external/src/main/resources/conf/jdbc.cfg @@ -3,7 +3,7 @@ # # https://github.com/openhab/openhab/wiki/JDBC-Persistence # -# Tested databases/url-prefix: jdbc:derby, jdbc:h2, jdbc:hsqldb, jdbc:mariadb, jdbc:mysql, jdbc:postgresql, jdbc:sqlite +# Tested databases/url-prefix: jdbc:derby, jdbc:h2, jdbc:hsqldb, jdbc:mariadb, jdbc:mysql, jdbc:postgresql, jdbc:sqlite, jdbc:oracle # # derby, h2, hsqldb, sqlite can be embedded, # If no database is available it will be created, for example the url 'jdbc:h2:./testH2' creates a new DB in OpenHab Folder. @@ -21,6 +21,7 @@ # url=jdbc:mysql://192.168.0.1:3306/testMysql # url=jdbc:postgresql://192.168.0.1:5432/testPostgresql # url=jdbc:sqlite:./testSqlite.db +# url=jdbc:oracle:thin:@dbname?TNS_ADMIN=./dbname_tns_admin_folder # url= # required database user