
WEB-后台
Owen_SYC
这个作者很懒,什么都没留下…
展开
-
mybatis mapper 传入多个参数方法
1、使用 @param注解 import org.apache.ibatis.annotations.Param; public interface UserMapper { User selectUser(@Param("username") String username, @Param("hashedPassword") String hashedPassword); }原创 2017-12-20 16:37:44 · 3293 阅读 · 0 评论 -
Tomcat添加MySQL的JNDI数据源
1. 添加JNDI配置文件到工程下WEB-INf xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx" xmlns原创 2017-12-12 17:04:58 · 1323 阅读 · 0 评论