doorkeeper with extracted ORM specifics