Among CaH2, BeH2, BaH2, the order of ionic character is
BeH2 < BaH2 < CaH2
Smaller the size cation, more will be its polarising power. Hence, BeH2 will be least ionic.
On moving down the group metallic character of metals increases so ionic character of metal hydride increases.