是随便写个方法就可以吗?但报这个错
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"
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"