You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/06/22 03:53:11 UTC

[GitHub] [shardingsphere] HanKaiqiang removed a comment on issue #6101: liquibase used setFetchSize, Hope to support soon

HanKaiqiang removed a comment on issue #6101:
URL: https://github.com/apache/shardingsphere/issues/6101#issuecomment-647256963


   > 感谢您的举报。您能否提供更多信息?
   > 
   > 请原始,直接且未经任何分析地提供实际行为。这意味着原始输入/输出数据或原始日志,配置...
   > Caused by: liquibase.exception.UnexpectedLiquibaseException: liquibase.exception.DatabaseException: java.sql.SQLFeatureNotSupportedException: setFetchSize
   	at liquibase.changelog.StandardChangeLogHistoryService.init(StandardChangeLogHistoryService.java:111)
   	at liquibase.Liquibase.checkLiquibaseTables(Liquibase.java:1219)
   	at liquibase.Liquibase.update(Liquibase.java:193)
   	at liquibase.Liquibase.update(Liquibase.java:179)
   	at liquibase.integration.spring.SpringLiquibase.performUpdate(SpringLiquibase.java:353)
   	at liquibase.integration.spring.SpringLiquibase.afterPropertiesSet(SpringLiquibase.java:305)
   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1837)
   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1774)
   	... 16 common frames omitted
   Caused by: liquibase.exception.DatabaseException: java.sql.SQLFeatureNotSupportedException: setFetchSize
   	at liquibase.snapshot.ResultSetCache.get(ResultSetCache.java:101)
   	at liquibase.snapshot.JdbcDatabaseSnapshot$CachingDatabaseMetaData.getTables(JdbcDatabaseSnapshot.java:791)
   	at liquibase.snapshot.jvm.TableSnapshotGenerator.snapshotObject(TableSnapshotGenerator.java:33)
   	at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:66)
   	at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:49)
   	at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:69)
   	at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:49)
   	at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:69)
   	at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:49)
   	at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:69)
   	at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:49)
   	at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:69)
   	at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:49)
   	at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:69)
   	at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:49)
   	at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:69)
   	at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:49)
   	at liquibase.snapshot.DatabaseSnapshot.include(DatabaseSnapshot.java:286)
   	at liquibase.snapshot.DatabaseSnapshot.init(DatabaseSnapshot.java:102)
   	at liquibase.snapshot.DatabaseSnapshot.<init>(DatabaseSnapshot.java:59)
   	at liquibase.snapshot.JdbcDatabaseSnapshot.<init>(JdbcDatabaseSnapshot.java:38)
   	at liquibase.snapshot.SnapshotGeneratorFactory.createSnapshot(SnapshotGeneratorFactory.java:217)
   	at liquibase.snapshot.SnapshotGeneratorFactory.createSnapshot(SnapshotGeneratorFactory.java:246)
   	at liquibase.snapshot.SnapshotGeneratorFactory.getDatabaseChangeLogTable(SnapshotGeneratorFactory.java:254)
   	at liquibase.changelog.StandardChangeLogHistoryService.init(StandardChangeLogHistoryService.java:108)
   	... 23 common frames omitted
   Caused by: java.sql.SQLFeatureNotSupportedException: setFetchSize
   	at org.apache.shardingsphere.shardingjdbc.jdbc.unsupported.AbstractUnsupportedDatabaseMetaDataResultSet.setFetchSize(AbstractUnsupportedDatabaseMetaDataResultSet.java:123)
   	at liquibase.snapshot.ResultSetCache$ResultSetExtractor.extract(ResultSetCache.java:293)
   	at liquibase.snapshot.ResultSetCache$ResultSetExtractor.extract(ResultSetCache.java:288)
   	at liquibase.snapshot.JdbcDatabaseSnapshot$CachingDatabaseMetaData$4.fastFetchQuery(JdbcDatabaseSnapshot.java:832)
   	at liquibase.snapshot.ResultSetCache$SingleResultSetExtractor.fastFetch(ResultSetCache.java:347)
   	at liquibase.snapshot.ResultSetCache.get(ResultSetCache.java:70)
   	... 47 common frames omitted
   
   > 您没有填写错误报告模板,所以我必须问您这里是什么发行版本?什么是应用程序(ShardingSphere-JDBC或ShardingSphere-Proxy)?
   > sharding-jdbc-spring-boot-starter version 4.1.1
      liquibase version 3.6.3
   
   > 使用setFetchSize时,设置的值是多少?
   >  
   
   > 您提到使用setFetchSize时遇到问题,确切的问题是什么?
   >  I didn’t use setFetchSize directly. I used setFetchSize internally in liquibase. I get an error when using both liquibase and Sharding Sphere in the project.
   
   > 最后,如果您有发现并要分析,请在单独的部分中进行。
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org