[#issue-84] add interface to connection pool to persist objects to database