有谁用过hibernte 中的ScrollableResults?
有个get方法,要传一个int的参数,这个参数用来干什么的?是指定结果集中的下标的吗?但是我用这个参数,除了0以外我用所有的下标拿对象都报数组越界异常
这个是API中的方法定义。麻烦各位了
Object get(int i)
Get the ith object in the current row of results, without initializing any other results in the row.
有个get方法,要传一个int的参数,这个参数用来干什么的?是指定结果集中的下标的吗?但是我用这个参数,除了0以外我用所有的下标拿对象都报数组越界异常
这个是API中的方法定义。麻烦各位了
Object get(int i)
Get the ith object in the current row of results, without initializing any other results in the row.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货