dialectresolutioninfo专题

Exception in thread main org.hibernate.HibernateException: Access to DialectResolutionInfo cannot

这是说 hibernate 加载 jdbc驱动出错Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set hibernate4 已经废弃原来的buildSessionFactory 用下面的就没问题了 Configuration cfg = new Configur