springboot的分號錯誤

文章最前: 我是Octopus,這個名字來源於我的中文名--章魚;我熱愛編程、熱愛算法、熱愛開源。所有源碼在我的個人github ;這博客是記錄我學習的點點滴滴,如果您對 Python、Java、AI、算法有興趣,可以關注我的動態,一起學習,共同進步。

相關文章:

  1. DuplicateKeyException異常處理:java向數據庫插入數據異
  2. springboot的UnsatisfiedDependencyException異常問題
  3. org.springframework.dao.DataIntegrityViolationException
  4. com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'current_state'
  5. java中出現這種錯誤: "error": "Internal Server Error",
  6. The Tomcat connector configured to listen on port 8888 failed to start
  7. java.nio.charset.MalformedInputException錯誤解決
  8. org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.geekplus.dao

這個是因爲我在sql語句中加了分號,在分頁的插件中,他會自動給我加個limit限制,這個分號導致了錯誤;建議一般寫sql的時候,在mybatis中不需要加分號;避免出現類似的錯誤; 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章