Class FHIRDbDAOImpl

  • All Implemented Interfaces:
    FHIRDbDAO
    Direct Known Subclasses:
    ParameterDAOImpl, ResourceDAOImpl

    public class FHIRDbDAOImpl
    extends Object
    implements FHIRDbDAO
    This class is a root Data Access Object for managing JDBC access to the FHIR database. As of 4.3.0, connection handling is factored out of the DAO and is instead the responsibility of the FHIRPersistenceJDBCImpl. Each DAO therefore requires a connection to be passed to it. This is good for separation of concerns, because the DAO code shouldn't care where the connection comes from. As each DAO is stateless, and lightweight, they can be created on-the-fly and handed a connection in the constructor. This pattern avoids polluting every method call with a connection parameter.