摘要:
org.hibernate.exception.ConstraintViolationException今天遇到这个错误,网上查了下,大多说是有必填字段没有填,搞了很久没搞定,最后发现不是因为这个问题,而是因为字段设置了唯一值,如果表中已存在此记录,再插入则报此错误。Hibernate: insert into membership.t_user (login_id, password, type, status, email, mobile, first_name, last_name, nickname, gender, birthday, country, region, creatio 阅读全文
posted @ 2012-07-12 09:27
狼里格朗
阅读(8359)
评论(0)
推荐(0)

浙公网安备 33010602011771号