Do i need MySQL persistence, if plan using JDBC MariaDB?
You can use either the MySQL or JDBC persistence service to store and query MariaDB.
After start i received many:
15:59:38.532 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'jdbc'
But later there is no more warnings about no queryable persistence service
.
Is that warning tells that jdbc percictense works?
16:03:00.051 [WARN ] [jdbc.internal.JdbcPersistenceService] - JDBC::store: ignore Item 'ESP_Baxi_WTempIn' because it is UnDefType
I am not sure if mariadb persistence works as designed - i run it on centos7 with mariadb but was only able to see objects created correctly in the mariadb after choosing mysql persistence.
if mariadb persistence was chosen i would see it connecting in the log messages, jdbc seemed to get there, but no objects were made. i tried to configure it same was as mysql would be, so, may be something else was supposed to be done for configuration, but i did not find what exactly.
Jdbc mariadb works for me.
Try this post [JDBC-Persistence] heave from OH1 to OH2/ESH, choosing a namespace