[CONJ-687] provide option to permit have old metadata results Created: 2019-02-23  Updated: 2019-05-24  Resolved: 2019-03-13

Status: Closed
Project: MariaDB Connector/J
Component/s: configuration, JDBC 4.2 compatibility, MySQL compatibility
Affects Version/s: None
Fix Version/s: 2.4.1

Type: Task Priority: Minor
Reporter: Diego Dupin Assignee: Diego Dupin
Resolution: Fixed Votes: 0
Labels: None


 Description   

Changes from CONJ-654 might affect frameworks:

  • Metadata.getDriverName() now return "MariaDB Connector/J" ( was "MariaDB connector/J")
  • Metadata.getDatabaseProductName() now return "MySQL" or "MariaDB" depending on server (was always "MySQL")

Goal of this task is to provide ways of handling incompatibilities :

  • If Server version doesn't contain mariadb and server is MariaDB, Server version has been changed explicitly, only reason is for compatibility with MySQL. getDatabaseProductName() must then return "MySQL"
  • A new option must permit to force old behaviour

Generated at Thu Feb 08 03:17:34 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.