关于durid 查询表结构失败的问题
发现getSchema没有实现导致 检测表的schema时匹配失败,所以没有返回表
public String getschema() throws SQLException {
throw new SOLFeatureNotSupportedException()
}
可以换回spring默认的连接池或者换druid版本1.1.15
at com.alibaba.druid.pool.DruidPooledConnection.getSchema(DruidPooledConnection.java:1222) ~[druid-1.2.18.jar:na]
at org.anyline.environment.spring.data.jdbc.SpringJDBCWorker.checkSchema(SpringJDBCWorker.java:175) ~[anyline-environment-spring-data-jdbc-8.7.2-20240702.jar:na]
at org.anyline.environment.spring.data.jdbc.SpringJDBCWorker.checkSchema(SpringJDBCWorker.java:110) ~[anyline-environment-spring-data-jdbc-8.7.2-20240702.jar:na]
at org.anyline.environment.spring.data.jdbc.SpringJDBCWorker.checkSchema(SpringJDBCWorker.java:141) ~[anyline-environment-spring-data-jdbc-8.7.2-20240702.jar:na]
at org.anyline.data.jdbc.adapter.init.AbstractJDBCAdapter.checkSchema(AbstractJDBCAdapter.java:9529) ~[anyline-data-jdbc-8.7.2-20240702.jar:na]
at org.anyline.data.jdbc.adapter.init.OracleGenusAdapter.checkSchema(OracleGenusAdapter.java:6801) ~[anyline-data-jdbc-8.7.2-20240702.jar:na]
at org.anyline.data.jdbc.oracle.OracleAdapter.checkSchema(OracleAdapter.java:6332) ~[anyline-data-jdbc-oracle-8.7.2-20240702.jar:na]
at org.anyline.data.adapter.init.AbstractDriverAdapter.tables(AbstractDriverAdapter.java:4258) ~[anyline-data-8.7.2-20240702.jar:na]
at org.anyline.data.jdbc.adapter.init.AbstractJDBCAdapter.tables(AbstractJDBCAdapter.java:3011) ~[anyline-data-jdbc-8.7.2-20240702.jar:na]
at org.anyline.data.adapter.init.AbstractDriverAdapter.tables(AbstractDriverAdapter.java:4451) ~[anyline-data-8.7.2-20240702.jar:na]
at org.anyline.data.jdbc.adapter.init.AbstractJDBCAdapter.tables(AbstractJDBCAdapter.java:3033) ~[anyline-data-jdbc-8.7.2-20240702.jar:na]
at org.anyline.data.jdbc.oracle.OracleAdapter.tables(OracleAdapter.java:1702) ~[anyline-data-jdbc-oracle-8.7.2-20240702.jar:na]
at org.anyline.dao.init.DefaultDao.tables(DefaultDao.java:978) ~[anyline-data-8.7.2-20240702.jar:na]
at org.anyline.dao.AnylineDao.tables(AnylineDao.java:742) ~[anyline-data-8.7.2-20240702.jar:na]
at org.anyline.service.init.DefaultService$2.tables(DefaultService.java:1989) ~[anyline-data-8.7.2-20240702.jar:na]
at org.anyline.service.AnylineService$MetaDataService.tables(AnylineService.java:1927) ~[anyline-data-8.7.2-20240702.jar:na]
at org.anyline.service.AnylineService$MetaDataService.tables(AnylineService.java:1930) ~[anyline-data-8.7.2-20240702.jar:na]
at org.anyline.service.AnylineService$MetaDataService.tables(AnylineService.java:1992) ~[anyline-data-8.7.2-20240702.jar:na]
at org.anyline.service.init.DefaultService$2.table(DefaultService.java:2053) ~[anyline-data-8.7.2-20240702.jar:na]
at org.anyline.service.AnylineService$MetaDataService.table(AnylineService.java:2043) ~[anyline-data-8.7.2-20240702.jar:na]
at org.anyline.service.AnylineService$MetaDataService.table(AnylineService.java:2074) ~[anyline-data-8.7.2-20240702.jar:na]