Interface FHIRDbDAO
-
- All Known Subinterfaces:
ParameterDAO,ResourceDAO
- All Known Implementing Classes:
CitusResourceDAO,DerbyResourceDAO,EraseResourceDAO,FHIRDbDAOImpl,ParameterDAOImpl,PostgresReindexResourceDAO,PostgresResourceDAO,PostgresResourceNoProcDAO,ReindexResourceDAO,ResourceDAOImpl
public interface FHIRDbDAOThis is a root interface for child Data Access Object interfaces.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.sql.ConnectiongetConnection()Obtains a database connection.FHIRDbFlavorgetFlavor()Get the database flavor, which describes the database type and its capabilities (e.g.
-
-
-
Method Detail
-
getConnection
java.sql.Connection getConnection() throws FHIRPersistenceDBConnectExceptionObtains a database connection. Connection is configured and ready to use. If multi-tenant, the tenant session variable will have been set.- Returns:
- Connection - A connection to the FHIR database.
- Throws:
FHIRPersistenceDBConnectException
-
getFlavor
FHIRDbFlavor getFlavor()
Get the database flavor, which describes the database type and its capabilities (e.g. is it multi-tenant?)- Returns:
-
-