Hibernate:?
????select
????????student0_.id?as?id1_0_0_,
????????student0_.name?as?name2_0_0_,
????????student0_.gender?as?gender3_0_0_,
????????student0_.birthday?as?birthday4_0_0_,
????????student0_.picture?as?picture5_0_0_,
????????student0_.POSTCODE?as?POSTCODE6_0_0_,
????????student0_.PHONE?as?PHONE7_0_0_,
????????student0_.ADDRESS?as?ADDRESS8_0_0_?
????from
????????hibernate.student?student0_?
????where
????????student0_.id=?這是輸出的查詢語句,但其中屬性為空的話就會報錯,如何解決?
添加回答
舉報
0/150
提交
取消