I'm looking for an ORM that will keep my domain clean without injecting DB related code into my entities (user.save() => active record), rather something that is more like the data-mapper/repository pattern where my domain is kept clean (POJO) & I define the mapping between entities and table so it provides a set of helper method (userRepository.save(aUser)). Knex is similar to this but a bit too minimal. Any ideas?
Submitted April 15, 2018 at 07:39PM by yonatannn
No comments:
Post a Comment