public boolean deleteBooking(int id){
		Booking booking = null;
		
		try {
			booking = getBookingDao().queryForId(id);
			
			if(booking!=null){
				for(Room room : getRoom(booking)){
					removeRoomTo(booking, room);
				}
				
				for(Equipment equipment : getEquipment(booking)){
					removeEquipmentTo(booking, equipment);
				}
			}
			
			return getBookingDao().delete(booking)>0;
		} catch (SQLException e) {
			e.printStackTrace();
		}
		
		return false;
	}