/**
* @Column表示列的說明
* lentth 列的長度
* nullable是否可以為null值 默認(rèn)為ture
*/
@Column(length = 20,nullable = false)
private String name;
* @Column表示列的說明
* lentth 列的長度
* nullable是否可以為null值 默認(rèn)為ture
*/
@Column(length = 20,nullable = false)
private String name;
2019-07-05
Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: EntityPathResolver must not be null!
2019-04-26
Repository查詢方法的規(guī)則定義:https://images2017.cnblogs.com/blog/779102/201707/779102-20170729001326368-156348206.png
2019-04-23
還是有些淺呀,要是能夠把關(guān)聯(lián)查詢這一塊補上就好了.....jpa關(guān)聯(lián)查詢遇到好多問題,都找不到合適的視頻
2019-04-15
create table student(
id int not null auto_increment,
name varchar(20)not null,
age int not null,
primary key(id)
);
insert into student(name,age) values("zhangsan",20);
insert into student(name,age) values("lisi",21);
insert into student(name,age) values("wangwu",22);
id int not null auto_increment,
name varchar(20)not null,
age int not null,
primary key(id)
);
insert into student(name,age) values("zhangsan",20);
insert into student(name,age) values("lisi",21);
insert into student(name,age) values("wangwu",22);
2019-04-09