Mybatis
瘦意难平
这个作者很懒,什么都没留下…
展开
-
2021-04-04
mybatis动态sqlMybatis-where-set<select id="getBlog" parameterType="map" resultType="Blog"> select * from javawork.blog <where> <if test="title != null"> and title=#{title} </if> <原创 2021-04-04 22:36:22 · 39 阅读 · 0 评论 -
2021-04-04
Mybatis一对多方式一:<!-- 方式一 --> <select id="getStudent" resultMap="StudentTeacher"> select * from student </select> <resultMap id="StudentTeacher" type="Student"> <result property="id" column="id"/>原创 2021-04-04 16:34:12 · 37 阅读 · 0 评论 -
LOG4J的使用
*LOG4J的使用*什么是log4j?**log4j–log for java(java的日志)在强调可重用组件开发的今天,除了自己从头到尾开发一个可重用的日志操作类外,Apache为我们提供了一个强有力的日志操作包-Log4j。此外,通过Log4j其他语言接口,您可以在C、C++、.Net、PL/SQL程序中使用Log4j,其语法和用法与在Java程序中一样,使得多语言分布式系统得到一个统一一致的日志组件模块。而且,通过使用各种第三方扩展,您可以很方便地将Log4j集成到J2EE、JIN原创 2021-04-03 12:59:06 · 97 阅读 · 0 评论