What’s the difference between MySQLDialect and MySQLInnoDBDialect? I’ve used MySQLDialect ever since, now I wonder how the above are different.
Anyone?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The default storage engine in MySQL is
MyISAM. If you need transactions and row-level locking, you often choseInnoDB.Using
MySQLInnoDBDialect, Hibernate appendstype=InnoDBto the table creation statement. This explicitly creates anInnoDBtable.MySQLDialectdoes not append an engine string, thus, would create aMyISAMtable.However, you can also change the default storage engine of the MySQL server by using the following line in your
my.cnf, MySQL configuration, file.