Package io.github.mfvanek.pg.connection
Interface PgConnection
- All Superinterfaces:
HostAware
- All Known Implementing Classes:
PgConnectionImpl
A wrapper of standard
DataSource
interface with awareness of real host.-
Method Summary
Modifier and TypeMethodDescriptionGets a standardDataSource
object to access the database.
-
Method Details
-
getDataSource
Gets a standardDataSource
object to access the database.- Returns:
DataSource
-