自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

转载 Java版DBHelper【简单】(MySQL数据库)

1、测试数据库 1.1 数据库数据  1.2 数据库结构  1.3 数据库脚本DROP TABLE IF EXISTS `school`.`student`; CREATE TABLE `school`.`student` ( `id` int(11) NOT NULL default '0', `name` varchar(20) default NULL, `sex` varcha...

2018-06-05 02:21:10 433

转载 Spring Security 无法登陆,报错:There is no PasswordEncoder mapped for the id “null”

编写好继承了WebSecurityConfigurerAdapter类的WebSecurityConfig类后,我们需要在configure(AuthenticationManagerBuilder auth) 方法中定义认证用于信息获取来源以及密码校验规则等。(configure函数名字不重要,官方用的好像是configureGlobal(……),重要的是在这个被@EnableWebSecuri...

2018-05-27 18:03:20 376

转载 MyBatis的Mapper接口以及Example的实例函数及详解

一、mapper接口中的方法解析mapper接口中的函数及方法方法功能说明int countByExample(UserExample example) thorws SQLException按条件计数int deleteByPrimaryKey(Integer id) thorws SQLException按主键删除int deleteByExample(UserExample example)...

2018-05-19 10:53:58 159

转载 Spring注入Date类型的3种方式

测试Bean:[html] view plain copypublic class DateBean {      private Date birthday;        public Date getBirthday() {          return birthday;      }        public void setBirthday(Date birthday) {    ...

2018-05-19 10:48:43 4036

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除