java - JDBC sql query (batch processing) -
i want make batch update(100 resords) , batch insert(50 records) jdbc in java using single statement want hit database once. how can that?
in java have called prepared statement.in prepared statement have addbatch() , executebatch() methods. these methods can helpful in case. here example : http://viralpatel.net/blogs/batch-insert-in-java-jdbc/
Comments
Post a Comment