问题或bug
着力
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
cglib动态代理asm.jar下载
asm官网下载 cglib的Enhancer类和MethodInterceptor类的interceptor方法的入参MethodProxy类需要导入cglib和asm字节码类,对于非maven管理工程,需要在project structure中引入jar包,笔者用的cglib-2.2.jar和asm-3.3.1.jar,其中asm下载链接如下: asm官网下载 Enhancer enhancer = new Enhancer(); enhancer.setCallback(this); enhan原创 2022-04-21 09:02:54 · 987 阅读 · 0 评论 -
java.sql.SQLException: Access denied for user ‘root’@‘localhost’ (using password: YES)错误原因
java.sql.SQLException: Access denied for user ‘root’@‘localhost’ (using password: YES)错误原因 解决方案: 用户对应的密码不正确 检查输入的用户名 密码 与数据库用户名 密码 是否一致 这里密码不正确有几种常见情况: (1)连接池多个空格 (2)mysql5.7后mysql系统表user里密码对应的字段不是password 是authentication_string字段 命令行依次输入: mysql use mysq原创 2022-01-06 11:18:52 · 7746 阅读 · 0 评论 -
Not allowed to return a result set from a trigger触发器中不允许返回结果集
情况描述: 按《mysql必知必会》书本代码输入 CREATE TRIGGER newproduct AFTER INSERT ON products FOR EACH ROW SELECT ‘Product added’ 出现错误 Not allowed to return a result set from a trigger 查找原因是: MYSQL5以后,不允许触发器返回任何结果,因此使用into @变量名,将结果赋值到变量中,用select调用即可 修改为 CREATE TRIGGE转载 2021-09-14 16:53:07 · 1157 阅读 · 0 评论
分享