There are no guarantees that this method will work, but it's worth a try.
这个方法不一定奏效,但是值得一试。
There is a method you can try.
有一个方法你可以试试。
The addConnection() for data sources delegates to a helper method, getNameForDataSource(), to try to determine the name of a database from the data source.
数据源的 addConnection() 委托辅助方法 getNameForDataSource() 从数据源确定数据库的名称。
应用推荐