Home > Web Front-end > JS Tutorial > body text

How to solve the problem that the console prints out the sql statement without error and the table is not created in the database

一个新手
Release: 2017-09-26 09:52:27
Original
1396 people have browsed it

The dialect in hibernate does not match the version of Mysql. Type=InnoDB in the SQL statement was used before MySQL5.0. After 5.0, engine=InnoDB must be used. <br>

MySql5.0之前的配置 <property name="dialect">org.hibernate.dialect.MySQLInnoDBDialect</property>5.0之后需要使用<property name="dialect">org.hibernate.dialect.MySQL5InnoDBDialect</property>
Copy after login
<br>
Copy after login
测试确实成功了
Copy after login

The above is the detailed content of How to solve the problem that the console prints out the sql statement without error and the table is not created in the database. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!