Blog:http://blog.csdn.net/IBM_hoojo

email: hoojo_@126.com

 

一、JDBC常用接口、类介绍

JDBC提供对独立于数据库统一的API,用以执行SQL命令。API常用的类、接口如下:

DriverManager

管理JDBC驱动的服务类,主要通过它获取Connection数据库链接,常用方法如下:
public static synchronized Connection getConnection(String url, String user, String password) throws Exception;
该方法获得url对应的数据库的连接。

相关文章:

  • 2021-08-28
  • 2021-04-12
  • 2022-01-23
  • 2021-11-16
  • 2021-04-04
  • 2021-10-12
  • 2021-06-08
  • 2021-05-03
猜你喜欢
  • 2022-12-23
  • 2021-07-07
  • 2022-12-23
  • 2022-12-23
  • 2022-01-07
相关资源
相似解决方案