码迷,mamicode.com
首页 >  
搜索关键字:spring data mongodb    ( 115491个结果
JavaWeb基础总结:Servlet专题
最近工作中有部分整改老接口的任务,大部分与Spring的拦截器,Tomcat相关,改到一些底层的代码发现,对基础J2EE的知识有些遗忘,需要频繁查阅,索性从头系统的整理一下Servlet和Filter的知识。 Servlet是什么 Servlet(Server Applet)是 Java Servl ...
分类:编程语言   时间:2020-12-29 12:03:15    阅读次数:0
前端实现定时任务
<template> <section> <h1>hello world~</h1> </section> </template> <script> export default { data() { return { timer: '', value: 0 }; }, methods: { get ...
分类:其他好文   时间:2020-12-29 11:36:07    阅读次数:0
spring循环依赖
两个bean通过构造函数互为依赖项,spring容器就无法实例化这两个bean,会出现BeanCurrentlyInCreationException异常。 如何解决循环依赖: 1:加@Lazy注解 2: 使用setter注入(或字段上加@Autowired) 3:实现ApplicationCont ...
分类:编程语言   时间:2020-12-29 11:32:47    阅读次数:0
常用的 curl 发送 http 请求 命令
curl is a a command line tool that allows to transfer data across the network. It supports lots of protocols out of the box, including HTTP, HTTPS, FT ...
分类:Web程序   时间:2020-12-29 11:24:49    阅读次数:0
spring boot--Mongdb排序分页
improt.org.springframework.data.domain.sort包Criterialcritel=newCriterial();criterl.and("createTime").is(req.getCreateTime())Sortsort=Sort.by(sort.Diretion.DESC,mongod库对应属性)mongoTempalate.fin
分类:数据库   时间:2020-12-29 11:05:45    阅读次数:0
spring boot全局捕获异常
spring boot全局捕获异常 制作人:全心全意 @ExceptionHandler:标识拦截异常 @ControllerAdvice:Controller的一个辅助类,最常用的就是作为全局异常处理的切面类 @ControllerAdvice可以指定扫描范围 @ControllerAdvice约 ...
分类:编程语言   时间:2020-12-29 11:02:27    阅读次数:0
回调函数的理解
js回调函数 什么是回调函数 在JavaScript中一个函数可以作为另一个函数的参数,这个作为参数的函数就叫回调函数,以回调函数作为参数的函数叫做主函数 回调函数简单写法 //含有回调函数的函数function main(callback){…………//主函数逻辑callback(a,b,c……) ...
分类:其他好文   时间:2020-12-29 10:58:59    阅读次数:0
Spring注解驱动——IOC
体系结构概述: @Bean 之前时候,在xml配置文件使用: <bean id="person" class="com.atguigu.bean.Person" scope="prototype" > <property name="age" value="${}"></property> <pro ...
分类:编程语言   时间:2020-12-28 12:01:10    阅读次数:0
jQuery 属性、文本、元素及尺寸位置操作
今日重点: 一、jQuery 属性操作 jQuery 常用属性操作有三种:prop() / attr() / data() ; 1、元素固有属性值 prop() (1)获取属性语法 prop("属性") (2)设置属性语法 prop("属性","属性值") 注意:prop() 除了普通属性操作,更适 ...
分类:Web程序   时间:2020-12-28 11:59:47    阅读次数:0
【转】SpringBoot之@EnableAutoConfiguration注解
首先Spring Boot项目中都会如下启动类: @SpringBootApplication public class Application { public static void main(String[] args) { SpringApplication.run(Application. ...
分类:编程语言   时间:2020-12-28 11:58:46    阅读次数:0
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!