When I create multiple Statements on my Connection, only the current Statement appears to be executed. What's the problem?

Joe Sam Shirah

All JDBC objects are required to be threadsafe. Some drivers, unfortunately, implement this requirement by processing Statements serially. This means that additional Statements are not executed until the preceding Statement is completed. See What is required for a driver to be JDBC Compliant? for a link to driver requirements.

Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact