Switched to Java 8 + Spring 4. Remove unnecessary dependencies and libs.
Now user can work with profile from the first request. Query stored with profile.
Conflict resolution