# java.sql.Connection.abort method

The java.sql.Connection.abort is supported.

The abort(Executor) method aborts a running connection. Outstanding transactional work is rolled back, and the physical connection to the database is destroyed. When running under a Java SecurityManager, this method can be called only if SQLPermission("callAbort") has been granted both to the Derby JDBC driver (in derby.jar and derbyclient.jar) and to the application code that calls Connection.abort(). For security reasons, permission to execute this method should not be granted lightly. Do not grant this permission to application code unless you are certain that only superusers can invoke the code. For more information, see "Configuring Java security" in the Derby Security Guide.

Parent topic: java.sql.Connection interface
Related concepts
Connection functionality not supported
Related reference
java.sql.Connection.setTransactionIsolation method
java.sql.Connection.setReadOnly method
java.sql.Connection.isReadOnly method