/** @see org.iesc.flightws.domain.PassengerDao#search(int, org.iesc.flightws.Search) */
 public java.util.Set search(final int transform, final org.iesc.flightws.Search search) {
   try {
     final org.iesc.flightws.PropertySearch propertySearch =
         new org.iesc.flightws.PropertySearch(
             this.getSession(false), org.iesc.flightws.domain.PassengerImpl.class, search);
     final java.util.Set results = propertySearch.executeAsSet();
     this.transformEntities(transform, results);
     return results;
   } catch (org.hibernate.HibernateException ex) {
     throw super.convertHibernateAccessException(ex);
   }
 }
 /** @see org.iesc.flightws.domain.PassengerDao#search(int, int, int, org.iesc.flightws.Search) */
 public org.iesc.flightws.PaginationResult search(
     final int transform,
     final int pageNumber,
     final int pageSize,
     final org.iesc.flightws.Search search) {
   try {
     search.setPageNumber(pageNumber);
     search.setPageSize(pageSize);
     final org.iesc.flightws.PropertySearch propertySearch =
         new org.iesc.flightws.PropertySearch(
             this.getSession(false), org.iesc.flightws.domain.PassengerImpl.class, search);
     final java.util.List results = propertySearch.executeAsList();
     this.transformEntities(transform, results);
     return new org.iesc.flightws.PaginationResult(
         results.toArray(new java.lang.Object[0]), propertySearch.getTotalCount());
   } catch (org.hibernate.HibernateException ex) {
     throw super.convertHibernateAccessException(ex);
   }
 }