springboot学习笔记-3 整合redis&mongodb【转载】
springboot学习笔记-3 整合redis&mongodb
一.整合redis
1.1 建立实体类
@Entity
@Table(name="user")
public class User implements Serializable {
@Id
@GeneratedValue(strategy=GenerationType.AUTO)
原创
2017-08-10 11:04:24 ·
246 阅读 ·
0 评论