EntityDao: fixed persisting of an array