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这个名字
本文介绍了一个常见的MySql映射错误:表不存在的问题。该错误通常发生在使用Hibernate进行表映射时,由于配置文件中指定的表名与实际数据库中的表名不匹配导致。文章详细解释了错误产生的原因,并提供了具体的解决方案。
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这个名字

被折叠的 条评论
为什么被折叠?