The synthesis of mannich bases from ketones and esters via enaminones.