Fixed null bean ids for jpa manager