Connection是Statement的工厂,一个Connection可以生产多个Statement。Statement是ResultSet的工厂,一个Statement却只能对应一个ResultSet(它们是一一对应的关系)。