sql数据库操做

1.批量insert, update操做注意使用批量操做,学会使用事务。sql写在配置文件中,容易修改。如:mysql String sql = new Properties().getProperty("properties中的name(mysql.***)"); Connection con = null; try { con = getconnection(); con.setAutocom
相关文章
相关标签/搜索