The biggest advantage of mybatis is its flexibility. Currently, there is no cascading save and update. More complex SQL statements need to be written by yourself. If it is a larger project and the database relationship is more complex, Hibernate is recommended
Mybatis only executes the sql you scheduled in mapper. Whether it can be cascaded depends on your sql. Instead of directly operating objects like hibernate.
This has nothing to do with mybatis. Mybatis only provides mapping from entity classes to SQL tables. As for whether cascade operations can be performed, it depends on how the tables in your database are designed. . . .
The biggest advantage of mybatis is its flexibility. Currently, there is no cascading save and update. More complex SQL statements need to be written by yourself. If it is a larger project and the database relationship is more complex, Hibernate is recommended
Mybatis only executes the sql you scheduled in mapper. Whether it can be cascaded depends on your sql. Instead of directly operating objects like hibernate.
It has nothing to do with mybatis. Mybatis is just an ORM, a framework for executing configuration files.
This has nothing to do with mybatis. Mybatis only provides mapping from entity classes to SQL tables. As for whether cascade operations can be performed, it depends on how the tables in your database are designed. . . .