INSERT INTO user set username=#{username},password=#{password},nickname=#{nickname}
UPDATE user set email=#{email} WHERE id=#{id}
UPDATE user set enabled=#{enabled} WHERE id=#{uid}
DELETE FROM user WHERE id=#{id}
DELETE FROM roles_user WHERE uid=#{id}
INSERT INTO roles_user(rid,uid) VALUES
(#{rid},#{id})