JPA自定义插入问题!?
@Modifying @Query(nativeQuery = true, value = "INSERT INTO user(user_id,user_account,user_psw,user_state,user_sex,user_age,user_sign,user_img) VALUES " + "(UUID(),?1,?2,0,null,null,null,null)")
不能用插入语句怎么办???注册怎么写?
@Modifying @Query(nativeQuery = true, value = "INSERT INTO user(user_id,user_account,user_psw,user_state,user_sex,user_age,user_sign,user_img) VALUES " + "(UUID(),?1,?2,0,null,null,null,null)")
不能用插入语句怎么办???注册怎么写?
2017-12-16
举报