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

hibernate 和sybase 问题,高手帮忙看看
错误信息:
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:2214)
at   org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2095)
at   org.hibernate.loader.Loader.list(Loader.java:2090)
at   org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:388)
at   org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
at   org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
at   org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
at   org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
at   com.mapbar.common.dao.hibernate.PoiDaoHibernate.getPoiBaseInfos(PoiDaoHibernate.java:159)
at   com.mapbar.common.dao.hibernate.PoiDaoHibernate.getPoiBaseInfos(PoiDaoHibernate.java:58)
at   com.mapbar.common.bean.KeywordBean.getPoiBaseInfos(KeywordBean.java:68)
at   org.apache.jsp.sztele.besttone.listSearch_jsp._jspService(listSearch_jsp.java:93)
at   org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
at   javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at   org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
at   org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
at   org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
at   javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
at   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
at   org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at   org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at   org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
at   org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
at   org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
at   org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at   org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
at   org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:195)
at   org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at   org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
at   org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
at   org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
at   org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
at   org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at   org.apache.catalina.core.Standard