Hi Tom, hi Jielin,
I fixed issue 1124 "EJB3.0: Embedded object and path in UPDATE
statement":
https://glassfish.dev.java.net/issues/show_bug.cgi?id=1124
The attached jar JPQL-updateEmbeddeds-060918.jar includes the code
changes and new tests in entity-persistence-tests. I extended the parse
to accept a path expression including more than one dot. I also added
some validation code to the parser node class EqualsAssignmentNode. It
disallows updating a collection valued relationship field and navigating
through a relationship field in the target expression of the SET clause.
Thanks!
Regards Michael