81,122
社区成员




//建立连接
public static Connection getConnection() throws SQLException{
Connection conn=null;
try {
conn=DriverManager.getConnection(url, userName, password);
} catch (SQLException e) {
e.printStackTrace();
throw e;
}
return conn;
}