public LocationsTableModel() {
        if(DEGUB)System.out.println("In LocationsTableModel()");
        
        try (Statement stmt = con.createStatement();
             ResultSet rs = stmt.executeQuery("SELECT * FROM Locations");)
        {
            while(rs.next()) {
                LocationItem li = new LocationItem();
                li.setCode(rs.getString("Code"));
                li.setDescription(rs.getString("Description"));
                addLocationItem(li);
                
            }
            
        } catch (SQLException ex) {
            System.err.println(ex.getClass().getName() + ": " + ex.getMessage());
        }            
       
    }