Class FHIRTestTransactionAdapter

  • All Implemented Interfaces:
    FHIRPersistenceTransaction

    public class FHIRTestTransactionAdapter
    extends Object
    implements FHIRPersistenceTransaction
    Hides the logic behind obtaining a JDBC Connection from the DAO code. Use by unit tests or other scenarios where connections are obtained using an IConnectionProvider implementation, outside the scope of a JEE container. Transactions are managed with the help of the SimpleTransactionProvider and wrapped by this class, meaning we have a uniform interface for handling transactions across JEE and unit-test scenarios.