文章列表
看代码:
1.先看数据库
create database hibernate
go
use hibernate
go
create table person
(
id int identity primary key,
name varchar(20),
password varchar(10),
sex varchar(5),
email varchar(30)
)
go
2.实体类
package entity;
public class Person {
private int id;
private String name;
...