Class SPIConnection

  • All Implemented Interfaces:
    AutoCloseable, Connection, Wrapper

    public class SPIConnection
    extends Object
    implements Connection
    Provides access to the current connection (session) the Java stored procedure is running in. It is returned from the driver manager with DriverManager.getConnection("jdbc:default:connection"); and cannot be managed in any way since it's already running inside a transaction. This means the following methods cannot be used.
    • commit()
    • rollback()
    • setAutoCommit()
    • setTransactionIsolation()
    Thomas Hallgren