props.setProperty("invert_time_zone", "");
props.setProperty("timestamp_uses_local_timezone", "");
    public void testTimestampWithCalendar() throws Exception {        //Connection connection = getConnectionViaDriverManager();                Properties props = new Properties(getDefaultPropertiesForConnection());        props.setProperty("invert_time_zone", "");                Connection connection = DriverManager.getConnection(getUrl(), props);        try {            PreparedStatement stmt = connection.prepareStatement(                "INSERT INTO test_blob(id, ts_field) VALUES (?, ?)");                        try {                Calendar calendar = Calendar.getInstance();                                Timestamp ts = new Timestamp(calendar.getTimeInMillis());                                stmt.setInt(1, 1);                stmt.setTimestamp(2, ts);                                stmt.execute();                                stmt.setInt(1, 2);                stmt.setTimestamp(2, ts, calendar);                                stmt.execute();                stmt.setInt(1, 2);                stmt.setTimestamp(2, ts, Calendar.getInstance(TimeZone.getTimeZone("UTC")));                                stmt.execute();                                                Statement selectStmt = connection.createStatement();                try {                    ResultSet rs = selectStmt.executeQuery(                        "SELECT id, CAST(ts_field AS VARCHAR(35)), ts_field FROM test_blob");                                        while(rs.next()) {                        System.out.println("ID " + rs.getInt(1) +                             ", time_str '" + rs.getString(2) +                             "', time ts " + rs.getTimestamp(3) +                             ", time ts_cal " + rs.getTimestamp(3, Calendar.getInstance()));                    }                } finally {                    selectStmt.close();                }                            } finally {                stmt.close();            }                    } finally {            connection.close();        }    }