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 Details

    • extractDbmsProtocol

      public static String extractDbmsProtocol(String jdbcUrl)
    • 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