ORMs: Active Record vs Data MapperAbstraction patterns for database persistence with trade-offs in coupling and control