:执行静态SQL语句。通常通过Statement实例实现。 执行动态SQL语句。通常通过PreparedStatement实例实现。 Statement 每次执行sql语句,数据库都要执行sql语句的编译 ,最好用于仅执行一次查询并返回结果的情形,效率高于PreparedStatement。