Added validation of connection pool to persistence context