日常开发中问题分享
夜雨星光~
日常项目开发偶尔遇到问题记录分享
展开
-
前端vue开发百度地图标记使用<bm-marker>遇到改变标记数组元素,标记不及时动态刷新标记位置信息和元素下标。
前端vue开发百度地图标记使用遇到改变标记数组元素,不会动态刷新标记位置信息和元素下标。原创 2023-02-22 15:45:34 · 1919 阅读 · 0 评论 -
有效解决了failed to configure a datasource: ‘url‘ attribute is not specified and no em问题
有效解决了failed to configure a datasource: ‘url‘ attribute is not specified and no em问题转载 2023-02-10 11:16:50 · 674 阅读 · 0 评论 -
<table>表格清除属性数据方法 js
表格清除属性数据方法js原创 2023-01-16 14:50:18 · 1707 阅读 · 0 评论 -
JQ: 有点历史框架Grails;1、弹出子窗口<frame>,2、弹出子窗口parent.layer.open;操作实现,关闭等实际开发中遇到问题
JQ: 有点历史框架Grails;1、jQuery('#win').window() 弹出子窗口<frame>,2、parent.layer.open()弹出子窗口;操作实现,关闭等实际开发中遇到问题原创 2022-10-27 11:03:30 · 574 阅读 · 0 评论 -
前端vue开发项目遇到“Use // eslint-disable-next-line to ignore the next line”
前端vue开发项目遇到:“Syntax Error: TypeError: Cannot read property 'styles' of undefinedYou may use special comments to disable some warnings.Use // eslint-disable-next-line to ignore the next line.Use /* eslint-disable */ to ignore all warnings in a file.”原创 2022-10-17 14:29:38 · 2247 阅读 · 1 评论 -
idea安装插件plugins时无法加载插件三种解决方法(亲测有效且下载速度飞起)
idea安装插件plugins时无法加载处插件三种解决方法(亲测有效且下载速度飞起)原创 2022-08-18 17:05:35 · 12056 阅读 · 11 评论 -
项目使用c3p0连接池出现数据库连接被占满,查看数据库连接发现全是select 1和show transaction isolation level查询语句占满了连接
在我们刚开始学习jdbc阶段,课本或课程都是教我们使用上面的方法获取数据库连接,但这种获取方法会在每执行一次就会初始化一次spring-servlet.xml配置文件里的数据库c3p0连接池的配置(实际配置文件所有bean都会重新初始化),导致数据库连接每次都增长(初始化的c3p0连接池几次就增长几个连接,且该连接不会释放--->是c3p0需要保留的空闲连接)解决办法,把上面获取connection的方法改为获取spring容器中的c3p0数据库连接池的connection。修改完成后重新上线bug解决。.原创 2022-07-19 10:25:28 · 1357 阅读 · 0 评论 -
like CONCAT 模糊查询用法, convert中文排序
模糊查询 like CONCAT 这样写可以防止SQL注入,而like缺不能防止sql注入....原创 2022-05-26 18:00:09 · 1288 阅读 · 0 评论 -
在mapper层对.xml文件中的sql语句中List集合参数进行for循环操作
<if test="CompanyId != null and CompanyId.size > 0"> AND company_id IN <foreach item="item" index="index" collection="CompanyId" open="(" close=")" separator=","> #{item} </foreach> </if>原创 2022-05-26 17:14:22 · 1645 阅读 · 1 评论