JDBC persistence service in ESH [message #1776417] |
Thu, 16 November 2017 10:03  |
Eclipse User |
|
|
|
Hi,
Is there a JDBC persistence service available in ESH ?
If it is available, which is the DB(sqlite, H2) to which we can configure with minimal effort and steps to achieve it.
Thanks.
|
|
|
|
Re: JDBC persistence service in ESH [message #1776590 is a reply to message #1776543] |
Sat, 18 November 2017 07:03   |
Eclipse User |
|
|
|
Hi Stefan,
I would like to store item state for graphing purpose and as well as on restart all items should pick the last saved state.
I would like to know the steps to configure it to access DB, if anyone tried on ESH.
Thanks,
Kiran.
|
|
|
Re: JDBC persistence service in ESH [message #1776714 is a reply to message #1776590] |
Mon, 20 November 2017 17:22   |
Eclipse User |
|
|
|
Hi Kiran,
what you want is exactly what I described. You can store an item's state for graphing purposes or to restore it on a restart of the system via a persistence service.
But since ESH is just the framework it does not provide implementations for persistence services. If you need them, either implement your own or use a solution such as openHAB that bases on ESH and implements persistence services. I have linked the documentation in my post above.
Regards,
Stefan
|
|
|
|
Powered by
FUDForum. Page generated in 0.10602 seconds