hibernate的SessionFactory使用
import org.hibernate.SessionFactory;
import org.hibernate.cfg.Configuration;
public class HibernateSessionFactoryUtil {
private static final SessionFactory sessionFactory;
static {
try {
...
2013-07-09 23:23:14 ·
116 阅读 ·
0 评论