jdbc event store implementation