![240](https://cdn2.jianshu.io/assets/default_avatar/2-9636b13945b9ccf345bc98d0d81074eb.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/240/h/240)
1異常如下 Description: Parameter 0 of method modifyRequestBodyGatewayFilterFactory in org.s...
1查看oauthserver的實(shí)時(shí)日志跳芳,實(shí)時(shí)。 tailf /opt/mic/oauthserver.log 2查看最近幾行的代碼(最近1000行就是-1000) 舉例: t...
1Converters Spring Data MongoDB中另一個(gè)非常有用的特性------converters苟耻,尤其是MongoConverter 2作用 在MogoD...
1MongoTemplate MongoTemplate 遵循Spring中的標(biāo)準(zhǔn)模板模式吱瘩,并為底層持久性引擎提供準(zhǔn)備就緒的基本API。 2MongoRepository 以...
1報(bào)錯(cuò)如下 2原因: 2.1Content-type Content-type在Request Headers里面媒咳,告訴服務(wù)器粹排,我們發(fā)送的請(qǐng)求信息格式,Content-Typ...
1.Is查詢 2.Regex查詢 Regex規(guī)則匹配 3.Lt和gt查詢 $lt(less than)小于 $gt(greater than)大于 4.sort 查詢 sor...
一創(chuàng)建索引方式 1使用@Indexed索引注解 1.1在字段上添加該注解,表明索引 1.2在MogoDB中查看索引 1.3你會(huì)發(fā)現(xiàn)除了默認(rèn)的id索引涩澡,name字段也變成索引了...
1@Transient 1.1該注解可以使得某個(gè)使用該注解的字段不被持久化 1.2驗(yàn)證 (1)添加上注解 (2)插入數(shù)據(jù)庫(kù) (3)查看數(shù)據(jù)庫(kù)是否插入 (4)查詢驗(yàn)證顽耳,返回nu...