Interface JdbcUrlParser
- All Known Implementing Classes:
AuroraPostgresUrlParser
,MySqlUrlParser
,OracleUrlParser
,PostgresUrlParser
,SqlServerJtdsDriverUrlParser
,SqlServerMicrosoftDriverUrlParser
public interface JdbcUrlParser
Implementations of this interface provide DB-specific JDBC url parsing.
-
Method Summary
-
Method Details
-
parseUrl
- Throws:
ParseException
-
getUrl
Returns the JDBC URL for this DB config.- Parameters:
hostname
- the hostnameport
- the TCP/IP port numberinstance
- the DB "instance"- Returns:
- the JDBC URL for this DB config.
- Throws:
ValidationException
- If the underlying configuration is invalid for this DB type. eg for Postgres, "Database" (instance) is a required fieldParseException
-