作者:__wolf狼 | 来源:互联网 | 2023-10-14 15:47
______27__________正则提取器https:www.cnblogs.compoloyyp13179150.html _____28__SOAP协议 https:www
______27__________正则提取器
https://www.cnblogs.com/poloyy/p/13179150.html
_____28__SOAP协议
https://www.cnblogs.com/poloyy/p/13183120.html
_____29_____ JDBC_Connection_Configuration
发起 jdbc 请求前,需要有 JDBC 连接配置,即先连上数据库,才能查询数据库


---------------

----------------
jar 包设置一
Database URL 举例
jdbc:mysql://localhost:3306/dbname?useUnicode=true&characterEncoding=UTF8&autoRecOnnect=true&allowMultiQueries=true(允许执行多条 sql)
常见数据库的连接 URL和驱动
数据库 |
驱动 |
URL |
MySQL |
com.mysql.jdbc.Driver |
jdbc:mysql://host:port/{dbname} |
PostgreSQL |
org.postgresql.Driver |
jdbc:postgresql:{dbname} |
Oracle |
oracle.jdbc.driver.OracleDriver |
jdbc:oracle:thin:user/pass@//host:port/service |
sqlServer |
com.microsoft.sqlserver.jdbc.SQLServerDriver |
jdbc:sqlserver://host:port;databaseName=databaseName |
引入 jar 包
使用不同的数据库,需要引入不同的 jar 包,一共有两种方式,不过前提是下载好了 jar 包
下载 mysql jar 包
- 进入:https://dev.mysql.com/downloads/connector/j/
- 下载解压出 jar 包
