Package | Description |
---|---|
sf.database.dialect | |
sf.database.util |
Modifier and Type | Method and Description |
---|---|
void |
DatabaseDialect.parseDbInfo(ConnectInfo connectInfo)
根据 JDBC的URL,解析出其中的dbname,host,user等信息。目的是为了在不必连接数据库的情况下,得到数据库名称
|
Modifier and Type | Method and Description |
---|---|
static ConnectInfo |
DBUtils.tryAnalyzeInfo(Connection conn)
根据已有的连接解析连接信息
|
Copyright © 2020. All rights reserved.