Package org.dbunit.database.connection


package org.dbunit.database.connection
  • Classes
    Class
    Description
    Logs one warning, the first time it sees a connection whose autocommit is disabled, for a connection dbUnit's own setup and teardown operations will run on.
    Decides one question, the same way for every caller: may whatever is driving a test's dbUnit lifecycle close the connection that lifecycle borrowed, once the test is over?
    One connection acquired to serve a single test's dbUnit lifecycle: acquired at most once from a supplier, memoized so every step of that test reuses it rather than opening its own, and released at the end only when this lifecycle - not some external owner - is the one that should close it, as its ConnectionOwnership decides.