Bava Basra 120: The Prohibition of Intermarriage

The reason it was only for one generation.