码迷,mamicode.com
首页 >  
搜索关键字:spring-data    ( 877个结果
解决com.alibaba.fastjson.JSONException: autoType is not support 异常处理
原文地址:https://blog.csdn.net/wgzhl2008/article/details/82184240 最近在使用spring-data-redis时,使用fastjson的序列化方式 GenericFastJsonRedisSerializer可以正常序列化,但在反序列化时发生 ...
分类:Web程序   时间:2020-04-29 21:57:13    阅读次数:197
你应该知道的springboot mongodb jpa那些小tip.
官方文档https://docs.spring.io/spring data/data mongodb/docs/current/reference/html/index.html 查询: \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ...
分类:数据库   时间:2020-04-29 18:48:49    阅读次数:67
你应该知道的springboot mongodb jpa那些小tip.
官方文档https://docs.spring.io/spring-data/data-mongodb/docs/current/reference/html/index.html 查询: ******************************************************* ...
分类:数据库   时间:2020-04-29 18:16:00    阅读次数:60
使用Redis作为简单的限流计数器几种实现策略
在实现简单的接口限流或者商品秒杀时,一般需要Redis来作为计数器。但是在并发场景下,使用不当的可能会踩坑。 这里主要的坑就是:使用不当,会造成key永久有效,永不过期,导致value一直在increment,无法起到限流的作用。 下面就以反面例子说明: 本文使用的是spring-data-redi ...
分类:其他好文   时间:2020-04-25 23:41:50    阅读次数:99
Spring Data REST不完全指南(三)
上一篇我们介绍了使用Spring Data REST时的一些高级特性,以及使用代码演示了如何使用这些高级的特性。本文将继续讲解前面我们列出来的七个高级特性中的后四个。至此,这些特性能满足我们大部分的接口开发场景。 ...
分类:编程语言   时间:2020-04-23 19:24:22    阅读次数:82
StringRedisTemplate操作redis数据
1. Maven依赖 <dependency> <groupId>org.springframework.data</groupId> <artifactId>spring-data-redis</artifactId> </dependency> 2. StringRedisTemplate与Re ...
分类:其他好文   时间:2020-04-20 13:59:03    阅读次数:64
Jpa接口方法命名规范
Spring Data Jpa接口方法命名规范 关键字 方法命名 sql where字句 And findByNameAndPwd where name= ? and pwd =?Or findByNameOrSex where name= ? or sex=?Is,Equals findById, ...
分类:其他好文   时间:2020-04-09 00:07:54    阅读次数:99
Spring Data REST
1.REST(Representational State Transfer) 用来规范应用如何在 HTTP 层与 API 提供方进行数据交互 REST约束 1.客户端-服务器结构 2.无状态 3.可缓存 4.分层的系统 5.按需代码(可选) 6.统一接口。 该约束是 REST 服务的基础,是客户端 ...
分类:编程语言   时间:2020-04-07 12:37:32    阅读次数:84
Spring Data Elasticsearch
依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-elasticsearch</artifactId></dependency> yml配置 spring: ...
分类:编程语言   时间:2020-04-06 22:16:27    阅读次数:84
SpringData MongoDB 入门
1.创建工程,引入坐标 <dependencies> <dependency> <groupId>org.springframework.data</groupId> <artifactId>spring-data-mongodb</artifactId> <version>2.1.8.RELEAS ...
分类:数据库   时间:2020-04-02 17:53:28    阅读次数:75
877条   上一页 1 ... 7 8 9 10 11 ... 88 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!