程序包 com.mysql.cj

类 LicenseConfiguration


  • public class LicenseConfiguration
    extends Object
    Used in commercially-licensed clients that require connections to commercially-licensed servers as part of the licensing terms.
    • 方法详细资料

      • checkLicenseType

        public static void checkLicenseType​(Map<String,​String> serverVariables)
        Used in commercially-licensed clients that require connections to commercially-licensed servers as part of the licensing terms.
        参数:
        serverVariables - a Map of the output of 'show variables' from the server we're connecting to.
        抛出:
        CJException - if commercial license is required, but not found