Package de.xima.fc.persistence
Class PersistenceUtil
- java.lang.Object
-
- de.xima.fc.persistence.PersistenceUtil
-
public final class PersistenceUtil extends Object
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
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringextractDbmsProtocol(String jdbcUrl)static booleanisSystemDbConnection(ConnectionProperties connectionProperties)Checks if the given connection properties correspond to the system database connection.
-
-
-
Method Detail
-
isSystemDbConnection
public static boolean isSystemDbConnection(ConnectionProperties connectionProperties)
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
-
-