标签:turn bounds get ret customer tom this custom exce
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
cusAndComs=this.getEm().createQuery("FROM CusAndCom c WHERE c.hotelCompanyId="+shopId,CusAndCom.class).getResultList();
return cusAndComs.get(0).getCustomerId();
cusAndComs 没查出数据引起
ArrayIndexOutOfBoundsException
标签:turn bounds get ret customer tom this custom exce
原文地址:http://www.cnblogs.com/tian114527375/p/6259796.html