private MyConnection() {
        try {
            connection = DriverManager.getConnection(url,login,pwd);
            
        } catch (SQLException ex) {
            Logger.getLogger(MyConnection.class.getName()).log(Level.SEVERE, null, ex);
        }
    }