import java.sql.SQLException; import java.sql.Statement; import java.sql.CallableStatement; import java.sql.PreparedStatement; import java.sql.Connection; import java.sql.ResultSet; import java.sql.DriverManager; import java.sql.Date; import java.util.*; import java.io.*; public class bug11575 { protected static String dbUrl = "jdbc:mysql:///test?"; protected static Connection conn = null; public static void main(String[] args) throws Exception { java.sql.DatabaseMetaData mtd; Class.forName("com.mysql.jdbc.Driver").newInstance(); conn = DriverManager.getConnection(dbUrl,"root",""); mtd = conn.getMetaData(); System.out.println("mixed: "+mtd.storesMixedCaseIdentifiers()); System.out.println("lower: "+mtd.storesLowerCaseIdentifiers()); conn.close(); } }