- 博客(4)
- 收藏
- 关注
原创 IDEA中Mybatis的MGB使用,逆向工程配置。
添加依赖 添加generatorConfig.xml文件 在maven的plugins中运行mybatis-generator插件 注意事项: (1).generatorConfig.xml文件需要放在resource路径下。 ================================================ 1、添加依赖 <dependencies> <dependency> <groupId>org.myba.
2020-09-10 12:28:38
531
原创 SSM链接数据库错误。Could not get JDBC Connection; nested exception is java.sql.SQLException: Connections cou
Could not get JDBC Connection; nested exception is java.sql.SQLException: Connections could not be acquired from the underlying database!] with root cause! 错误原因为:dbconfig.properties中 引入的参数名没有加前缀 错误代码为...
2020-04-23 21:06:02
633
1
原创 XML文件提示,Mybatis绑定本地DTD文件。
XML文件提示,Mybatis绑定本地DTD文件 1.由于有些开发环境没有联网。所有xml的dtd文件无法获取到,所以需要绑定本地的dtd文件。 2.在mybatis-3.4.1.jar中,自带了需要的mybatis-3-config.dtd和mybatis-3-mapper.dtd。 3.只需要使用解压软件来解压出这两个文件即可。 4.然后在eclipse中配置完成即可。 ...
2020-04-20 22:19:08
550
原创 模态框隐藏注册事件
@TOC模态框隐藏注册事件 $(document).read(function(){ //1.获得编辑的模态框,并添加点击时间给提交按钮 $("#modal-dialog") .on("click",".ok",doSaveOrUpdate); //2.在模态框隐藏后移除ok上注册的时间,防止数据多次提交 $("#modal-dialog") .on("hidden.bs.modal"...
2019-09-29 19:46:42
255
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人