摘要:
近期使用hibernate 4.1.3版本 发现Hibernate4已经将configuration的buildSessionFactory方法已经划线了,说明已经过时了。 后来参看hibernate源码。以及API帮助文档,发现Hibernate4新增了一个接口ServiceRegistry, 所 阅读全文
摘要:
use ZJBQCREATE TABLE users( //创建表id int identity (2,1) primary key, //定义 id 主键,自增,起始值为2,增值为1age int ,name varchar(100) ,sex int ,)alter table users al 阅读全文