createDataSourceWithLocalHost

fun createDataSourceWithLocalHost(dbName: String, user: String = "", pWord: String = "", portNumber: Int = 5432): DataSource

Return

the DataSource for getting connections

Parameters

dbName

the name of the database, must not be null

user

the user

pWord

the password