openhab-addons/bundles/org.openhab.persistence.jpa/src/main
Cody Cutrer 6bd0c28894
[jpa] Do not log failure to persist item with duplicate timestamp as error (#15978)
* [jpa] ignore EntityExistsException

in case the user manually added a UNIQUE constraint to the database,
openHAB might send duplicate timestamps.

effectively this means the first attempt is kept, while others are
dropped. as long as you're using sub-second timestamps, this shouldn't
be an issue - the state updates truly should be duplicates

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2024-01-30 22:37:19 +01:00
..
feature
java/org/openhab/persistence/jpa/internal [jpa] Do not log failure to persist item with duplicate timestamp as error (#15978) 2024-01-30 22:37:19 +01:00
resources New Crowdin updates (#15886) 2023-11-12 20:16:43 +01:00