You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metamodel.apache.org by "Hao Ling (JIRA)" <ji...@apache.org> on 2018/08/17 06:29:00 UTC

[jira] [Created] (METAMODEL-1191) JdbcDataContext get wrong schema name on MySQL

Hao Ling created METAMODEL-1191:
-----------------------------------

             Summary: JdbcDataContext get wrong schema name on MySQL
                 Key: METAMODEL-1191
                 URL: https://issues.apache.org/jira/browse/METAMODEL-1191
             Project: Apache MetaModel
          Issue Type: Bug
    Affects Versions: 5.0.0
         Environment: MySQL 8.0
            Reporter: Hao Ling


A MySQL database has multiple schemas: "dc", "rdc", "rdc_test" ...

The jdbc connection url is jdbc:mysql://192.168.1.199:3306/rdc_test?useUnicode=true...

When use JdbcDataContext.getDefaultSchemaName() to obtain the default schema,

Expected: this function return "rdc_test",which is the part of connection url. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)