[com.alibaba.druid.filter.stat.StatFilter]merge sql error, dbType mysql, sql :
create table SSHE.TMENU (ID varchar(36) not null unique, ICONCLS varchar(50), TEXT varchar(100), URL varchar(200), PID varchar(36), primary key (ID))
com.alibaba.druid.sql.parser.SQLParseException: syntax error, expect RPAREN, actual UNIQUE unique
at com.alibaba.druid.sql.parser.SQLParser.accept(SQLParser.java:121)
at com.alibaba.druid.sql.dialect.mysql.parser.MySqlCreateTableParser.parseCrateTable(MySqlCreateTableParser.java:121)
at com.alibaba.druid.sql.dialect.mysql.parser.MySqlStatementParser.parseCreate(MySqlStatementParser.java:304)
at com.alibaba.druid.sql.parser.SQLStatementParser.parseStatementList(SQLStatementParser.java:94)
at com.alibaba.druid.sql.parser.SQLStatementParser.parseStatementList(SQLStatementParser.java:68)
at com.alibaba.druid.sql.visitor.ParameterizedOutputVisitorUtils.parameterize(ParameterizedOutputVisitorUtils.java:40)
at com.alibaba.druid.filter.stat.StatFilter.mergeSql(StatFilter.java:145)
at com.alibaba.druid.filter.stat.StatFilter.createSqlStat(StatFilter.java:647)
at com.alibaba.druid.filter.stat.StatFilter.internalBeforeStatementExecute(StatFilter.java:402)
at com.alibaba.druid.filter.stat.StatFilter.statementExecuteUpdateBefore(StatFilter.java:325)
at com.alibaba.druid.filter.FilterEventAdapter.statement_executeUpdate(FilterEventAdapter.java:324)
at com.alibaba.druid.filter.FilterChainImpl.statement_executeUpdate(FilterChainImpl.java:2369)
at com.alibaba.druid.proxy.jdbc.StatementProxyImpl.executeUpdate(StatementProxyImpl.java:169)
at com.alibaba.druid.pool.DruidPooledStatement.executeUpdate(DruidPooledStatement.java:135)
at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:227)
at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:178)
at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:492)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1750)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1788)
at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:242)
at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:372)
at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:357)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:876)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:818)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:735)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:551)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:284)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469)
详细解决方案
com.alibaba.druid.sql.parser.SQLParseException 有关问题求解
热度:144 发布时间:2016-04-21 20:04:58.0
相关解决方案
- Parser Error Message: The file '/MasterPage.master' does not exist.解决办法
- 怎么解决 Failed to create a new SAX parser
- sqlite查询语句,堆栈益出,parser stack overflow解决方法
- PHP Simple HTML DOM Parser 的 find() 函数没法找到元素的类属性
- Html parser 代码汇总 3
- Html parser 代码汇总 1
- Parser Error Message: Access is denied,该怎么解决
- easyUi源码分析04-parser.js源码分析及改造
- alibaba fastjson(json序列化器)序列化一部分源码解析
- hibernate中出现异常org.hibernate.hql.PARSER]
- java.lang.ClassCastException: java.lang.Integer cannot be cast to com.alibaba.fa,该如何处理
- javax.xml.parsers.ParserConfigurationException: AElfred parser
- 怎么使用javax.swing.text.html.parser.
- org.xml.sax.SAXParseException: org.apache.crimson.parser/P-067
- com.alibaba.druid.sql.parser.SQLParseException 有关问题求解
- ERROR (org.hibernate.hql.PARSER:33) - line 1:1: unexpected token: form,该怎么解决
- 关于general sql parser 有关问题
- org.apache.commons.net.ftp.parser.ParserInitializationException:
- 怎么用javax.swing.text.html.parser.Parse解析HTML中的<a></a>中的值? 急
- Parser Error Message: Access is denied,该怎么解决
- java企业级通用权限保险框架源码 SpringMVC mybatis or hibernate+ehcache shiro druid bootstrap H
- stanford-parser for C
- Druid 的SQL翻译功能怎么使用
- 命令分析器(Command Parser)
- 分享一个java sql解析器-General SQL Parser for Java
- SpringCloud Alibaba 实战,搭建第一个SpringCloud Alibaba项目
- Alibaba Druid连接池中 maxActive,maxWait,maxAge,testOnBorrow,testWhileIdle等选项的作用...
- spring cloud + spring cloud alibaba + spring boot 版本依赖关系
- java 类部类必须声明为static静态的 com.alibaba.fastjson.JSONException: can‘t create non-static inner class ins
- com.alibaba.fastjson.JSONException: safeMode not support autoType : com.*.common.core.domain.User