81,092
社区成员
发帖
与我相关
我的任务
分享
<property name="hibernate.connection.url">jdbc:mysql://localhost/myfirstweb</property>
<property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="hibernate.connection.username">root</property>
<property name="hibernate.connection.password">admin</property>
<property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
<property name="hibernate.show_sql">true</property>
<property name="hibernate.hbm2ddl.auto">update</property>
<property name="connection.autocommit">true</property>
这是我在配置hibernate时用的,但是没有把这些东西也集成到spring中,你看看是不是属性名称hibernate.hbm2ddl.auto之前加上这个hibernate,或者其他属性名的问题。希望能帮上忙