// array
else if(CommonUtil.isArray(params)){
Array arr=CommonUtil.toArray(params);
Iterator it = arr.valueIterator();
int index=0;
SQLItem item;
RefBoolean isArray=null;
while(it.hasNext()){
obj=it.next();
if(obj instanceof SQLItem) {
item=(SQLItem) obj;
obj=item.getValue();
//HibernateCaster.toHibernateType(item.getType(), null); MUST
//query.setParameter(index, item.getValue(),type);
}
if(meta!=null){
type = meta.getOrdinalParameterExpectedType(index+1);