Apache Calcite 解决java.sql.SQLException: No suitable driver found for jdbc:calcite: junwen12221 2021年10月29日 21:35 ·  阅读

本质上是因为驱动没有注册,所以触发驱动注册即可

org.apache.calcite.jdbc.Driver#Driver

* Calcite JDBC driver. public class Driver extends UnregisteredDriver { public static final String CONNECT_STRING_PREFIX = "jdbc:calcite:" ; final Function0<CalcitePrepare> prepareFactory; static { new Driver ().register();
Driver driver = new Driver();//触发该驱动注册
复制代码
分类:
后端
标签: