Class JdbcDialectLoader


  • @Internal
    public final class JdbcDialectLoader
    extends Object
    Utility for working with JdbcDialect.
    • Method Detail

      • load

        public static JdbcDialect load​(String url,
                                       ClassLoader classLoader)
        Loads the unique JDBC Dialect that can handle the given database url.
        Parameters:
        url - A database URL.
        classLoader - the classloader used to load the factory
        Returns:
        The loaded dialect.
        Throws:
        IllegalStateException - if the loader cannot find exactly one dialect that can unambiguously process the given database URL.