#DriverManager

DriverManager

1:注册驱动Class.forName("com.mysql.jdbc.Driver");static{try{java.sql.DriverManager.registerDriver(newDriver());}catch(SQLExceptionE){thrownewRuntimeException("Can't...
代码星球 ·2020-08-08