Commit Graph

29 Commits

Author SHA1 Message Date
Christoph Weitkamp
d707420ec5
[jdbc] Fixed ClassCastException for ColorItem / HSBType (#12225)
* Fixed ClassCastException for ColorItem / HSBType

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-02-06 15:45:03 +01:00
Christoph Weitkamp
67b701b6b4
[jdbc] Removed check if item exists to allow to truncate data for clean-ups (#12052)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-01-15 17:09:54 +01:00
Christoph Weitkamp
bb2e4c7c65
[jdbc] Implement 'ModifiablePersistenceService' interface (#11922)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-01-15 14:29:06 +01:00
Hilbrand Bouwkamp
da59cdd255
Update license headers to 2022 (#11973)
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2022-01-06 18:14:47 +01:00
Christoph Weitkamp
346fcd068c
Do not create table on 'query', only on 'store' (#11961)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-01-04 21:26:52 +01:00
Christoph Weitkamp
0988c040a6
Add mime data to restored image (#11962)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-01-04 16:52:56 +01:00
Christoph Weitkamp
ef46e126b4
[jdbc] Fixed NPE when SQL query failed (#11954)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-01-04 10:37:04 +01:00
Wouter Born
e7849c0060
Add default translations for persistence add-ons (#11754)
This makes the texts used by these add-ons translatable with Crowdin.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-12-11 18:02:00 +01:00
nimric
ba3dfe3ed6
[jdbc] Add support for TimescaleDB (#11090) (#11091)
Signed-off-by: Riccardo Nimser-Joseph <github@nimric.de>

Co-authored-by: Riccardo Nimser-Joseph <github@nimric.de>
2021-12-11 17:50:40 +01:00
Wouter Born
589400e223
Fix/suppress PMD CompareObjectsWithEquals findings (#11476)
Newer PMD versions discover more CompareObjectsWithEquals findings.

Related to https://github.com/openhab/static-code-analysis/pull/423

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-02 10:43:53 +01:00
nimric
cf6729adef
[jdbc] Select the proper schema when retrieving the item tables (#11023)
Signed-off-by: Riccardo Nimser-Joseph <github@nimric.de>
2021-07-24 21:29:15 +02:00
Christoph Weitkamp
0c390ab9c9
[jdbc] Increased size of column type for Location Item (#10542)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-04-24 12:39:05 +02:00
Christoph Weitkamp
7a22d65406
Added missing config parameters for sqltypes of IMAGE an PLAYER item types (#10524)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-04-15 17:51:35 +02:00
Christoph Weitkamp
e24d43aecb
Use TypeParser to get matching Item State (#10501)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-04-14 23:35:16 +02:00
Wouter Born
6e1119a49a
Fix broken configfile GAV with karaf:kar (#10391)
The groupId variable results in the wrong configfile GAV when building a single KAR with karaf:kar for an add-on.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-03-26 08:50:31 +01:00
Christoph Weitkamp
37bc57f856
Do not define bundel related versions in OH feature file (#9904)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-01-22 13:24:28 +01:00
Christoph Weitkamp
9394dc4676
[jdbc] Return QuantityTypes for number items with dimension (#9426)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-01-03 17:34:53 +01:00
Wouter Born
d6364aceb1
Update license headers to 2021 (#9620)
Signed-off-by: Wouter Born <github@maindrain.net>
2021-01-02 22:03:14 +01:00
Christoph Weitkamp
133df3aa40
[jdbc] Consider local timezone to create time filter (#9445)
* Consider local timezone to create time filter
* Use user-defined timeZone

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-12-23 17:19:08 -08:00
Christoph Weitkamp
42de762b43
[jdbc] Reduce size for VARCHAR columns (#9394)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-12-15 22:36:35 -08:00
Mark Hilbush
7451df9865
[jdbc] Add missing item types Player and Image (#9334)
- Add missing item types Player and Image

Closes #2819 

Signed-off-by: Mark Hilbush <mark@hilbush.com>
2020-12-12 08:51:12 +01:00
Wouter Born
c755e85281
Fix missing feature configfiles (#9324)
* Update configfile lines for renamed openhab-addons-external artifactId
* Add missing 2.5.x configfiles files which were never merged into the main branch
* Fix configfile lines not aggregated in feature.xml file

Fixes openhab/openhab-distro#1205

Signed-off-by: Wouter Born <github@maindrain.net>
2020-12-11 14:34:44 +01:00
Christoph Weitkamp
7e9b27ec41
[jdbc] Fixed ClassCastException (#9296)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-12-09 11:52:04 -08:00
Christoph Weitkamp
64b15bcc48
Added OSGi configurable service declarations (#9132)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-11-25 22:16:10 +01:00
Wouter Born
b423f93b1f
Remove Map null annotation workarounds (#8916)
These workarounds to prevent false positives can be removed now the EEAs allow for proper null analysis.

Signed-off-by: Wouter Born <github@maindrain.net>
2020-11-04 13:57:24 +01:00
Christoph Weitkamp
9992a67990
Fixed ClassCastException; Update mariadb-java-client to version 1.4.6 (#8883)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-10-28 00:30:43 +01:00
Christoph Weitkamp
ab011242ad
Use 'everyChange' as default strategy for JDBC persistence (#8841)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-10-24 22:43:39 +02:00
Kai Kreuzer
5788ad095e
Fixed mvn reference for config files (#8572)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-09-24 22:45:01 +02:00
Kai Kreuzer
bbf1a7fd29 Codebase as of c53e4aed26 as an initial commit for the shrunk repo
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-09-20 23:57:58 +02:00