摘要:
MyBatis需要手动写SQL语句,Hibernate不用 MyBatis的二级缓存需要在其配置文件中设置 cacheEnabled为true才能启用,不能仅在映射文件中设置。可以通过select元素的useCache属性对该查询进行单独配置。 C选项说法错误:MyBatis对于resultMap自 阅读全文
摘要:
依赖 <!-- https://mvnrepository.com/artifact/org.springframework/spring-beans --> <dependency> <groupId>org.springframework</groupId> <artifactId>spring 阅读全文