I'm trying to do a bulk update of a column in an embedded entity, but I end up with a query execution error because of the "." between the column name of the parent entity and column name of the child entity.
The column in the parent entity represents a linked list of an embeddable class.
int updateCount = em.createQuery(
"UPDATE EntityA a " +
"SET a.EntityBList.Column1 = :value " +
"where a.uid = :uid")
The dot before "Column1" in the SET part of the query is causing the "unexpected query token" exception.
How can I do update statements like that?