多项选择题
mysql注册驱动的方式有:()
A.Class.forName("com.mysql.jdbc.Driver");
B.DriverManager.registerDriver(new com.mysql.jdbc.Driver());
C.DriverManager.forname("com.mysql.jdbc.Driver ");
D.System.setProperty("jdbc.drivers","com.mysql.jdbc.Driver");
点击查看答案&解析
相关考题
-
多项选择题
JDBC获取数据库连接的方式:()
A.getConnection(String)
B.getConnection(String url,String user,String password)
C.getConnection(String url)
D.getConnection(String url,Properties info) -
多项选择题
JDBC向数据库发送SQL的接口对象有哪些?()
A.Statement
B.PreparedStatement
C.CallableStatement
D.Connection -
单项选择题
以下哪一项可以创建C3P0的数据库连接池对象?()
A.ComboPooledDataSource
B.ComboPooleDataSource
C.ComboDataSource a
D.ComboPooledSource
