java中几个连接数据库的小例子Class.forName("oracle.jdbc.driver.OracleDriver");Stringurl="jdbc:oracle:thin:@192.168.8.20:1521:recruit";Connectioncon=DriverManager.getConnection(url,"user20","user20");Stringsql="updatecollegesetccollegename=?,ccity=?,cstate=?whereccollegec