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()));這里要報錯呀,轉(zhuǎn)換不了時間啊
2019-04-19
我的天,這講的還不基礎(chǔ)? 這位老師講得很不錯,把前面幾個小課看完之后基本上就會用程序訪問數(shù)據(jù)庫了
2019-04-18
最新回答 / Uestc_L
執(zhí)行了 excuteQuery() 方法后返回的是查詢到的記錄的集合,以行為單位,然后通過這集合的 next() 方法一條條取出數(shù)據(jù),也就是每次取出一個記錄,然后對記錄的每個字段分別操作。
2019-03-19
最新回答 / ARF阿圓圓圓圓圓
https://github.com/jeness/J2EELearning/tree/master/jdbcEmployee作業(yè)代碼已傳,歡迎批評指正
2019-03-19