Interface DBInterface.Transaction

  • All Superinterfaces:
    java.io.Serializable
    Enclosing interface:
    DBInterface
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface DBInterface.Transaction
    extends java.io.Serializable
    A transaction represents a sequence of commands that need to be executed as a group, or not at all.
    • Method Detail

      • execute

        java.lang.Object execute​(java.sql.Connection con)
                          throws java.sql.SQLException
        Throws:
        java.sql.SQLException