public Customer mapRow(ResultSet rs, int rowNum) throws SQLException {
   Customer c = new Customer();
   c.setId(rs.getInt("customer.id"));
   c.setName(rs.getString("customer.name"));
   return c;
 }
 @Override
 protected void addChild(Customer root, Address child) {
   root.addAddress(child);
 }