This article is a mirror article of machine translation, please click here to jump to the original article.

View: 19929|Reply: 0

[Source] nhibernate cannot successfully create a table structure in a MySQL database

[Copy link]
Posted on 5/18/2017 2:58:26 PM | | | |
The NHIBERNATE framework used by ORM and the SQL Server database used to run normally, but now it will be changed to MySQL

When I found that when I executed the SQL operation, all the exceptions were thrown, and then I found that there was no table in the mysql database, and no table was created, how could the execution be successful?

Why didn't mysql create tables?

Original xml mapping file:

Under SQL Server, it can be mapped correctly, but not under MySQL, and needs to be changed to the following:






Previous:No object named 'MySql-5.7.17' is defined : Cannot find definition for object...
Next:.net/c# Protocol Buffer to json data
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com