When acetone reacts with dilute aqueous solution of Ba(OH)2, the product obtained is called
diacetone alcohol
Self-aldol reaction of acetone yields 4-hydroxy 4-methylpentan-2-one - which is also known as diacetone alcohol. Since only a dilute base is used, the dehydration is not favoured.