nested exception is com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'px.px__table1' doesn't exist
做MySql出现这个错误,原因就是在映射文件里,映射的表 <class name="com.nie.hibernate.User" table="table1" catalog="px">
hibernate会把这个表映射成px_table1这个名字
nested exception is com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'px.px__table1' doesn't exist
做MySql出现这个错误,原因就是在映射文件里,映射的表 <class name="com.nie.hibernate.User" table="table1" catalog="px">
hibernate会把这个表映射成px_table1这个名字