Since yesterday, I have been in charge of a small project. Of course, it is a small company, but it is a project to reorganize the internal computer network used by this company. I do the backend and another colleague takes over the frontend.
What I felt this time was that I was analyzing the code used to create a web page using mybatis and jsp before, and seeing this, I felt that there were pros and cons.
I thought that the advantage of using Mybatis was that the developer could handle it flexibly because the query was directly written.
However, the downside was that the code was complicated and code maintenance was difficult.
If you use Hibernate JPA, you can do many things without using QueryDSL because JPA itself is a powerful library. However, this does not allow you to handle the database flexibly, but this part can also be solved by using the query dsl.
Currently, the company is in an atmosphere of improving one by one in preparation for the future by considering these areas.