A StatementEvent is sent to all StatementEventListeners which were registered with a PooledConnection. This occurs when the driver determines that a PreparedStatement that is associated with the PooledConnection has been closed or the driver determines is invalid.
A StatementEvent is sent to all StatementEventListeners which were registered with a PooledConnection. This occurs when the driver determines that a PreparedStatement that is associated with the PooledConnection has been closed or the driver determines is invalid.
(->statement-event con statement)
(->statement-event con statement exception)
Constructor.
Constructs a StatementEvent with the specified PooledConnection, PreparedStatement and SQLException
con - The PooledConnection that the closed or invalid PreparedStatement is associated with. - javax.sql.PooledConnection
statement - The PreparedStatement that is being closed or is invalid - java.sql.PreparedStatement
exception - The SQLException the driver is about to throw to the application - java.sql.SQLException
throws: java.lang.IllegalArgumentException - if con is null.
Constructor. Constructs a StatementEvent with the specified PooledConnection, PreparedStatement and SQLException con - The PooledConnection that the closed or invalid PreparedStatement is associated with. - `javax.sql.PooledConnection` statement - The PreparedStatement that is being closed or is invalid - `java.sql.PreparedStatement` exception - The SQLException the driver is about to throw to the application - `java.sql.SQLException` throws: java.lang.IllegalArgumentException - if con is null.
(get-sql-exception this)
Returns the SQLException the driver is about to throw
returns: The SQLException the driver is about to throw - java.sql.SQLException
Returns the SQLException the driver is about to throw returns: The SQLException the driver is about to throw - `java.sql.SQLException`
(get-statement this)
Returns the PreparedStatement that is being closed or is invalid
returns: The PreparedStatement that is being closed or is invalid - java.sql.PreparedStatement
Returns the PreparedStatement that is being closed or is invalid returns: The PreparedStatement that is being closed or is invalid - `java.sql.PreparedStatement`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close