Class TeamCityJdbcUtils


  • public final class TeamCityJdbcUtils
    extends Object
    Since:
    8.0
    Author:
    Leonid Bushuev from JetBrains
    • Field Detail

      • FALLBACK_NATIVE_LIBRARY_DIRECTORY

        @NonNls
        @NotNull
        public static final String FALLBACK_NATIVE_LIBRARY_DIRECTORY

        The name of the fallback (OS and architecture independent) directory which may contain native libraries used by JDBC drivers.

        Since:
        2018.1
        See Also:
        Constant Field Values
    • Method Detail

      • loadJdbcDrivers

        public static JdbcDrivers loadJdbcDrivers​(@Nullable
                                                  File jdbcDriversDir,
                                                  @NotNull
                                                  Logger logger)
      • getNativeLibraryDirectoryName

        @NotNull
        public static String getNativeLibraryDirectoryName()

        Returns the platform-specific name of the directory which stores native libraries.

        Returns:
        the platform-specific name of the directory which stores native libraries.
        Since:
        9.1.8, 10.0.6, 2017.1.6, 2017.2.4, 2018.1