net.sf.cglib.core.CodeGenerationException 错误 (属hibernate)

xiaoxiao2022-06-14  23

net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null Caused by: java.lang.reflect.InvocationTargetException 解决办法: 在….hbm.xml文件中,将class标签的lazy属性改为 lazy="false"(默认为true) <class name="com.shiyuhao.orm.Book" table="book" catalog="compassdb"> 如果有schema="dbo" catalog="compassdb"配置信息,请将其删除。 [url]http://hi.baidu.com/2008_pc/blog/item/3b19bb196f4864bd4aedbc5a.html[/url]
转载请注明原文地址: https://www.6miu.com/read-4936482.html

最新回复(0)