![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mybatis
锦书休寄
永远年轻,永远热泪盈眶
展开
-
mybatis(3)
mybatis多对一查询处理(1)子查询(2)联表查询这里以student 和teacher表为例建表:`create table teacher( t_id int(10) not null primary key auto_increment, t_name varchar(20) default null)engine =innodb default charse...原创 2020-04-04 23:10:25 · 95 阅读 · 1 评论 -
Mybatis学习(2)
(一)关于org.apache.ibatis.binding.BindingException的处理每个mapper.xml文件都需要在mybatis.xml核心配置文件中注册例如:(二)关于java.lang.ExceptionInInitializerError的处理如果是因为.xml没有放在resources目录下,则在pom.xml中开启资源过滤,一般即可解决。pom.xm...原创 2020-04-03 16:24:23 · 76 阅读 · 0 评论