![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
�恍然如梦
这个作者很懒,什么都没留下…
展开
-
springboot邮件发送,定时发送,带附件发送邮件
首先要进入邮箱开启邮箱服务客户端登录邮箱——设置——账户——开启 POP3和IMAP/SMTP开启以后会有个密码复制保存下来新建springboot项目导入相关依赖项目创建参考其他,在此就不细说了POM文件引入必要依赖<dependencies> <dependency> <groupId>org.spring...原创 2019-07-30 20:38:50 · 359 阅读 · 0 评论 -
Spring Data JPA常用注解
@Id 声明属性为主键@GeneratedValue表示主键是自动生成策略,一般该注释和 @Id 一起使用@Entity 任何 hibernte 映射对象都要有次注释@Table(name = “tablename”) 类声明此对象映射到哪个表@Column(name = “Name”,nullable=false,length=32) 声明数据 库字段和类属性对应关系...原创 2019-08-16 17:35:38 · 146 阅读 · 0 评论