原文:正确决解Hibernate4.*中:Connection cannot be null when 'hibernate.dialect' not set

http: www.cnblogs.com cnscoo archive .html 今天在做Hibernate . 的项目中,使用了以下的配置: hibernate.cfg.xml 然后在Text.java中测试: import org.hibernate.Session import org.hibernate.SessionFactory import org.hibernate.cfg.C ...

2012-09-17 17:10 0 4875 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM