Fixed the doctrine adapter.

The doctrine adapter whas giving errors due to calls to Pool::get() instead of Pool::getItem().