java.sql.SQLException: Invalid column type: 1111

mybatis連接oracle的時候若是傳的值爲null就可能會出現這個問題。web 解決方案,mybatis中字段的書寫規範些,加上jdbcType。mybatis 以下:oracle <select id="selectById" parameterType="String" resultMap="assets" databaseId="oracle"> SELECT *
相關文章
相關標籤/搜索