Interface FHIRDbDAO
-
- All Known Subinterfaces:
ParameterDAO
,ResourceDAO
- All Known Implementing Classes:
CitusResourceDAO
,DerbyResourceDAO
,EraseResourceDAO
,FHIRDbDAOImpl
,ParameterDAOImpl
,PostgresReindexResourceDAO
,PostgresResourceDAO
,PostgresResourceNoProcDAO
,ReindexResourceDAO
,ResourceDAOImpl
public interface FHIRDbDAO
This 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.Connection
getConnection()
Obtains a database connection.FHIRDbFlavor
getFlavor()
Get the database flavor, which describes the database type and its capabilities (e.g.
-
-
-
Method Detail
-
getConnection
java.sql.Connection getConnection() throws FHIRPersistenceDBConnectException
Obtains 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:
-
-