Barium acetate has the molecular formula of Ba(C2H3O2)2. So when this specific substance is placed into water, this compound simply dissociates into its corresponding ionic forms, that is:
Ba(C2H3O2)2 --> Ba 2+ + 2 C2H3O2 1-
take note that the 2+ and 1- are the charges of the ion