Among $CaH_2$, $BeH_2$, $BaH_2$, the order of ionic character is