初识MyBatis

第一步:添加jar包和配置log4j.properties(在hibernate中人家提供了这种在console打印sql语句的机制,可是mybatis是不提供的,须要本身配置)java 下载地址 https://github.com/mybatis/mybatis-3/releases mysql log4j.properties:文件的内容git log4j.rootLogger=DEBUG,
相关文章
相关标签/搜索