Package io.ebean.test

Class ForTests.RollbackAll

  • All Implemented Interfaces:
    AutoCloseable
    Enclosing class:
    ForTests

    public static class ForTests.RollbackAll
    extends Object
    implements AutoCloseable
    A wrapping transaction used in test code to rollback all changes.

    We must ensure that close() is called.

    • Method Detail

      • close

        public void close()
        Rollback the wrapping transaction.
        Specified by:
        close in interface AutoCloseable