日期:2014-05-18  浏览次数:20853 次

大侠们快来帮忙模糊查询我的控制台报这样的错误是什么意思,怎么改啊?
from   Bookinfotab   as   bi,Bookcatalogtab   as   bc   where   1=1   and   bc.bookId=bi.bookId   and   bi.shopId=1
from   Bookinfotab   as   bi,Bookcatalogtab   as   bc   where   1=1   and   bc.bookId=bi.bookId   and   bi.shopId=1   and   bc.author   like   '%李% '
org.hibernate.exception.GenericJDBCException:   could   not   execute   query
at   org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
at   org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
at   org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at   org.hibernate.loader.Loader.doList(Loader.java:2148)
at   org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029)
at   org.hibernate.loader.Loader.list(Loader.java:2024)
at   org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:375)
at   org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:308)
at   org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:153)
at   org.hibernate.impl.SessionImpl.list(SessionImpl.java:1106)
at   org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
at   dao.BaseDao.findAll(BaseDao.java:34)
at   dao.booksell.BookSellDao.queryBookin(BookSellDao.java:54)
at   service.booksell.BooksellService.queryBookinfo(BooksellService.java:53)
at   view.booksell.BooksellDBean.queryBooksell(BooksellDBean.java:168)
at   view.booksell.BooksellDBean.queryReturn(BooksellDBean.java:137)
at   sun.reflect.NativeMethodAccessorImpl.invoke0(Native   Method)
at   sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at   java.lang.reflect.Method.invoke(Method.java:585)
at   org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129)
at   org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63)
at   javax.faces.component.UICommand.broadcast(UICommand.java:106)
at   org.ajax4jsf.framework.ajax.AjaxViewRoot.processEvents(AjaxViewRoot.java:180)
at   org.ajax4jsf.framework.ajax.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:158)
at   org.ajax4jsf.framework.ajax.AjaxViewRoot.processApplication(AjaxViewRoot.java:329)
at   org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316)
at   org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
at   javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)
at   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at   org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)
at   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at   org.apache.catalina.core.StandardW