Details
- 
    Bug 
- 
    Status: Closed (View Workflow)
- 
    Major 
- 
    Resolution: Fixed
- 
    3.1.4
- 
    None
Description
MyBatis Generator uses DatabaseMetaData to introspect databases. Starting with version 3 of the MariaDB driver, we are finding that the driver no longer honors the "nullCatalogMeansCurrent" property. So our introspection runs are returning data from the information_schema where they didn't before.
I can see in the following source that the property is mentions in the JavaDoc, but the code does not actually check the value of the property. Here's the relevant method:
Here is the equivalent method in the 2.x line that is respecting the property value: