Bug #8800 DatabaseMetaData.supportsMixedCaseIdentifiers() returns false on Linux.
Submitted: 25 Feb 2005 6:14 Modified: 16 Mar 2005 21:07
Reporter: Hideaki Maekawa Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / J Severity:S2 (Serious)
Version:3.0.16-ga OS:Linux (Linux)
Assigned to: Mark Matthews CPU Architecture:Any

[25 Feb 2005 6:14] Hideaki Maekawa
Description:
To distinguish the capital letter and the small letter in Linux, DatabaseMetaData.supportsMixedCaseIdentifiers() should return true. 

How to repeat:
It executes it with Linux as follows. 

public class Test {
    public Test() {
        try {
            Class.forName("com.mysql.jdbc.Driver");
            Connection con =
                  DriverManager.getConnection(
                       "jdbc:mysql://localhost/testdb", "user", "passwrod");
            DatabaseMetaData meta = con.getMetaData();
            System.out.println("supportsMixedCaseIdentifiers : "
                   + meta.supportsMixedCaseIdentifiers());
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    public static void main(String[] args) {
        new Test();
    }
}

Result

supportsMixedCaseIdentifiers : false
[16 Mar 2005 21:07] Mark Matthews
This is fixed for version 3.1.8 and newer. 3.0.x is 'retired', and only security or crashing bug fixes will be applied to that branch.