Class PersistenceUtil
java.lang.Object
de.xima.fc.persistence.PersistenceUtil
Utility class for persistence-related operations, such as extracting the DBMS type from a JDBC URL.
- Since:
- 8.5.0
- Author:
- Norman Lorenz
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringextractDbmsProtocol(String jdbcUrl) static booleanisSystemDbConnection(ConnectionProperties connectionProperties) Checks if the given connection properties correspond to the system database connection.
-
Method Details
-
extractDbmsProtocol
-
isSystemDbConnection
Checks if the given connection properties correspond to the system database connection.- Parameters:
connectionProperties- the connection properties to check- Returns:
- true if it is the system database connection, false otherwise
- Throws:
IllegalArgumentException- if connectionProperties is null
-