摘要:
首先,创建一个数据库my,并在数据库中插入一张表user,然后在user表中插入一行数据,代码如下: create database my; use my; create table user( id int(10) auto_increment, name varchar(64), level v 阅读全文
摘要:
hibernate中的xml配置文件Multiple annotations found at this line,出现这个红叉报错,直接是把 <?xml version="1.0" encoding="UTF-8"?> 这一行先复制,然后在删掉, 在进行保存,保存好之后在把刚才复制的东西 拷贝进去 阅读全文
摘要:
delete from user where username = '222' 编译报错: Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that us 阅读全文