jdbc学习 1

1.Class.forName()|Class.forName.newInstance()|new DriverName()

2.DriverManager.getConnection()

3.Connection.CreateStatement() Statement.executeQuery() Statement.executeUpdate()

4. while(rs.next())

5.getXXX

6.close the resultset/close the statement /close the connection




你可能感兴趣的:(jdbc学习 1)