Class TeamCityJdbcUtils
- java.lang.Object
-
- jetbrains.buildServer.serverSide.db.jdbcLoader.TeamCityJdbcUtils
-
public final class TeamCityJdbcUtils extends Object
- Since:
- 8.0
- Author:
- Leonid Bushuev from JetBrains
-
-
Field Summary
Fields Modifier and Type Field Description static String
FALLBACK_NATIVE_LIBRARY_DIRECTORY
The name of the fallback (OS and architecture independent) directory which may contain native libraries used by JDBC drivers.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getNativeLibraryDirectoryName()
Returns the platform-specific name of the directory which stores native libraries.static JdbcDrivers
loadJdbcDrivers(File jdbcDriversDir, Logger logger)
-
-
-
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
-
-