Documentation Home
MySQL Connector/J 8.0 Developer Guide
Related Documentation Download this Manual
PDF (US Ltr) - 0.8Mb
PDF (A4) - 0.8Mb
HTML Download (TGZ) - 146.6Kb
HTML Download (Zip) - 166.0Kb

6.3.3 Session

  • sessionVariables

    A comma or semicolon separated list of name=value pairs to be sent as SET [SESSION] ... to the server when the driver connects.

    Since Version 3.1.8
  • characterEncoding

    What character encoding should the driver use when dealing with strings? (defaults is to 'autodetect')

    Since Version 1.1g
  • characterSetResults

    Character set to tell the server to return results as.

    Since Version 3.0.13
  • connectionCollation

    If set, tells the server to use this collation in SET NAMES charset COLLATE connectionCollation. Also overrides the characterEncoding with those corresponding to the character set of this collation.

    Since Version 3.0.13