king

[DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase]

king Shell 2023-02-27 1102浏览 0

2016-03-24 16:39:35.687http-8080-1[INFO ][org.springframework.jdbc.support.SQLErrorCodesFactory] SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase]
2016-03-24
16:39:35.687http-8080-1[DEBUG][org.springframework.jdbc.support.SQLErrorCodesFactory]
Looking up default SQLErrorCodes for DataSource
[org.springframework.jdbc.datasource.TransactionAwareDataSourceProxy@26d01b2e]
2016-03-24

16:39:35.703http-8080-1[DEBUG][org.springframework.jdbc.datasource.DataSourceUtils]
Fetching JDBC Connection from DataSource
2016-03-24
16:39:35.703http-8080-1[DEBUG][org.springframework.jdbc.datasource.DataSourceUtils]
Fetching JDBC Connection from DataSource
2016-03-24
16:39:35.703http-8080-1[DEBUG][org.springframework.jdbc.datasource.DataSourceUtils]
Returning JDBC Connection to DataSource
2016-03-24
16:39:35.703http-8080-1[DEBUG][org.springframework.jdbc.datasource.DataSourceUtils]
Returning JDBC Connection to DataSource
2016-03-24
16:39:35.703http-8080-1[DEBUG][org.springframework.jdbc.support.SQLErrorCodesFactory]
Database product name cached for DataSource
[org.springframework.jdbc.datasource.TransactionAwareDataSourceProxy@26d01b2e]:
name is ‘Oracle’
2016-03-24
16:39:35.703http-8080-1[DEBUG][org.springframework.jdbc.support.SQLErrorCodesFactory]
SQL error codes for ‘Oracle’ found
2016-03-24 16:39:35.

 

产生的原因是:从DB2 到oracle变动

得到的结果是:数据库里添加的数据库类型不一样

解决方法:找到不一致的类型。

 

继续浏览有关 数据库技术文章/教程 的文章
发表评论