c.substring(c.lastIndexOf(".")+1,c.length() 这句啥意思
Stringc=clazz.toString();Stringhql="FROM"+c.substring(c.lastIndexOf(".")+1,c.length()...
String c = clazz.toString();
String hql = "FROM "+c.substring(c.lastIndexOf(".")+1,c.length());
Query queryObject = getSession().createQuery(hql); 展开
String hql = "FROM "+c.substring(c.lastIndexOf(".")+1,c.length());
Query queryObject = getSession().createQuery(hql); 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询