app/repository/DestinationTravellerTypeRepository.java
void removeAll(Integer destinationId) {
        Transaction txn = ebeanServer.beginTransaction();
        String qry = "DELETE from destination_traveller_type where destination_id " +
                "= ?";
        try {
            SqlUpdate query = Ebean.createSqlUpdate(qry);
            query.setParameter(1, destinationId);
            query.execute();
            txn.commit();
        } finally {
            txn.end();
        }
    }
/**
     * Removes all of the traveller type linking rows corresponding to the sent in destination
     * @param destinationId The given destination ID
     */
Removes all of the traveller type linking rows corresponding to the sent in destination
@param destinationId The given destination ID
Removes all of the traveller type linking rows corresponding to the sent in destination @param destinationId The given destination ID
void removeAll(Integer destinationId) {
        Transaction txn = ebeanServer.beginTransaction();
        String qry = "DELETE from destination_traveller_type where destination_id " +
                "= ?";
        try {
            SqlUpdate query = Ebean.createSqlUpdate(qry);
            query.setParameter(1, destinationId);
            query.execute();
            txn.commit();
        } finally {
            txn.end();
        }
    }
void removeAll ( Integer destinationId ) { Transaction txn = ebeanServer . beginTransaction ( ) ; String qry = "DELETE from destination_traveller_type where destination_id " + "= ?" ; try { SqlUpdate query = Ebean . createSqlUpdate ( qry ) ; query . setParameter ( 1 , destinationId ) ; query . execute ( ) ; txn . commit ( ) ; } finally { txn . end ( ) ; } }
Removes all of the traveller type linking rows corresponding to the sent in destination
 @param destinationId The given destination ID
Removes all of the traveller type linking rows corresponding to the sent in destination @param destinationId The given destination ID