Berkeley DB: DbEnv.get_version_major
Полезная информация


import com.sleepycat.db.*;

public static int get_version_major(); public static int get_version_minor(); public static int get_version_patch(); public static String get_version_string();


These methods return version information about the underlying DB software. The lower level DB software is released with a major, minor and patch number, which is returned by get_version_major, get_version_minor and get_version_patch. A verbose version of this version information, suitable for printing is returned by get_version_string.



See Also

DbEnv.appinit, DbEnv.appexit, DbEnv.version, DbEnv.get_lg_info, DbEnv.get_lk_info, DbEnv.get_mp_info, DbEnv.get_tx_info, dbenv_set_data_dir, DbEnv.set_errcall, DbEnv.set_error_stream, DbEnv.set_errpfx, DbEnv.set_lg_max, DbEnv.set_lk_conflicts, DbEnv.set_lk_detect, DbEnv.set_lk_modes, DbEnv.set_lorder, DbEnv.set_mp_mmapsize, DbEnv.set_mp_size, DbEnv.set_tx_max, and DbEnv.set_verbose.