Guys, what do you think that would separate the business logic contained in the EntityManager's classes and work directly MyBatis (SQL) code?
I think the current code has 2 problems:
1) EntityManager's do not have interfaces.
2) Interaction with MyBatis not made on a separate level.
I plan to to develop pilot implementation Activiti for NoSQL.
But the problems described above make complicate synchronization branches in the future.
What do you think about it?
I will be glad to hear your opinion.