天天看點

後端開發過程所有遇到的坑bootmavenmybatismybatis-generator 插件mybatis-pagehelper分頁插件mysqlPowerDesigner表設計工具linux部署

boot

  • SpringBoot項目在properties檔案中使用環境變量
  • 第三十五章:SpringBoot與單元測試的小秘密
  • boot-springmvc請求後端沒有日志,但是前端報500/400問題

maven

  • maven install的時候把源碼一起放到倉庫
打包上線的時候記得把這個給去除掉。
  • 向nexus3私服上傳jar包

不能直接上傳需要先建立一個倉庫。在往這個倉庫上上傳

Repository does not allow updating assets 解決方法: https://blog.csdn.net/yaolong336/article/details/78264767

mybatis

  • @MapperScan注解失效,導緻invalid bound statement (not found)
  • MyBatis注解開發[email protected]和@InsertProvider(轉)
  • 用注解的方式實作Mybatis插入資料時傳回自增的主鍵Id

mybatis-generator 插件

  • MybatisGenerator生成WithBLOBS.java檔案原因及解決方案
  • MyBatis Generator配置檔案翻譯
  • mybatis-generator 擴充插件總結
  • 讓mybatis generator插件生成的mapper.xml 插入語句中自動傳回主鍵

mybatis-pagehelper分頁插件

mysql

資料庫的時間快8個小時。
  • JDBC使用8.0驅動包連接配接mysql設定時區serverTimezone
  • mysql檢視表結構的幾種方式
  • mysql導入建表sql時中文注釋的亂碼問題

PowerDesigner表設計工具

  • powerdesigner 常用配置
  • PowerDesigner 常用配置修改
  • PowerDesigner 15設定mysql主鍵自動增長及基數
  • PowerDesigner 生成sql沒有注釋
  • 怎麼使用powerdesigner 自動布局
  • power designer設定線條線為直線
  • PowerDesigner sql檔案逆向工程
  • PowerDesigner如何設定字元編碼?
每張表做設定,麻煩
  • powerdesigner12.5 設定表字元集和存儲引擎
全局設定編碼格式,隊友試了試不好使,用笨辦法吧
  • PowerDesigner搜尋字段 Ctrl+F

OpenSystemArchitect從入門到放棄

  • powerdesigner常用配置-修改外鍵設定

linux部署

ubuntu上部署spring-boot項目