使用hibernate.cfg.xml配置时,启动Junit初始化表时,报错:
org.hibernate.HibernateException: The dialect was not set. Set the property
这是由于没配置mapping引起的。
自己选择的路,跪着也要走完!!!