Package com.mysql.cj

Class LicenseConfiguration

java.lang.Object
com.mysql.cj.LicenseConfiguration

public class LicenseConfiguration
extends java.lang.Object
Used in commercially-licensed clients that require connections to commercially-licensed servers as part of the licensing terms.
  • Method Summary

    Modifier and Type Method Description
    static void checkLicenseType​(java.util.Map<java.lang.String,​java.lang.String> serverVariables)
    Used in commercially-licensed clients that require connections to commercially-licensed servers as part of the licensing terms.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • checkLicenseType

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