冷色调
2015-11-02 22:29
我的老是报错 org.hibernate.MappingException: Could not get constructor for org.hibernate.persister.entity.SingleTableEntityPersister 估计是connection.url有问题怎么办?
<property name="connection.username">root</property>
<property name="connection.password">root</property>
<property name="connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="connection.url">jdbc:mysql:///hibernate?useUnicode=true&characterEncoding=UTF-8</property>
<property name="dialect">org.hibernate.dialect.MySQLDialect</property>
代码发下就可以帮你找了
Hibernate初探之单表映射
74801 学习 · 835 问题
相似问题