Tuesday, November 29, 2011

Is there a practical limit for the number of SQL statements that can be added to an instance of a Statement object

While the specification makes no mention of any size limitation for Statement.addBatch(), this seems to be dependent, as usual, on the driver. Among other things, it depends on the type of container/collection used. I know of at least one driver that uses a Vector and grows as needed. I&
Category:JDBC Interview Questions

No comments:

Post a Comment