One afternoon, almost all of them were spent on this xxoo!
Vs2008, MVC 1.0, nhib1_2.2, MySQL XX, configure web. config according to the official NH example
Then run the following yellow pages:
"/" Indicates a server error in the application. -------------------------------------------------------------------------------- The column "reservedword" does not belong to the table reservedwords. Note: An unhandled exception occurs during the execution of the current Web request. Check the stack trace information for details about the error and the source of the error in the code. Exception details: system. argumentexception: the "reservedword" column does not belong to the reservedwords table. Source error: Row 12: Row 13: static nhibernatehelper () {row 14: sessionfactory = new configuration (). configure (). buildsessionfactory (); row 15:} line 16: source file: e: \ Documents ents \ SVN \ MIS \ project \ openservice \ filesii \ fileⅱ. dal \ nhibernatehelper. row Cs: 14 stack trace: [argumentexception: the column "reservedword" does not belong to the reservedwords table.] System. data. datarow. getdatacolumn (string columnname) + 1773557 system. data. datarow. get_item (string columnname) + 13 nhib.pdf. dialect. schema. abstractdatabaseschema. getreservedwords () + 237...
I have no choice but to understand the Chinese documents of Google and Baidu. However, I have no choice but to look at a foreign webpage, click in and follow up. solution:
Http://www.google.cn/search? Hl = ZH-CN & Q = nhib.pdf + MySQL + reservedword & btng = Google + search
Https://forum.hibernate.org/viewtopic.php? F = 25 & t = 997701
Barlog
Post subject:Re: column 'reservedword' does not belong to table reservedwords
Posted:Wed Jul 22,200 9 :43 AM
Newbie
Joined:Wed Jul 22,200 9 AM
Posts:1
Greetings.
Just add following line to configuration file to <session-factory> section.
<Property name = "hbm2ddl. Keywords"> none </property>
However this fix might cause unexpected problems.
Best regards.
_________________
Infinite Diversity in Infinite Combination
I am XX, He's oo !!