Statement.addbatch (String sql);!! You can only use statement instead of PreparedStatement, because SQL statements have been identified when you get PreparedStatement, and here we need to dynamically add SQL statements to the batch queue;3) After all statements to be batched are inserted into the queue, call Statement's ExecuteBatch method to feed the batch queue one time into the database execution: int[] Statement.executebatch ();!! Because each DML statement returns how many rows were update
system will be AutoCAD application, disconnected from MS Windows. Later after analysis, in fact, their own thinking by Java, Always repel Ms things. And customers they are using AutoCAD, he can only run on MS Windows, and the client's server is Ms. In this case, the development of the service side can be used. NET or Java, But the customer chose the latter. In this way, the server side with
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.