随笔分类 -  hibernate

摘要:Caused by: org.hibernate.PropertyValueException: not-null property references a null or transient value: com.hneb.lbpc.appointment.vo.WorkSchedVO.COff 阅读全文
posted @ 2018-01-22 17:06 墨.荷 阅读(845) 评论(0) 推荐(0)
摘要:String hql="from XxxVO where id in (?)";//这里有个真地方 注意一下,就是在设置参数的时候使用setParametList(lists);接收一个集合 setParameter是从0开始的 阅读全文
posted @ 2018-01-22 17:05 墨.荷 阅读(1344) 评论(0) 推荐(0)