使用jb通过数据库表生成entity bean,为entity bean添加findAll()方法想返回所有的记录,这样在客户端在调用session bean时就会报错,而将findAll()方法去掉则不会有任何错误,请问这是什么原因?
报错如下:
weblogic.utils.AssertionError: * ASSERTION FAILED *[ Failed to
generate class for bw.TscSessionFacade_k9ed48_EOImpl_812_WLStub ] -
with nested exception:
[java.lang.reflect.InvocationTargetException - with target exception:
[java.lang.ArrayIndexOutOfBoundsException: 11]]
谢谢先!