private Class<? extends AuditTrailEntity> getEntityClass() {
        if (isOracle()) {
            return OracleJdbcAuditTrailEntity.class;
        }
        if (isMySql() || isMariaDb()) {
            return MySQLJdbcAuditTrailEntity.class;
        }
        if (isPostgres()) {
            return PostgresJdbcAuditTrailEntity.class;
        }
        if (isMsSqlServer()) {
            return MsSqlServerJdbcAuditTrailEntity.class;
        }
        return JdbcAuditTrailEntity.class;
    }
This is {@link JdbcAuditTrailEntityFactory}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-audit-jdbc/src/main/java/org/apereo/cas/audit/JdbcAuditTrailEntityFactory.java