
MySql
DerikZhang
大四学生,实习于I-Sprint珠海
展开
-
关于WorkBench6.1-lError Code: 1175.错误
报错问题: Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column To disable safe mode, toggle the option in Preferences -> SQL Queries and原创 2014-11-04 13:45:19 · 1034 阅读 · 0 评论 -
Hibernate中使用多对多映射注解
hibernateannotation注解方式来处理映射关系 在hibernate中,通常配置对象关系映射关系有两种,一种是基于xml的方式,另一种是基于annotation的注解方式,熟话说,萝卜青菜,可有所爱,每个人都有自己喜欢的配置方式,我在试了这两种方式以后,发现使用annotation的方式可以更简介,所以这里就简单记录下通过annotation来配置各种映射关系,在hibernate转载 2015-02-17 11:18:33 · 5732 阅读 · 0 评论