3.8K Star 12.8K Fork 4.7K

卓源软件 / JeeSite 4.3

 / 详情

star mysql迁移至达梦8时 启动报错

Backlog
Opened this issue  
2021-10-14 09:39

该问题是怎么引起的?

数据库从mysql迁移至达梦8时启动报错。
后经测试,将配置信息中的 jdbc.type 改写为 oracle 可以正常启动.请问这个配置项的 取值范围都是哪些?
当前连接达梦8的前提下,jdbc.type = oracle 是否可用? 如不可用标准写法 = ?

重现步骤

jeesite版本

输入图片说明

报错信息

Caused by: org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [mybatis-config.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.lang.RuntimeException: mybatis dialect error.
	at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:434)
	at org.mybatis.spring.SqlSessionFactoryBean.afterPropertiesSet(SqlSessionFactoryBean.java:340)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1689)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1627)
	... 121 more
Caused by: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.lang.RuntimeException: mybatis dialect error.
	at org.apache.ibatis.builder.xml.XMLConfigBuilder.parseConfiguration(XMLConfigBuilder.java:109)
	at org.apache.ibatis.builder.xml.XMLConfigBuilder.parse(XMLConfigBuilder.java:92)
	at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:428)
	... 124 more
Caused by: java.lang.RuntimeException: mybatis dialect error.

Comments (1)

George created任务
George set related repository to 卓源软件/JeeSite 4.3
George changed description
George changed description
George changed description
George changed description
George changed title
Expand operation logs

Sign in to comment

Status
Assignees
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
参与者(2)
6732 thinkgem 1578914432
Java
1
https://gitee.com/thinkgem/jeesite4.git
git@gitee.com:thinkgem/jeesite4.git
thinkgem
jeesite4
JeeSite 4.3

Search

141041 ab9339c7 1850385 141043 25c028d5 1850385