Guidance for OH2 persistence binding


I’d like to port the JPA binding to OH2.
Is there a binding I can use as example?


I guess you mean the JPA persistence service?
There is no need in porting it, it should just work fine on openHAB 2.
There aren’t yet any new/changed APIs in ESH/openHAB2 regarding persistence, therefore there is no benefit in porting.