2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] Hibernate: select count(1) from (select new map(y.dictName as text1,y.dictCode as text2,y.dictValue as yan3) from Yan y where 1=1 ) a
2017-11-15 15:12:10[org.hibernate.engine.jdbc.spi.SqlExceptionHelper]-[ERROR] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(y.dictName as text1,y.dictCode as text2,y.dictValue as yan3) from Yan y where 1' at line 1
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] org.springframework.dao.InvalidDataAccessResourceUsageException: could not extract ResultSet; SQL [n/a]; nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.orm.jpa.vendor.HibernateJpaDialect.convertHibernateAccessException(HibernateJpaDialect.java:242)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:225)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.translateExceptionIfPossible(AbstractEntityManagerFactoryBean.java:417)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.dao.support.ChainedPersistenceExceptionTranslator.translateExceptionIfPossible(ChainedPersistenceExceptionTranslator.java:59)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:213)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:147)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:131)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at com.sun.proxy.$Proxy111.findYanList(Unknown Source)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at com.dianju.trustedSign.modules.yan.controllers.YanController.queryYanObjectPage(YanController.java:91)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at com.dianju.trustedSign.modules.yan.controllers.YanController$$FastClassBySpringCGLIB$$348198be.invoke(<generated>)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at com.dianju.trustedSign.core.modules.rbacOperation.OperationAspect.before(OperationAspect.java:56)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at java.lang.reflect.Method.invoke(Unknown Source)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:68)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at com.dianju.trustedSign.modules.yan.controllers.YanController$$EnhancerBySpringCGLIB$$3c05f70f.queryYanObjectPage(<generated>)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at java.lang.reflect.Method.invoke(Unknown Source)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:222)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:814)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:737)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:969)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:871)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:845)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:87)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:521)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1096)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:674)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at java.lang.Thread.run(Unknown Source)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] Caused by: org.hibernate.exception.SQLGrammarException: could not extract ResultSet
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:80)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:49)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:126)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:112)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:91)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.hibernate.loader.Loader.getResultSet(Loader.java:2066)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1863)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1839)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.hibernate.loader.Loader.doQuery(Loader.java:910)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:355)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.hibernate.loader.Loader.doList(Loader.java:2554)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.hibernate.loader.Loader.doList(Loader.java:2540)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2370)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.hibernate.loader.Loader.list(Loader.java:2365)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:353)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.hibernate.internal.SessionImpl.listCustomQuery(SessionImpl.java:1909)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.hibernate.internal.AbstractSessionImpl.list(AbstractSessionImpl.java:311)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.hibernate.internal.SQLQueryImpl.list(SQLQueryImpl.java:141)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.hibernate.jpa.internal.QueryImpl.list(QueryImpl.java:573)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.hibernate.jpa.internal.QueryImpl.getSingleResult(QueryImpl.java:495)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at com.dianju.trustedSign.core.modules.models.DaoUtilImpl.getPageResponseSql(DaoUtilImpl.java:68)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at com.dianju.trustedSign.modules.yan.models.YanDaoImpl.findYanList(YanDaoImpl.java:30)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at java.lang.reflect.Method.invoke(Unknown Source)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.executeMethodOn(RepositoryFactorySupport.java:483)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:458)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:440)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:61)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:136)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] ... 79 more
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(y.dictName as text1,y.dictCode as text2,y.dictValue as yan3) from Yan y where 1' at line 1
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at java.lang.reflect.Constructor.newInstance(Unknown Source)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at com.mysql.jdbc.Util.handleNewInstance(Util.java:404)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at com.mysql.jdbc.Util.getInstance(Util.java:387)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:939)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3878)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3814)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2478)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2625)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2551)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1861)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1962)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:82)
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] ... 111 more
错误的原因就是:
正确的代码应该是: