阅读背景:

hibernate已经写好了实体类和配置文件,怎么生成数据表

来源:互联网 
是随便写个方法就可以吗?但报这个错
Exception in thread "main" org.hibernate.TypeMismatchException: Provided id of the wrong type for class com.vo.bean.T1. Expected: class java.lang.Integer, got class com.vo.bean.T1 Exception in thread "main"



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: