org.hibernate.MappingException: No Dialect mapping for JDBC type: -1

org.hibernate.MappingException: No Dialect mapping for JDBC type: -1
at org.hibernate.dialect.TypeNames.get (TypeNames.java: 79)
at org.hibernate.dialect.TypeNames.get (TypeNames.java: 104)
at org.hibernate.dialect.Dialect.getHibernateTypeName (Dialect.java: 393)
at org.hibernate.loader.custom.CustomLoader $ Metadata.getHibernateType (CustomLoader.java: 582)
at org.hibernate.loader.custom.CustomLoader $ ScalarResultColumnProcessor.performDiscovery (CustomLoader.java: 508)
at org.hibernate.loader.custom.CustomLoader.autoDiscoverTypes (CustomLoader.java: 524)
at org.hibernate.loader.Loader.getResultSet (Loader.java: 1821)
at org.hibernate.loader.Loader.doQuery (Loader.java: 697)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections (Loader.java: 259)
at org.hibernate.loader.Loader.doList (Loader.java: 2232)
at org.hibernate.loader.Loader.listIgnoreQueryCache (Loader.java: 2129)
at org.hibernate.loader.Loader.list (Loader.java: 2124)
at org.hibernate.loader.custom.CustomLoader.list (CustomLoader.java: 312)
at org.hibernate.impl.SessionImpl.listCustomQuery (SessionImpl.java: 1723)
at org.hibernate.impl.AbstractSessionImpl.list (AbstractSessionImpl.java: 165)
at org.hibernate.impl.SQLQueryImpl.list (SQLQueryImpl.java: 175)
at com.lawyer.dao.ILawFirmDaoImpl.getHeZuoLawFirms (ILawFirmDaoImpl.java: 143)
at com.lawyer.service.ILawFirmServiceImpl.getHeZuoLawFirms (ILawFirmServiceImpl.java: 40)
at com.lawyer.action.IndexAction.loadHostLawFirm (IndexAction.java: 110)
at com.lawyer.action.IndexAction.execute (IndexAction.java: 54)
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: 597)
at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction (DefaultActionInvocation.java: 441)
at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly (DefaultActionInvocation.java: 280)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke (DefaultActionInvocation.java: 243)
at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept (DefaultWorkflowInterceptor.java: 165)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept (MethodFilterInterceptor.java: 87)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke (DefaultActionInvocation.java: 237)
at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept (ValidationInterceptor.java: 252)
at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept (AnnotationValidationInterceptor.java: 68)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept (MethodFilterInterceptor.java: 87)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke (DefaultActionInvocation.java: 237)
at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept (ConversionErrorInterceptor.java: 122)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke (DefaultActionInvocation.java: 237)
at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept (ParametersInterceptor.java: 195)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept (MethodFilterInterceptor.java: 87)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke (DefaultActionInvocation.java: 237)
at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept (ParametersInterceptor.java: 195)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept (MethodFilterInterceptor.java: 87)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke (DefaultActionInvocation.java: 237)
at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept (StaticParametersInterceptor.java: 179)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke (DefaultActionInvocation.java: 237)
at org.apache.struts2.interceptor.MultiselectInterceptor.intercept (MultiselectInterceptor.java: 75)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke (DefaultActionInvocation.java: 237)
at org.apache.struts2.interceptor.CheckboxInterceptor.intercept (CheckboxInterceptor.java: 94)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke (DefaultActionInvocation.java: 237)
at org.apache.struts2.interceptor.FileUploadInterceptor.intercept (FileUploadInterceptor.java: 235)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke (DefaultActionInvocation.java: 237)
at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept (ModelDrivenInterceptor.java: 89)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke (DefaultActionInvocation.java: 237)
at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept (ScopedModelDrivenInterceptor.java: 130)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke (DefaultActionInvocation.java: 237)
at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept (DebuggingInterceptor.java: 267)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke (DefaultActionInvocation.java: 237)
at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept (ChainingInterceptor.java: 126)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke (DefaultActionInvocation.java: 237)
at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept (PrepareInterceptor.java: 138)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept (MethodFilterInterceptor.java: 87)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke (DefaultActionInvocation.java: 237)
at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept (I18nInterceptor.java: 165)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke (DefaultActionInvocation.java: 237)
at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept (ServletConfigInterceptor.java: 164)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke (DefaultActionInvocation.java: 237)
at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept (AliasInterceptor.java: 179)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke (DefaultActionInvocation.java: 237)
at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept (ExceptionMappingInterceptor.java: 176)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke (DefaultActionInvocation.java: 237)
at org.apache.struts2.impl.StrutsActionProxy.execute (StrutsActionProxy.java: 52)
at org.apache.struts2.dispatcher.Dispatcher.serviceAction (Dispatcher.java: 488)
at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction (ExecuteOperations.java: 77)
at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter (StrutsPrepareAndExecuteFilter.java: 91)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java: 235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java: 206)
at org.apache.catalina.core.StandardWrapperValve.invoke (StandardWrapperValve.java: 233)
at org.apache.catalina.core.StandardContextValve.invoke (StandardContextValve.java: 191)
at org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java: 128)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java: 102)
at org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java: 109)
at org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java: 286)
at org.apache.coyote.http11.Http11Processor.process (Http11Processor.java: 845)
at org.apache.coyote.http11.Http11Protocol $ Http11ConnectionHandler.process (Http11Protocol.java: 583)
at org.apache.tomcat.util.net.JIoEndpoint $ Worker.run (JIoEndpoint.java: 447)
at java.lang.Thread.run (Thread.java: 619)

分类:Java 时间:2010-09-08 人气:202
分享到:
blog comments powered by Disqus

相关文章

iOS 开发

Android 开发

Python 开发

JAVA 开发

开发语言

PHP 开发

Ruby 开发

搜索

前端开发

数据库

开发工具

开放平台

Javascript 开发

.NET 开发

云计算

服务器

Copyright (C) codeweblog.com, All Rights Reserved.

CodeWeblog.com 版权所有 黔ICP备15002463号-1

processed in 0.055 (s). 14 q(s)