h2File

fun h2File(filePath: String, username: String = "sa", password: String = "", poolSize: Int = 10): DatabaseConfig(source)

Create an H2 file-based database configuration.

Parameters

filePath

Path to the database file (without extension)

username

Username (default: "sa")

password

Password (default: "")

poolSize

Connection pool size (default: 10)