Interface LobCreationContext.Callback<T>

  • Enclosing interface:
    LobCreationContext

    public static interface LobCreationContext.Callback<T>
    The callback contract for making use of the JDBC Connection.
    • Method Detail

      • executeOnConnection

        T executeOnConnection​(java.sql.Connection connection)
                       throws java.sql.SQLException
        Perform whatever actions are necessary using the provided JDBC Connection.
        Parameters:
        connection - The JDBC Connection.
        Returns:
        The created LOB.
        Throws:
        java.sql.SQLException - Indicates trouble accessing the JDBC driver to create the LOB