8.6.55 getMaxStatements()
- Organization of this subsection
(1) Function
This method acquires the maximum number of SQL statements that can be executed concurrently.
The method acquires the maximum number of Statement objects that can be created by a single Connection object.
(2) Format
public synchronized int getMaxStatements() throws SQLException
(3) Arguments
None.
(4) Return value
The method returns the maximum number of SQL statements that can be executed concurrently. A value of 4095 is always returned.
(5) Exceptions
If this Connection object is closed before this method is executed, the JDBC driver throws an SQLException.