正确决解Hibernate4.*中:Connection cannot be null when 'hibernate.dialect' not set
摘要:
jdbc:mysql://localhost/myuser root root com.mysql.jdbc.Driver org.hibernate.dialect.MySQLDialect MySqL JDBC Driver 将SessionFactory sf = cfg.buildSessionFactory(newServiceRegistryBuilder().buildServiceRegistry());替换成SessionFactory sf = cfg.bui... 阅读全文
posted @ 2013-09-27 23:00 我竟然比我还帅 阅读(252) 评论(0) 推荐(0) 编辑