You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "azrulmSE (via GitHub)" <gi...@apache.org> on 2023/02/04 03:13:56 UTC

[GitHub] [shardingsphere] azrulmSE commented on issue #23973: sharding-jdbc 5.3.1: The Rule of ReadWrite-Splitting does not work

azrulmSE commented on issue #23973:
URL: https://github.com/apache/shardingsphere/issues/23973#issuecomment-1416645171

   > Thanks for your report.
   > 
   > The root cause of this issue is ShardingSphere didn't implemented the method `getStatement` of `DatabaseMetaDataResultSet`.
   > 
   > ```
   > Caused by: java.sql.SQLFeatureNotSupportedException: getStatement
   > 	at org.apache.shardingsphere.driver.jdbc.unsupported.AbstractUnsupportedDatabaseMetaDataResultSet.getStatement(AbstractUnsupportedDatabaseMetaDataResultSet.java:92) ~[shardingsphere-jdbc-core-5.3.1.jar:5.3.1]
   > 	at com.zaxxer.hikari.pool.ProxyDatabaseMetaData.getTables(ProxyDatabaseMetaData.java:69) ~[HikariCP-4.0.3.jar:na]
   > 	at com.zaxxer.hikari.pool.HikariProxyDatabaseMetaData.getTables(HikariProxyDatabaseMetaData.java) ~[HikariCP-4.0.3.jar:na]
   > 	at org.hibernate.tool.schema.extract.internal.InformationExtractorJdbcDatabaseMetaDataImpl.processTableResultSet(InformationExtractorJdbcDatabaseMetaDataImpl.java:64) ~[hibernate-core-5.6.14.Final.jar:5.6.14.Final]
   > 	at org.hibernate.tool.schema.extract.internal.AbstractInformationExtractorImpl.getTables(AbstractInformationExtractorImpl.java:565) ~[hibernate-core-5.6.14.Final.jar:5.6.14.Final]
   > 	... 35 common frames omitted
   > ```
   
   Is that mean there nothing wrong with my configuration, right?


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

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