#java
Read more stories on Hashnode
Articles with this tag
MySQL是常用的關聯式資料庫管理系統,其中Timestamp類型是一種用來儲存日期和時間的資料類型。在定義Timestamp欄位時,如果不定義準確小數點 的話,預設只到秒,且會四捨五入。 比如以下的資料表定義,就明確定義了到小數點下6位也就是微秒精度。 CREATE TABLE...
前陣子工作上需要調 Jedis 的 maxTotalRetiresDuration ,但這是 Jedis 新加的選項,還沒被整合到 Spring Data Redis。所以需要手動去做一些設定。對 Redis 在 Spring Boot 上的設定做了一些調查,這邊筆記一下。 Change the...
Config In application.properties spring.profiles.active=prod Activate multiple profiles: spring.profiles.active=local,test @Profile Annotation Make a...