The method setDate(int, java.sql.Date) in the type PreparedStatement is not applicable for the arguments (int, java.util.Date)
2019-04-19
pt.setDate(4, new Date(getBirthday().getTime()));這里要報錯呀,轉換不了時間啊
2019-04-19
最新回答 / Uestc_L
執行了 excuteQuery() 方法后返回的是查詢到的記錄的集合,以行為單位,然后通過這集合的 next() 方法一條條取出數據,也就是每次取出一個記錄,然后對記錄的每個字段分別操作。
2019-03-19
最新回答 / ARF阿圓圓圓圓圓
https://github.com/jeness/J2EELearning/tree/master/jdbcEmployee作業代碼已傳,歡迎批評指正
2019-03-19