org.hibernate.exception.SQLGrammarException:could not execute query求高手拯救,at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/08 07:13:42

org.hibernate.exception.SQLGrammarException:could not execute query求高手拯救,
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.loader.Loader.doList(Loader.java:2536) at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2276) at org.hibernate.loader.Loader.list(Loader.java:2271) at org.hibernate.loader.custom.CustomLoader.

你会不会是在这个customer类里定义了变量是其他类的外键,然后在其他类里和这个类里的这个变量类型不一样啊!?